joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c95c
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x140019158]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov eax, dword [rcx + 0x24]
mov rbx, rcx
xor r15d, r15d
xorps xmm0, xmm0
neg eax
mov r14, rdx
movups xmmword [rsp + 0x20], xmm0
mov eax, dword [rbx + 0x14]
sbb ecx, ecx
or dword [rsp + 0x20], 1
and ecx, 2
mov dword [rsp + 0x24], ecx
mov edi, r15d
mov dword [rbx + 0x10], ecx
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x2c], eax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
test rcx, rcx
je 0x14000c9e1
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
nop dword [rax + rax]
mov qword [rbx], r15
lea rsi, [rbx + 8]
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000c9fc
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
nop dword [rax + rax]
mov qword [rsi], r15
cmp dword [rbx + 0x24], r15d
je 0x14000ca1b
test r14, r14
je 0x14000ca75
mov dword [rbx + 0xb0], recvfrom
mov edi, 0x57
jmp 0x14000cb05
mov r8d, 0x400
lea rcx, [rsp + 0x50]
mov rdx, r14
call qword [sym.imp.msvcrt.dll_mbstowcs]
nop dword [rax + rax]
cmp rax, 0xffffffffffffffff
jne 0x14000ca4a
mov dword [rbx + 0xb0], recvfrom
jmp 0x14000cb05
lea rdx, [rbx + 0x4c]
mov word [rbp + 0x750], r15w
mov r9, rsi
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14000ca3b
cmp r15w, word [rbx + 0x28]
jne 0x14000caad
cmp dword [rbx + 0x20], r15d
jne 0x14000caad
cmp dword [rbx + 0x24], r15d
je 0x14000cacc
mov edx, 0x401
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_GetHostNameW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14000cad0
xor edx, edx
lea rcx, [rsp + 0x50]
jmp 0x14000cab6
lea rdx, [0x14001613c]
xor ecx, ecx
mov r9, rbx
lea r8, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
nop dword [rax + rax]
mov edi, eax
test edi, edi
je 0x14000cadc
mov dword [rbx + 0xb0], recvfrom
jmp 0x14000cb05
mov rax, qword [rbx]
mov qword [rbx + 0xd0], rax
mov qword [rbx + 0xc0], rax
mov rax, qword [rsi]
mov qword [rbx + 0xd8], rax
mov qword [rbx + 0xc8], rax
mov dword [rbx + 0xb0], r15d
mov eax, edi
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.1400131f0
mov rbx, qword [rsp + 0x8b0]
add rsp, 0x870
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cc50
Capabilities:
Connect socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebp, ebp
mov r14, rdx
mov rsi, rcx
test r8d, r8d
jne 0x14000cc7b
cmp dword [rcx + 0x24], ebp
je 0x14000ccb3
mov rax, qword [rcx + 0xc0]
mov rdi, qword [rax + 0x20]
mov rbx, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rbx
call fcn.14000c624
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_bind]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14000cd86
cmp dword [rsi + 0x24], ebp
je 0x14000cce4
mov rcx, qword [rsi + 0xc0]
call fcn.14000cb34
mov rbp, rax
test rax, rax
je 0x14000cd86
movzx r8d, word [rsi + 0x2a]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax + 0x20]
call fcn.14000c624
jmp 0x14000cd1d
mov rax, qword [rsi + 0xc8]
movzx r8d, word [rsi + 0x2a]
mov rdi, qword [rax + 0x20]
mov rbx, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rbx
call fcn.14000c624
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_connect]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14000cd86
cmp dword [rsi + 0x24], 0
mov rax, qword [rsi + 0xc0]
mov qword [rsi + 0xd0], rax
mov qword [rsi + 0xb8], r14
je 0x14000cd6a
mov rbx, qword [rsi + 0xd8]
test rbx, rbx
je 0x14000cd71
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000cd59
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
jmp 0x14000cd71
mov rbp, qword [rsi + 0xc8]
mov qword [rsi + 0xd8], rbp
mov eax, 1
and dword [rsi + 0xb0], 0
jmp 0x14000cd88
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000cdac
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov r8d, dword [rcx + 0x18]
mov rdi, rcx
mov edx, dword [rcx + 0x14]
mov ecx, dword [rcx + 0x10]
call qword [sym.imp.WS2_32.dll_socket]
nop dword [rax + rax]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000cde7
mov dword [rdi + 0xb0], reloc.WS2_32.dll_recvfrom
jmp 0x14000ce9b
cmp dword [rdi + 0x1c], 0
je 0x14000ce3e
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0xfffffffb
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000ce3e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
nop dword [rax + rax]
or rbx, 0xffffffffffffffff
mov dword [rdi + 0xb0], recvfrom
cmp rbx, 0xffffffffffffffff
je 0x14000ce9b
cmp dword [rdi + 0x24], 0
je 0x14000ce9b
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000ce9b
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
nop dword [rax + rax]
or rbx, 0xffffffffffffffff
mov dword [rdi + 0xb0], 3
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400110c0
Capabilities:
Access peb ldr_data
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov rax, qword [0x140019158]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r15d, r15d
lea rcx, str._SystemRoot_System32driversetcpasswd
mov rdi, rdx
mov ebx, r15d
mov r8d, 0x105
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x40]
mov r14b, r15b
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x140011134
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140011148
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400108e4
mov rbx, qword [rsp + 0x20]
mov esi, eax
test eax, eax
jne 0x1400111a6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
nop dword [rax + rax]
cmp qword [rdi + 8], r15
je 0x140011171
cmp dword [rdi + 0x18], ebx
jne 0x140011171
mov eax, dword [rsp + 0x24]
cmp dword [rdi + 0x1c], eax
je 0x140011174
mov r14b, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test r14b, r14b
je 0x1400112c0
mov r9, rbx
lea r8, [rsp + 0x40]
mov rdx, rdi
call fcn.140010d50
mov esi, eax
test eax, eax
je 0x1400112c0
cmp qword [rdi + 8], r15
je 0x1400112c0
mov eax, esi
mov rbx, r15
sub eax, 2
je 0x1400111f4
sub eax, 6
je 0x1400111eb
sub eax, 5
je 0x1400111fb
sub eax, 0xd2
je 0x1400111e2
cmp eax, 9
je 0x1400111d9
lea rbx, [0x1400165d8]
jmp 0x1400111fb
lea rbx, [0x140016638]
jmp 0x1400111fb
lea rbx, [0x140016608]
jmp 0x1400111fb
lea rbx, [0x1400165e8]
jmp 0x1400111fb
lea rbx, [0x140016618]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rdi + 8]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, rdi
mov qword [rdi + 8], r15
mov qword [rdi + 0x18], r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14001124e
call fcn.140010cfc
test rbx, rbx
je 0x1400112c0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140011266
mov rcx, qword [0x14001ae20]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], r15d
test rcx, rcx
je 0x1400112c0
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_EventEnabled]
nop dword [rax + rax]
test al, al
je 0x1400112c0
mov rcx, qword [0x14001ae20]
lea r9, [rsp + 0x28]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_EventWrite]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400131f0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400112f8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov rax, qword [0x140019158]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r15d, r15d
lea rcx, str._SystemRoot_System32driversetcgroup
mov rdi, rdx
mov ebx, r15d
mov r8d, 0x105
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x40]
mov r14b, r15b
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14001136c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140011380
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400108e4
mov rbx, qword [rsp + 0x20]
mov esi, eax
test eax, eax
jne 0x1400113de
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
nop dword [rax + rax]
cmp qword [rdi + 0x10], r15
je 0x1400113a9
cmp dword [rdi + 0x20], ebx
jne 0x1400113a9
mov eax, dword [rsp + 0x24]
cmp dword [rdi + 0x24], eax
je 0x1400113ac
mov r14b, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test r14b, r14b
je 0x1400114f8
mov r9, rbx
lea r8, [rsp + 0x40]
mov rdx, rdi
call fcn.140010f08
mov esi, eax
test eax, eax
je 0x1400114f8
cmp qword [rdi + 0x10], r15
je 0x1400114f8
mov eax, esi
mov rbx, r15
sub eax, 2
je 0x14001142c
sub eax, 6
je 0x140011423
sub eax, 5
je 0x140011433
sub eax, 0xd2
je 0x14001141a
cmp eax, 9
je 0x140011411
lea rbx, [0x1400165d8]
jmp 0x140011433
lea rbx, [0x140016638]
jmp 0x140011433
lea rbx, [0x140016608]
jmp 0x140011433
lea rbx, [0x1400165e8]
jmp 0x140011433
lea rbx, [0x140016618]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rdi + 0x10]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, rdi
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140011486
call fcn.140010cfc
test rbx, rbx
je 0x1400114f8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14001149e
mov rcx, qword [0x14001ae20]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], r15d
test rcx, rcx
je 0x1400114f8
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_EventEnabled]
nop dword [rax + rax]
test al, al
je 0x1400114f8
mov rcx, qword [0x14001ae20]
lea r9, [rsp + 0x28]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_EventWrite]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400131f0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011828
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword gs:[0x60]
xor edi, edi
mov rcx, qword [rcx + 0x30]
lea edx, [rdi + 8]
lea r8d, [rdi + 0x48]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400118d2
xor edx, edx
lea r8d, [rdi + 0x48]
mov rcx, rax
call sub.msvcrt.dll_memset
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
nop dword [rax + rax]
mov rdx, rbx
call fcn.1400110c0
mov rdx, rbx
call fcn.1400112f8
and qword [rsp + 0x28], rdi
lea r8, [0x140011530]
and dword [rsp + 0x20], edi
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbx + 0x30], rax
cmp rbx, 0xffffffffffffffff
jne 0x1400118d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x1400118d2
or rcx, rbx
call fcn.14001176c
jmp 0x1400118de
and qword [rbx + 0x28], 0
mov qword [0x14001a8f0], rbx
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1400123dc
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x20
mov rdi, r8
cmp edx, 0x10
jae 0x1400123fa
mov ebx, 0x80000005
jmp 0x140012476
lea rcx, [r8 + 0x38]
mov dword [r8 + 0x28], 0x38
lea rdx, [rsp + 0x48]
mov dword [r8 + 0x30], 0xbc
xor ebx, ebx
mov dword [rsp + 0x48], 0x81
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
nop dword [rax + rax]
test eax, eax
je 0x140012462
mov eax, dword [rsp + 0x48]
lea rdx, [rsp + 0x48]
mov ecx, dword [rdi + 0x30]
add rcx, rdi
mov dword [rdi + 0x2c], eax
mov dword [rsp + 0x48], 0x81
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
nop dword [rax + rax]
test eax, eax
je 0x140012462
mov eax, dword [rsp + 0x48]
add eax, eax
mov dword [rdi + 0x34], eax
jmp 0x140012476
mov ebx, 0xc0000001
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi + 0x20], eax
mov rcx, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov dword [rcx], 0x1c0
add rsp, 0x20
pop rdi
ret

Function at 0x1400126ec
Capabilities:
Get domain controller name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
and qword [rsp + 0x50], rbx
mov rdi, rcx
lea edx, [rbx + 0x2e]
call sub.msvcrt.dll_wcschr
test rax, rax
jne 0x140012792
lea edx, [rbx + 0x3a]
mov rcx, rdi
call sub.msvcrt.dll_wcschr
test rax, rax
jne 0x140012792
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
and dword [rsp + 0x20], ebx
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_DsGetDcNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1400127dd
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001276b
cmp word [rcx], 0x5c
jne 0x14001276b
add rcx, 2
jne 0x14001275f
mov edx, 0x185
call qword [sym.imp.WLDAP32.dll_Ordinal_145]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
mov rbx, rax
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
nop dword [rax + rax]
jmp 0x1400127a9
mov edx, 0x185
mov rcx, rdi
call qword [sym.imp.WLDAP32.dll_Ordinal_145]
nop dword [rax + rax]
mov rbx, rax
test rbx, rbx
je 0x1400127dd
mov r9d, 0x486
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WLDAP32.dll_Ordinal_73]
nop dword [rax + rax]
test eax, eax
je 0x1400127dd
mov rcx, rbx
call qword [sym.imp.WLDAP32.dll_Ordinal_46]
nop dword [rax + rax]
xor ebx, ebx
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140012dfc
Capabilities:
Get domain information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov rbp, rcx
test rdx, rdx
jne 0x140012e26
lea eax, [rdx + 0x57]
jmp 0x140012e9a
lea r8, [rsp + 0x48]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_DsRoleGetPrimaryDomainInformation]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140012e98
mov rcx, qword [rsp + 0x48]
mov r8, qword [rcx + 8]
test r8, r8
je 0x140012e87
cmp word [r8], r14w
je 0x140012e87
or rdi, 0xffffffffffffffff
inc rdi
cmp word [r8 + rdi*2], r14w
jne 0x140012e5c
lea eax, [rdi + 1]
cmp eax, dword [rsi]
jbe 0x140012e74
mov ebx, reloc.WS2_32.dll_WSAGetLastError
jmp 0x140012e8c
mov edx, dword [rsi]
mov rcx, rbp
call fcn.140010038
mov rcx, qword [rsp + 0x48]
mov dword [rsi], edi
jmp 0x140012e8c
mov ebx, 0x774
call qword [sym.imp.NETAPI32.dll_DsRoleFreeMemory]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140012ff0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14001ae80], rbx
je 0x14001303c
cmp rax, rbx
jne 0x14001302f
mov ebx, 1
mov esi, ebx
jmp 0x140013041
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140013014
mov ebx, 1
mov eax, dword [0x14001ae88]
cmp eax, ebx
jne 0x140013057
mov ecx, 0x1f
call fcn.1400ac000
jmp 0x1400130bc
mov eax, dword [0x14001ae88]
test eax, eax
jne 0x1400130b6
mov dword [0x14001ae88], ebx
lea r15, [0x140015108]
lea rdi, [0x1400150f0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400130a8
test eax, eax
jne 0x1400130ac
cmp qword [rdi], 0
je 0x14001309d
mov rax, qword [rdi]
mov rcx, qword [case.0x14000b3c0.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14001307e
test eax, eax
je 0x1400130bc
mov eax, 0xff
jmp 0x140013198
mov dword [0x1400191a4], ebx
mov eax, dword [0x14001ae88]
cmp eax, ebx
jne 0x1400130e3
lea rdx, [0x1400150e8]
lea rcx, [0x1400150d8]
call sub.msvcrt.dll__initterm
mov dword [0x14001ae88], 2
test esi, esi
jne 0x1400130f0
xor eax, eax
xchg qword [0x14001ae80], rax
cmp qword [0x14001ae90], 0
je 0x140013124
lea rcx, [0x14001ae90]
call fcn.140013580
test eax, eax
je 0x140013124
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14001ae90]
mov r9, qword [case.0x14000b3c0.0]
call r9
mov r8, qword [0x1400191b8]
mov rdx, qword [0x1400191b0]
mov ecx, dword [0x1400191a8]
call fcn.140004af0
mov dword [0x1400191a0], eax
cmp dword [0x1400191c0], 0
jne 0x140013154
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400191a4], 0
jne 0x140013169
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400191a0]
jmp 0x140013198
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140013614
add rsp, 0x28
jmp 0x140012ff0
Function at 0x14001346c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400134b8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400134b0
cmp dword [rcx + 0x3c], edx
jl 0x1400134b0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400134b0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400134b8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140002880
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400028ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400028ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400028ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400028ca
cmp dword [rcx + 0x84], 0xe
jbe 0x1400028ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400028cc
xor al, al
add rsp, 0x28
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002240]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002230]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400014d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov ecx, 0x104
lea rdx, [rsp + 0x30]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x140001576
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_retrieve_the_temp_path._Error_code:
mov qword [rsp + 0x168], rbx
call fcn.140001ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400020b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
lea rdx, [0x140006601]
movups xmmword [rdi], xmm0
xor r8d, r8d
mov qword [rdi + 0x10], rsi
mov rcx, rdi
mov qword [rdi + 0x18], rsi
call fcn.140001200
mov rbx, qword [rsp + 0x168]
jmp 0x1400015a6
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
inc r8
cmp byte [rax + r8], sil
jne 0x140001590
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140001200
mov rax, rdi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400046d0
mov rsi, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret