joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ae2c
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 [0x140065650]
xor rax, rsp
mov qword [rbp + 0x3f], rax
and dword [rbp - 0x45], 0
mov ebx, ecx
and qword [rbp - 0x39], 0
xor ecx, ecx
and qword [rbp - 0x29], 0
mov rdi, rdx
and qword [rbp - 0x11], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbp - 0x59]
mov rsi, rax
call fcn.140007f2c
mov qword [0x14007a308], rax
cmp rax, 0xffffffffffffffff
je 0x14000b017
test ebx, ebx
jle 0x14000b02a
mov ecx, ebx
call fcn.1400080d4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000b03d
mov eax, dword [rbp - 0x59]
lea r9, [0x14006230c]
or r8, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x37]
lea edx, [r8 + 7]
call fcn.14000b484
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 0x14000b050
mov rcx, rbx
call fcn.14000919c
test rdi, rdi
je 0x14000aff6
and dword [rbp - 0x49], 0
lea rax, [0x14000b3c4]
mov edx, 0x7f00
mov qword [rbp - 0x41], rax
xor ecx, ecx
mov qword [rbp - 0x31], rsi
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x19], 6
mov qword [rbp - 0x21], rax
lea rax, [0x140062388]
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, [0x14000b3b4]
xor edx, edx
mov rcx, rax
mov r8d, 0x4e20
mov rbx, rax
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
je 0x14000b063
call fcn.14000b27c
mov rcx, rdi
call fcn.14000b2b4
mov rcx, qword [0x14007a308]
mov r9d, 8
mov r8d, 0x401
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
jmp 0x14000afe0
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 0x14000afcc
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14000b4e0
mov rcx, rax
call fcn.14000b348
int3
mov ecx, reloc.WSOCK32.dll_send
call fcn.14000b4e0
mov rcx, rax
call fcn.14000b348
int3
mov ecx, send
call fcn.14000b4e0
mov rcx, rax
call fcn.14000b348
int3
mov ecx, socket
call fcn.14000b4e0
mov rcx, rax
call fcn.14000b348
int3
mov ecx, socket
call fcn.14000b4e0
mov rcx, rax
call fcn.14000b348
int3
Function at 0x14000c290
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.14000bd9c
xor r15d, r15d
movsxd rsi, eax
test eax, eax
js 0x14000c2ef
lea rdx, [0x140063b78]
mov rcx, rbx
call fcn.14000bde0
mov rbp, rax
test rax, rax
je 0x14000c2ef
lea ecx, [rsi + 2]
movsxd rcx, ecx
call fcn.1400286a0
mov rbx, rax
test rax, rax
jne 0x14000c30d
mov rcx, rbp
call fcn.1400282cc
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.14002b680
mov r14, rax
cmp eax, esi
jle 0x14000c339
mov ecx, 9
call fcn.14000b4e0
mov rcx, rax
call fcn.140008fe0
mov rcx, rbp
call fcn.1400282cc
cmp r14d, esi
je 0x14000c350
mov rcx, rbx
call fcn.14002868c
jmp 0x14000c2ef
mov r9d, r15d
movsxd rdx, r14d
mov r8, r15
cmp r8, rdx
jge 0x14000c379
lea rax, [r8 + rbx]
inc r8
cmp byte [rax], r15b
lea ecx, [r9 + 1]
cmovne ecx, r9d
mov r9d, ecx
cmp r8, 6
jl 0x14000c359
cmp r9d, 1
jle 0x14000c389
mov qword [rdi], rbx
mov word [rdx + rbx], r15w
jmp 0x14000c3a0
mov rcx, rbx
mov byte [rdx + rbx], r15b
call fcn.14000bee8
mov rcx, rbx
mov qword [rdi], rax
call fcn.14002868c
mov rcx, qword [rdi]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000c3a7
jmp 0x14000c2f4

Function at 0x14000cd9c
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x14007b47c], ebx
je 0x14000cdc9
mov eax, dword [0x14007b480]
jmp 0x14000ce11
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.140015770
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 0x14000ce03
cmp dword [rsp + 0x24], 6
jb 0x14000ce03
mov ebx, eax
mov dword [0x14007b47c], eax
mov eax, ebx
mov dword [0x14007b480], ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013ab0
add rsp, 0x150
pop rbx
ret
Function at 0x14000d344
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rsp + 0x250], rax
movsxd r14, edx
mov rsi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x40]
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 0x14000d400
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14000f8c0
mov rax, qword [rax]
test rax, rax
je 0x14000d3ae
mov r8, qword [rax]
jmp 0x14000d3b1
mov r8, rbx
mov rdx, r14
mov r9d, 0x104
mov rcx, rsi
call fcn.14001a6b4
lea rcx, [rsp + 0x30]
call fcn.14000fd70
nop
jmp 0x14000d3d5
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
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.1400100d0
xor edx, edx
mov ecx, edi
call fcn.140014bd0
int3

Function at 0x14000d420
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rsp + 0x250], rax
movsxd r14, edx
mov rsi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x40]
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 0x14000d4dc
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14000f8c0
mov rax, qword [rax]
test rax, rax
je 0x14000d48a
mov r8, qword [rax]
jmp 0x14000d48d
mov r8, rbx
mov rdx, r14
mov r9d, 0x104
mov rcx, rsi
call fcn.14001a6b4
lea rcx, [rsp + 0x30]
call fcn.14000fd70
nop
jmp 0x14000d4b1
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
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.1400100d0
xor edx, edx
mov ecx, edi
call fcn.140014bd0
int3

Function at 0x14000dde8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140015770
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14000de73
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.140015770
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x140045350]
lea rcx, [rsp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x14000de75
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140013ab0
add rsp, 0x450
pop rbx
ret
Function at 0x14000df00
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.140015770
mov dword [rbp - 0x29], r14d
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp + 0x13], 1
xor r14d, r14d
mov qword [rbp - 0x39], rax
movups xmmword [rbp - 0x49], xmm0
mov word [rbp + 0x17], r14w
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 0x14000dfe3
test rbx, rbx
je 0x14000dfe3
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 0x14000dfe3
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 0x14000dfe5
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 0x14000e534
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x14000e5d3
mov r8d, edi
lea rdx, [rsp + 0x20]
lea rcx, [0x140045868]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x14000e5cc
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000d344
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, [0x140045890]
mov rcx, rbx
call fcn.14000add8
mov rcx, rbx
call fcn.14000eeac
test eax, eax
jne 0x14000e5cc
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000d7f4
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, str._sSunJavaDeploymentdeployment.properties
mov rcx, rbx
call fcn.14000add8
mov eax, 1
jmp 0x14000e5d5
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x14000e840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1050
call fcn.140013a50
sub rsp, rax
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x40]
call fcn.140015770
mov r9, rbx
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
mov edx, 0x400
lea rcx, [rsp + 0x40]
call fcn.14000add8
lea rax, [rsp + 0x38]
neg edi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
sbb rcx, rcx
lea rdx, [rsp + 0x40]
add rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
je 0x14000e8d6
cmp eax, 2
sete bl
jmp 0x14000e939
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x840]
mov dword [rsp + 0x30], 0x800
lea rdx, [0x14004477c]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14000e910
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000e93b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x840]
sub rdx, rsi
movzx eax, word [rsi]
movzx ecx, word [rsi + rdx]
sub eax, ecx
jne 0x14000e934
add rsi, 2
test ecx, ecx
jne 0x14000e921
test eax, eax
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000f620
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rbp + 0x160], rax
lea r8, [0x140045968]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140027630
xor ebx, ebx
test eax, eax
jne 0x14000f73a
mov rcx, qword [rsp + 0x30]
call fcn.14002868c
cmp qword [0x14007b450], rbx
je 0x14000f686
lea eax, [rbx + 1]
jmp 0x14000f73c
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x14000f73a
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14000f8c0
nop
lea rdx, str.JavaDeployReg.log
lea rcx, [rsp + 0x28]
call fcn.14000f8c0
nop
mov ecx, 0x18
call fcn.140013d6c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000f6f0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14000f76c
mov rdi, rax
jmp 0x14000f6f3
mov rdi, rbx
test rdi, rdi
je 0x14000f760
lea rcx, [rsp + 0x20]
call fcn.14000fd70
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x28]
call fcn.14000fd70
lea r8, [0x140044bd4]
mov rdx, qword [rdi]
lea rcx, [0x14007b450]
call fcn.14001abb4
test eax, eax
sete bl
lea rcx, [rsp + 0x20]
call fcn.14000fd70
mov eax, ebx
jmp 0x14000f73c
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140014a70
int3
Function at 0x14000f974
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14000f99a
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000fcdc
jmp 0x14000fa01
cmp byte [0x14007b468], 0
jne 0x14000f9de
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f9ce
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14007b460], rax
jmp 0x14000f9d5
mov rax, qword [0x14007b460]
mov byte [0x14007b468], 1
jmp 0x14000f9e5
mov rax, qword [0x14007b460]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000f9fb
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000fa01
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000fcdc
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000fd3f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fd53
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000fd53
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14000fd58
cmp dword [rcx + 8], 0
je 0x14000fd53
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000fd58
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000fecc
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140013a50
sub rsp, rax
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rbx, rdx
mov rdi, rcx
mov esi, 0x800
lea rcx, [rbp + 0x780]
mov r8d, esi
xor edx, edx
call fcn.140015770
call fcn.1400048cc
mov qword [rsp + 0x30], rbx
lea rdx, [rbp + 0x780]
xor r15d, r15d
or r12, 0xffffffffffffffff
mov qword [rsp + 0x28], r15
mov r9, r12
mov rcx, qword [rax]
mov r8d, 0x400
mov qword [rsp + 0x20], rdi
call fcn.14001f900
test eax, eax
cmovs eax, r12d
test eax, eax
jns 0x14000ff65
mov word [rbp + 0xf7e], r15w
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x40]
call fcn.140015770
mov ebx, 0x20
lea rcx, [rsp + 0x40]
mov edx, ebx
call fcn.14000fe18
lea r8, [0x140047a1c]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14002bfa0
mov r8, rsi
lea rcx, [rbp - 0x80]
xor edx, edx
call fcn.140015770
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x14000ffaa
cmp rax, 6
jbe 0x14000ffd7
add rax, 0xfffffffffffffffa
lea rdx, str.__08x_
lea rcx, [rdi + rax*2]
call fcn.14002ddd8
test eax, eax
mov eax, 1
je 0x14000ffda
mov eax, r15d
lea rcx, [rsp + 0x40]
mov r14, r12
inc r14
cmp word [rcx + r14*2], r15w
jne 0x14000ffe2
test eax, eax
lea rcx, [0x140047a3c]
lea rdi, str.Error:
cmove rdi, rcx
lea rsi, [r14 + r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r9, [rbp + 0x780]
mov edx, 0x3ff
mov qword [rsp + 0x38], r9
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rdi
lea r9, str.P:_04d_T:_04d__s_s
mov dword [rsp + 0x28], ebx
sub rdx, r14
add rcx, rsi
mov dword [rsp + 0x20], eax
mov r8, r12
call fcn.1400048dc
mov rcx, qword [rbp + 0x776]
test eax, eax
movabs rdx, 0x2e002e002e
mov r8, rsi
cmovs rcx, rdx
lea rdx, [rsp + 0x40]
mov qword [rbp + 0x776], rcx
lea rcx, [rbp - 0x80]
call fcn.1400150c0
lea rcx, [rbp - 0x80]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], r15w
jne 0x140010080
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
mov dword [rcx], eax
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret

Function at 0x140010acc
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
call fcn.140011f88
test eax, eax
jne 0x140010b00
mov dword [rsp + 0x28], 1
lea r8, str.http:__java.com_inst_dl_redirect
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
Function at 0x140010b84
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3f70]
mov eax, 0x4070
call fcn.140013a50
sub rsp, rax
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rbp + 0x3f60], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov r15d, 0x1000
lea rcx, [rsp + 0x60]
mov r8d, r15d
xor edx, edx
xor edi, edi
call fcn.140015770
mov r8d, r15d
lea rcx, [rbp + 0xf60]
xor edx, edx
call fcn.140015770
lea rax, [rsp + 0x48]
mov r14d, 0x800
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], r14d
lea rdx, [0x14004a850]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010d57
and qword [rsp + 0x38], rdi
and qword [rsp + 0x30], rdi
and qword [rsp + 0x28], rdi
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x140010d3a
lea rax, [rsp + 0x60]
mov rdx, r14
lea r9, [0x14004a8c0]
mov qword [rsp + 0x20], rax
lea r8, [0x14004a928]
lea rcx, [rbp + 0xf60]
call fcn.14000add8
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xf60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010d19
mov r8, r15
lea rcx, [rbp + 0x1f60]
xor edx, edx
call fcn.140015770
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x1f60]
mov dword [rsp + 0x40], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.RuntimeLib
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010d19
cmp dword [rsp + 0x40], eax
jbe 0x140010d19
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x2f60]
mov dword [rsp + 0x40], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14004a980]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
and qword [rsp + 0x38], 0
inc edi
and qword [rsp + 0x30], 0
mov edx, edi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], r14d
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140010c3e
lea rdx, [rbp + 0x2f60]
mov rcx, rbx
call fcn.14000f8c0
mov rax, rbx
mov rcx, qword [rbp + 0x3f60]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x4070]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011d90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x2f70]
mov eax, 0x3070
call fcn.140013a50
sub rsp, rax
mov rax, qword [0x140065650]
xor rax, rsp
mov qword [rbp + 0x2f60], rax
mov r14d, edx
mov rsi, rcx
mov r12d, 0x1000
lea rcx, [rsp + 0x60]
xor ebx, ebx
mov r8d, r12d
xor edx, edx
mov edi, ebx
call fcn.140015770
mov r8d, r12d
lea rcx, [rbp + 0xf60]
xor edx, edx
call fcn.140015770
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x800
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14004b800]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011f46
xor edx, edx
jmp 0x140011f15
lea rax, [rsp + 0x60]
mov edx, 0x800
lea r9, [0x14004b870]
mov qword [rsp + 0x20], rax
lea r8, [0x14004b7d8]
lea rcx, [rbp + 0xf60]
call fcn.14000add8
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xf60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011f09
mov r8, r12
lea rcx, [rbp + 0x1f60]
xor edx, edx
call fcn.140015770
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x1f60]
mov dword [rsp + 0x40], 0x800
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14004b7e8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011f09
cmp dword [rsp + 0x40], ebx
jbe 0x140011f09
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea rdx, [0x14004b858]
mov dword [rsp + 0x40], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc edi
mov dword [rsp + 0x40], 0x800
mov edx, edi
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140011e30
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bx
jne 0x140011f4a
test rax, rax
setne bl
mov eax, ebx
mov rcx, qword [rbp + 0x2f60]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x30b0]
add rsp, 0x3070
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret