joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008040
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
mov ebx, ecx
call fcn.140009050
mov edi, 2
movzx ecx, bx
mov word [rsp + 0x20], di
call qword [sym.imp.WSOCK32.dll_htons]
lea rcx, [0x14005be80]
mov word [rsp + 0x22], ax
call qword [sym.imp.WSOCK32.dll_inet_addr]
xor r8d, r8d
lea edx, [rdi - 1]
mov ecx, edi
mov dword [rsp + 0x24], eax
call qword [sym.imp.WSOCK32.dll_socket]
or rdi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rdi
jne 0x1400080ae
mov rax, rdi
jmp 0x1400080d3
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_connect]
cmp eax, edi
jne 0x1400080d0
mov rcx, rbx
call fcn.140009130
jmp 0x1400080a9
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400081dc
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
xor r9d, r9d
mov byte [rsp + 0x38], dl
lea rdx, [rsp + 0x38]
lea r8d, [r9 + 1]
call qword [sym.imp.WSOCK32.dll_send]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14000820c
Capabilities:
Send data
Send data on 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 ebx, ebx
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400082a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x140008236
lea eax, [rax*2 + 6]
movsxd r14, eax
lea rcx, [r14 + r14]
call fcn.140025ca4
mov rsi, rax
test rax, rax
je 0x1400082a1
mov r9, rdi
lea r8, str._s_r_n
mov rdx, r14
mov rcx, rax
call fcn.1400099e8
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], bx
jne 0x140008273
lea r8d, [rcx + rcx]
xor r9d, r9d
mov rcx, rbp
mov rdx, rsi
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
mov rcx, rsi
setne bl
call fcn.140025c90
mov eax, ebx
jmp 0x1400082a3
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 0x1400082c4
Capabilities:
Receive data
Receive data on 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 r12
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
lea r12, [0x14006e810]
mov edi, r15d
mov r14d, r15d
mov ebx, r15d
mov esi, r15d
mov rdx, r12
mov rbp, rcx
jmp 0x14000833b
test eax, eax
je 0x140008378
movzx ecx, word [r12 + rdi*2]
cmp cx, 0xa
je 0x140008378
cmp cx, 0xd
lea eax, [rbx + 1]
cmove eax, ebx
cmp eax, 0x3ff
jge 0x14000836e
movsxd rbx, eax
lea rdi, [r14 + 1]
cmp cx, 0xd
mov rsi, rbx
mov rcx, rbp
cmove rdi, r14
mov r14, rdi
lea rdx, [r12 + rbx*2]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x1400082ff
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov word [0x14006f00e], r15w
jmp 0x14000838a
lea rcx, [rsi + rsi]
cmp rcx, 0x800
jae 0x14000838f
mov word [rcx + r12], r15w
mov rax, r12
jmp 0x14000834f
call fcn.14001345c
int3

Function at 0x140009050
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x140070830], 0
jne 0x1400090e0
lea rcx, str.ws2_32.dll
mov edi, 1
call fcn.14000dee4
mov rbx, rax
test rax, rax
jne 0x1400090a7
lea rcx, str.wsock32.dll
call fcn.14000dee4
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140009101
mov ecx, 2
lea rdx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x140009114
test edi, edi
je 0x1400090d6
lea rdx, str.WSASendDisconnect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070828], rax
mov dword [0x140070830], 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
mov ecx, reloc.WSOCK32.dll_listen
call fcn.14000b44c
mov rcx, rax
call fcn.140008f74
int3
mov ecx, ntohs
call fcn.14000b44c
mov rcx, rax
call fcn.140008f74
int3
Function at 0x14000a790
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xf60]
mov eax, 0x1060
call fcn.1400132c0
sub rsp, rax
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rbp + 0xf50], rax
mov rdi, rcx
mov dword [rsp + 0x40], edx
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x400
lea rdx, [0x14005de30]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
xor r8d, r8d
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x14000a8d8
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.CurrentVersion
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmovne ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, str.SoftwareJavaSoftJava_Runtime_Environment
mov edx, 0x400
test eax, eax
lea r8, [0x14005df18]
lea rax, [rsp + 0x50]
lea rcx, [rbp + 0x750]
mov qword [rsp + 0x20], rax
cmovne ebx, esi
call fcn.14000ad4c
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x750]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a8d8
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [0x14005dea8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmovne ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
cmovne ebx, esi
mov eax, ebx
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000aa0c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
or dword [rsp + 0x68], 0xffffffff
lea rax, [rsp + 0x38]
mov rbx, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000aa74
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x68]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x68]
add rsp, 0x40
pop rbx
ret
Function at 0x14000ab34
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, ecx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000ab73
xor eax, eax
jmp 0x14000abb0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000aba5
cmp dword [rsp + 0x28], esi
je 0x14000aba1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
jmp 0x14000ab88
mov ebx, dword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140013330
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000abdc
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x48], edx
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ac52
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x14000ac4c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14000ac54
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14000ada0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov ebx, ecx
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 0x48]
call fcn.140014f40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbp - 0x59]
mov rsi, rax
call fcn.140007e94
mov qword [0x1400760e8], rax
cmp rax, 0xffffffffffffffff
je 0x14000af83
test ebx, ebx
jle 0x14000af96
mov ecx, ebx
call fcn.140008040
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000afa9
mov eax, dword [rbp - 0x59]
lea r9, [0x14005e2bc]
or r8, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x37]
lea edx, [r8 + 7]
call fcn.14000b3f0
xor r9d, r9d
lea rdx, [rbp + 0x37]
mov rcx, rbx
lea r8d, [r9 + 6]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 6
jne 0x14000afbc
mov rcx, rbx
call fcn.140009130
test rdi, rdi
je 0x14000af62
lea rax, [0x14000b330]
mov qword [rbp - 0x31], rsi
mov edx, 0x7f00
mov qword [rbp - 0x41], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x19], 6
mov qword [rbp - 0x21], rax
lea rax, [0x14005e338]
mov qword [rbp - 9], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
and qword [rsp + 0x58], 0
lea r8, str.Win32Splash
mov qword [rsp + 0x50], rsi
lea rdx, str.SplashDummy
and qword [rsp + 0x48], 0
mov eax, 0x80000000
and qword [rsp + 0x40], 0
mov r9d, 0xcf0000
mov dword [rsp + 0x38], eax
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r9, [0x14000b320]
xor edx, edx
mov rcx, rax
mov r8d, 0x4e20
mov rbx, rax
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
je 0x14000afcf
call fcn.14000b1e8
mov rcx, rdi
call fcn.14000b220
mov rcx, qword [0x1400760e8]
mov r9d, 8
mov r8d, 0x401
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
jmp 0x14000af4c
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp + 7]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14000af38
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14000b44c
mov rcx, rax
call fcn.14000b2b4
int3
mov ecx, reloc.WSOCK32.dll_send
call fcn.14000b44c
mov rcx, rax
call fcn.14000b2b4
int3
mov ecx, send
call fcn.14000b44c
mov rcx, rax
call fcn.14000b2b4
int3
mov ecx, socket
call fcn.14000b44c
mov rcx, rax
call fcn.14000b2b4
int3
mov ecx, socket
call fcn.14000b44c
mov rcx, rax
call fcn.14000b2b4
int3
Function at 0x14000b8dc
Capabilities:
Encode data using base64

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 r15
sub rsp, 0x20
xorps xmm0, xmm0
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cvtsi2sd xmm0, rdx
test rdx, rdx
jns 0x14000b913
addsd xmm0, qword [0x140041638]
divsd xmm0, qword [0x140041620]
call fcn.140028a60
mulsd xmm0, qword [0x140041628]
xor eax, eax
movsd xmm1, qword [0x140041630]
comisd xmm0, xmm1
jb 0x14000b94f
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14000b94f
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rcx, xmm0
mov edx, 1
add rcx, rax
mov qword [rsi], rcx
inc rcx
call fcn.140025c88
xor r8d, r8d
mov r9, rax
test rax, rax
je 0x14000ba6c
lea r15, [0x140000000]
mov rcx, r8
test rbx, rbx
je 0x14000ba31
mov r10, r9
cmp rcx, rbx
jae 0x14000b99d
lea rax, [rcx + rdi]
inc rcx
movzx edx, byte [rax]
jmp 0x14000b9a0
mov rdx, r8
cmp rcx, rbx
jae 0x14000b9b1
lea rax, [rcx + rdi]
inc rcx
movzx ebp, byte [rax]
jmp 0x14000b9b4
mov rbp, r8
cmp rcx, rbx
jae 0x14000b9c6
lea rax, [rcx + rdi]
inc rcx
movzx r11d, byte [rax]
jmp 0x14000b9c9
mov r11, r8
shl rdx, 8
add rdx, rbp
shl rdx, 8
add rdx, r11
mov rax, rdx
shr rax, 0x12
mov al, byte [rax + r15 + 0x5fad0]
mov byte [r10], al
mov rax, rdx
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + r15 + 0x5fad0]
mov byte [r10 + 1], al
mov rax, rdx
shr rax, 6
and edx, 0x3f
and eax, 0x3f
mov al, byte [rax + r15 + 0x5fad0]
mov byte [r10 + 2], al
mov al, byte [rdx + r15 + 0x5fad0]
mov byte [r10 + 3], al
add r10, 4
cmp rcx, rbx
jb 0x14000b991
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rbx, rax
mov rcx, qword [r15 + rbx*8 + 0x5fb10]
test rcx, rcx
je 0x14000ba69
mov rax, qword [rsi]
sub rax, r8
inc r8
mov byte [rax + r9 - 1], 0x3d
cmp r8, rcx
jb 0x14000ba55
mov rax, r9
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14000c1c8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.14000bd04
xor r15d, r15d
movsxd rsi, eax
test eax, eax
js 0x14000c227
lea rdx, [0x14005fb28]
mov rcx, rbx
call fcn.14000bd48
mov rbp, rax
test rax, rax
je 0x14000c227
lea ecx, [rsi + 2]
movsxd rcx, ecx
call fcn.140025ca4
mov rbx, rax
test rax, rax
jne 0x14000c245
mov rcx, rbp
call fcn.1400258d0
mov qword [rdi], r15
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov r8, rsi
mov r9, rbp
mov edx, 1
mov rcx, rbx
call fcn.140028db4
mov r14, rax
cmp eax, esi
jle 0x14000c271
mov ecx, 9
call fcn.14000b44c
mov rcx, rax
call fcn.140008f74
mov rcx, rbp
call fcn.1400258d0
cmp r14d, esi
je 0x14000c288
mov rcx, rbx
call fcn.140025c90
jmp 0x14000c227
mov r9d, r15d
movsxd rdx, r14d
mov r8, r15
cmp r8, rdx
jge 0x14000c2b1
lea rax, [r8 + rbx]
inc r8
cmp byte [rax], r15b
lea ecx, [r9 + 1]
cmovne ecx, r9d
mov r9d, ecx
cmp r8, 6
jl 0x14000c291
cmp r9d, 1
jle 0x14000c2c1
mov qword [rdi], rbx
mov word [rdx + rbx], r15w
jmp 0x14000c2d8
mov rcx, rbx
mov byte [rdx + rbx], r15b
call fcn.14000be50
mov rcx, rbx
mov qword [rdi], rax
call fcn.140025c90
mov rcx, qword [rdi]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000c2df
jmp 0x14000c22c

Function at 0x14000cc98
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x14007725c], ebx
je 0x14000ccc5
mov eax, dword [0x140077260]
jmp 0x14000cd0d
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.140014f40
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
mov eax, 1
jne 0x14000ccff
cmp dword [rsp + 0x24], 6
jb 0x14000ccff
mov ebx, eax
mov dword [0x14007725c], eax
mov eax, ebx
mov dword [0x140077260], ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013330
add rsp, 0x150
pop rbx
ret
Function at 0x14000d1f4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r14, edx
mov rsi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14000d2bb
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000f7c0
mov rax, qword [rax]
test rax, rax
je 0x14000d269
mov r8, qword [rax]
jmp 0x14000d26c
mov r8, rbx
mov rdx, r14
mov r9d, 0x104
mov rcx, rsi
call fcn.140017b58
lea rcx, [rsp + 0x30]
call fcn.14000fde8
nop
jmp 0x14000d290
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.14001014c
xor edx, edx
mov ecx, edi
call fcn.1400145c0
int3

Function at 0x14000d2dc
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r14, edx
mov rsi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14000d3a3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000f7c0
mov rax, qword [rax]
test rax, rax
je 0x14000d351
mov r8, qword [rax]
jmp 0x14000d354
mov r8, rbx
mov rdx, r14
mov r9d, 0x104
mov rcx, rsi
call fcn.140017b58
lea rcx, [rsp + 0x30]
call fcn.14000fde8
nop
jmp 0x14000d378
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.14001014c
xor edx, edx
mov ecx, edi
call fcn.1400145c0
int3
Function at 0x14000d594
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rcx
xor edi, edi
mov esi, edi
mov word [rcx], di
call fcn.14000d480
test eax, eax
je 0x14000d5d7
call fcn.14000eeb0
mov rsi, rax
test rax, rax
jne 0x14000d5d7
call fcn.14000f12c
mov rsi, rax
mov dword [rsp + 0x20], 0x104
mov r9, r14
mov r8, rsi
xor edx, edx
lea rcx, [0x140041600]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
js 0x14000d678
test rsi, rsi
je 0x14000d609
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14000d614
test ebx, ebx
jns 0x14000d665
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
js 0x14000d690
jmp 0x14000d640
test ebx, ebx
jns 0x14000d665
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
js 0x14000d6a8
jmp 0x14000d665
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.14001014c
xor edx, edx
mov ecx, ebx
call fcn.1400145c0
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.14001014c
xor edx, edx
mov ecx, ebx
call fcn.1400145c0
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.14001014c
xor edx, edx
mov ecx, ebx
call fcn.1400145c0
int3

Function at 0x14000dee4
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140014f40
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14000df6f
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.140014f40
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x1400423b0]
lea rcx, [rsp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x14000df71
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140013330
add rsp, 0x450
pop rbx
ret
Function at 0x14000dffc
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov r14d, 0x68
mov r8d, r14d
lea rcx, [rbp - 0x29]
xor edx, edx
call fcn.140014f40
xor eax, eax
mov dword [rbp - 0x29], r14d
xor r14d, r14d
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov word [rbp + 0x17], r14w
mov dword [rbp + 0x13], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x7f]
mov edx, 0x2000000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000e0e0
test rbx, rbx
je 0x14000e0e0
mov rcx, qword [rbp + 0x7f]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x29]
mov r8, rsi
mov qword [rsp + 0x48], rax
mov rdx, rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x8000008
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14000e0e0
mov rcx, qword [rbp - 0x49]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [r14 + 1]
jmp 0x14000e0e2
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14000e584
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x14000e623
mov r8d, edi
lea rdx, [rsp + 0x20]
lea rcx, [0x140042868]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x14000e61c
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000d1f4
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, [0x140042890]
mov rcx, rbx
call fcn.14000ad4c
mov rcx, rbx
call fcn.14000ee70
test eax, eax
jne 0x14000e61c
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000d6c8
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, str._sSunJavaDeploymentdeployment.properties
mov rcx, rbx
call fcn.14000ad4c
mov eax, 1
jmp 0x14000e625
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret