joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ae00
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.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0xf50], rax
mov dword [rsp + 0x3c], edx
lea rax, [rsp + 0x30]
mov rdi, rcx
lea rdx, [0x14003d9d0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x400
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x14000af48
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.CurrentVersion
xor r8d, r8d
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
test eax, eax
lea rax, [rsp + 0x50]
lea r8, [0x14003dab8]
lea rcx, [rbp + 0x750]
mov edx, 0x400
mov qword [rsp + 0x20], rax
cmovne ebx, esi
call fcn.140014e00
lea r11, [rsp + 0x30]
lea rdx, [rbp + 0x750]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000af48
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x14003da48]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
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.140013300
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000b0d0
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 r9d, 0x20019
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b138
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
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 0x14000c48c
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 [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
and dword [rbp - 0x49], 0
mov rdi, rdx
xor edx, edx
mov ebx, ecx
lea rcx, [rbp - 0x41]
lea r8d, [rdx + 0x40]
call fcn.140013c40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbp - 0x59]
mov rsi, rax
call fcn.14000921c
mov qword [0x1400566c8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000c4f8
lea ecx, [rax + 6]
call fcn.14000c82c
mov rcx, rax
call fcn.14000c31c
int3
test ebx, ebx
jg 0x14000c50f
mov ecx, reloc.WSOCK32.dll_send
call fcn.14000c82c
mov rcx, rax
call fcn.14000c31c
int3
mov ecx, ebx
call fcn.14000940c
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c530
lea ecx, [rax + 0x12]
call fcn.14000c82c
mov rcx, rax
call fcn.14000c31c
int3
mov eax, dword [rbp - 0x59]
or r8, 0xffffffffffffffff
lea r9, [0x14003dd8c]
lea edx, [r8 + 7]
lea rcx, [rbp + 0x37]
mov dword [rsp + 0x20], eax
call fcn.140017878
xor r9d, r9d
lea rdx, [rbp + 0x37]
lea r8d, [r9 + 6]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 6
je 0x14000c57b
mov ecx, socket
call fcn.14000c82c
mov rcx, rax
call fcn.14000c31c
int3
mov rcx, rbx
call fcn.14000a5d0
test rdi, rdi
je 0x14000c69b
and dword [rbp - 0x49], 0
lea rax, [0x14000c3ac]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x41], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x19], 6
mov qword [rbp - 0x21], rax
lea rax, [0x14003de08]
mov qword [rbp - 9], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
and qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rsi
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov eax, 0x80000000
lea r8, str.Win32Splash
lea rdx, str.SplashDummy
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov r9d, 0xcf0000
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r9, [0x14000c38c]
xor edx, edx
mov rcx, rax
mov r8d, 0x4e20
mov rbx, rax
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
jne 0x14000c646
lea ecx, [rax + 0x15]
call fcn.14000c82c
mov rcx, rax
call fcn.14000c31c
int3
call fcn.14000c21c
mov rcx, rdi
call fcn.14000c25c
mov rcx, qword [0x1400566c8]
mov r9d, 8
mov r8d, 0x401
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
jmp 0x14000c685
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp + 7]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14000c671
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140013300
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ca1c
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
pxor xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm6
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cvtsi2sd xmm0, rdx
test rdx, rdx
jns 0x14000ca4f
addsd xmm0, qword [0x1400305b0]
divsd xmm0, qword [0x1400305a8]
call fcn.14001792c
movsd xmm2, qword [0x1400305a0]
xor eax, eax
movapd xmm1, xmm0
movapd xmm6, xmm0
mulsd xmm1, qword [0x140030598]
comisd xmm1, xmm2
jbe 0x14000ca93
subsd xmm1, xmm2
comisd xmm1, xmm2
jae 0x14000ca93
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rcx, xmm1
add rcx, rax
mov qword [rsi], rcx
mov esi, 2
inc rcx
mov edx, esi
call fcn.140013864
mov r11, rax
test rax, rax
je 0x14000cbd2
xor edx, edx
lea r10, [0x140000000]
test rbx, rbx
je 0x14000cb81
mov r9, rax
movsxd rax, edx
cmp rax, rbx
jae 0x14000cae0
movzx ecx, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000cae2
xor ecx, ecx
movsxd rax, edx
cmp rax, rbx
jae 0x14000caf5
movzx r8d, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000caf8
xor r8d, r8d
movsxd rax, edx
cmp rax, rbx
jae 0x14000cb0a
movzx eax, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000cb0c
xor eax, eax
shl ecx, 8
add ecx, r8d
shl ecx, 8
add ecx, eax
mov eax, ecx
shr rax, 0x12
and eax, 0x3f
movzx eax, word [r10 + rax*2 + 0x3f580]
mov word [r9], ax
add r9, rsi
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, word [r10 + rax*2 + 0x3f580]
mov word [r9], ax
add r9, rsi
mov eax, ecx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, word [r10 + rax*2 + 0x3f580]
mov word [r9], ax
movzx eax, word [r10 + rcx*2 + 0x3f580]
add r9, rsi
mov word [r9], ax
movsxd rax, edx
add r9, rsi
cmp rax, rbx
jb 0x14000cace
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rbx, rax
mov edx, dword [r10 + rbx*4 + 0x3f600]
test edx, edx
jle 0x14000cbcf
mulsd xmm6, qword [0x140030590]
mov rcx, r11
cvttsd2si rax, xmm6
add rax, rax
sub rcx, rax
mov eax, edx
sub rcx, rsi
mov edx, 0x3d
mov word [rcx], dx
sub rcx, rsi
dec rax
jne 0x14000cbbf
mov rax, r11
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x14000cf04
Capabilities:
Write file on windows

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
sub rsp, 0x20
mov rsi, rdx
lea rdx, [0x14003f618]
movsxd rdi, r8d
call fcn.1400162b0
xor ebx, ebx
mov r12, rax
test rax, rax
je 0x14000cf76
mov rcx, rsi
call fcn.14000ce14
mov r8, rdi
mov r9, r12
mov rcx, rax
mov edx, 1
mov rsi, rax
call fcn.140016140
mov rcx, r12
mov rbp, rax
call fcn.140015f4c
test rsi, rsi
je 0x14000cf6f
mov rcx, rsi
call fcn.140013d38
cmp ebp, edi
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14000dbf4
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 0x14000dc57
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000dc6b
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000dc6b
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14000dc70
cmp dword [rcx + 8], 0
je 0x14000dc6b
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000dc70
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000dc80
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000dca6
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000dbf4
jmp 0x14000dd0d
cmp byte [0x140057928], 0
jne 0x14000dcea
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000dcda
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140057920], rax
jmp 0x14000dce1
mov rax, qword [0x140057920]
mov byte [0x140057928], 1
jmp 0x14000dcf1
mov rax, qword [0x140057920]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000dd07
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000dd0d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e3e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x450
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rcx, [rsp + 0x22]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], si
call fcn.140013c40
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000e480
cmp eax, 0x104
ja 0x14000e480
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], si
call fcn.140013c40
lea r8, [rsp + 0x20]
lea rdx, [0x140030da8]
lea rcx, [rsp + 0x230]
mov r9, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x14000e482
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140013300
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rsi
ret

Function at 0x14000e4b0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x58
test rcx, rcx
jne 0x14000e4bd
xor eax, eax
jmp 0x14000e50d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
add rsp, 0x58
ret
Function at 0x14000e520
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
test rdx, rdx
jne 0x14000e52d
xor eax, eax
jmp 0x14000e58a
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
add rsp, 0x68
ret

Function at 0x14000e980
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0xf50]
mov eax, 0x1050
call fcn.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov rbx, rcx
mov edi, r8d
mov r12, rdx
lea rcx, [rsp + 0x42]
xor esi, esi
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x40], si
call fcn.140013c40
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
lea rcx, [rsp + 0x40]
mov r9, rbx
mov edx, 0x400
call fcn.140014e00
lea rax, [rsp + 0x30]
neg edi
sbb rcx, rcx
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
add rcx, 0xffffffff80000002
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000ea26
cmp eax, 2
sete sil
jmp 0x14000ea8b
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x740]
lea rdx, [0x140030664]
mov dword [rsp + 0x38], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000ea5f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000ea8d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x740]
sub rdx, r12
movzx eax, word [r12]
movzx ecx, word [r12 + rdx]
sub eax, ecx
jne 0x14000ea85
add r12, 2
test ecx, ecx
jne 0x14000ea6f
test eax, eax
setne sil
mov eax, esi
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.140013300
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x14000ed40
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
xor edi, edi
mov word [rcx], di
mov dword [rax - 0x38], 0x104
mov r9, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [0x140031570]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
jns 0x14000ed9f
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.140010b4c
xor edx, edx
mov ecx, ebx
call fcn.14002f1b0
nop
jmp 0x14000edaa
test ebx, ebx
jns 0x14000ee2b
mov qword [rsp + 0x20], rsi
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
jns 0x14000ede3
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.140010b4c
xor edx, edx
mov ecx, ebx
call fcn.14002f1b0
nop
jmp 0x14000edee
test ebx, ebx
jns 0x14000ee2b
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
jns 0x14000ee25
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.140010b4c
xor edx, edx
mov ecx, ebx
call fcn.14002f1b0
nop
jmp 0x14000ee2b
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14001094c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rsi, rcx
mov rdi, rdx
mov ebx, 0x7fe
lea rcx, [rbp + 0x782]
xor r13d, r13d
xor edx, edx
mov r8d, ebx
mov word [rbp + 0x780], r13w
call fcn.140013c40
or r14, 0xffffffffffffffff
lea rcx, [rbp + 0x780]
mov r8, r14
mov r9, rsi
mov edx, 0x400
mov qword [rsp + 0x20], rdi
call fcn.14001a024
test eax, eax
jns 0x1400109d7
mov word [rbp + 0xf7e], r13w
xor edx, edx
lea rcx, [rsp + 0x42]
mov word [rsp + 0x40], r13w
lea r8d, [rdx + 0x3e]
call fcn.140013c40
mov edi, 0x20
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.14001088c
lea r8, [0x1400313fc]
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.1400188dc
lea rcx, [rbp - 0x7e]
mov r8, rbx
xor edx, edx
mov word [rbp - 0x80], r13w
call fcn.140013c40
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 6
jbe 0x140010a52
lea rsi, [rsi + rcx*2 - 0xc]
lea rdi, str.__08x_
lea ecx, [rax + 7]
repe cmpsw word [rsi], word [rdi]
lea edx, [rax + 1]
je 0x140010a55
mov edx, r13d
lea rdi, [rsp + 0x40]
mov rcx, r14
lea rbx, [0x14003140c]
repne scasw ax, word [rdi]
lea rax, str.Error:
test edx, edx
not rcx
cmovne rbx, rax
lea rsi, [rcx - 1]
lea r12, [rcx + rcx - 2]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x3ff
sub rdx, rsi
lea rsi, [rbp + 0x780]
lea rcx, [rbp + r12 - 0x80]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbx
lea r9, str.P:_04d_T:_04d__s_s
mov r8, r14
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.140014e24
test eax, eax
jns 0x140010ae6
mov rdx, r13
lea rax, [0x140031568]
movzx eax, word [rdx + rax]
add rdx, 2
mov word [rbp + rdx + 0x774], ax
test ax, ax
jne 0x140010aca
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
mov r8, r12
call fcn.1400140c0
xor eax, eax
lea rdi, [rbp - 0x80]
mov rcx, r14
repne scasw ax, word [rdi]
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
lea rcx, [rbp - 0x80]
mov dword [rdi - 2], eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.140013300
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret

Function at 0x140010c04
Capabilities:
Create process on windows

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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x3f88]
mov eax, 0x4070
call fcn.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0x3f60], rax
xor esi, esi
mov rbx, rcx
mov r13d, 0xffe
mov dword [rsp + 0x44], esi
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, r13d
mov edi, esi
mov word [rsp + 0x60], si
call fcn.140013c40
lea rcx, [rbp + 0xf62]
mov r8d, r13d
xor edx, edx
mov word [rbp + 0xf60], si
call fcn.140013c40
lea rax, [rsp + 0x48]
lea rdx, [0x1400317a0]
mov r12d, 0x800
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010e17
xor edx, edx
jmp 0x140010de6
lea rax, [rsp + 0x60]
lea r9, [0x140031810]
lea r8, [0x140031868]
lea rcx, [rbp + 0xf60]
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.140014e00
lea r11, [rsp + 0x50]
lea rdx, [rbp + 0xf60]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010ddd
lea rcx, [rbp + 0x1f62]
mov r8, r13
xor edx, edx
mov word [rbp + 0x1f60], si
call fcn.140013c40
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, [0x140031718]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], r12d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010ddd
cmp dword [rsp + 0x40], esi
jbe 0x140010ddd
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2f60]
lea rdx, [0x140031788]
xor r8d, r8d
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc edi
mov dword [rsp + 0x40], r12d
mov edx, edi
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140010cfb
lea rdx, [rbp + 0x2f60]
mov rcx, rbx
call fcn.1400104d8
mov rax, rbx
mov rcx, qword [rbp + 0x3f60]
xor rcx, rsp
call fcn.140013300
lea r11, [rsp + 0x4070]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
Function at 0x140011768
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x140057950], ebx
je 0x140011795
mov eax, dword [0x14005794c]
jmp 0x1400117e0
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
call fcn.140013c40
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
mov r11d, 1
jne 0x1400117d1
cmp dword [rsp + 0x24], 6
jb 0x1400117d1
mov ebx, r11d
mov dword [0x14005794c], ebx
mov dword [0x140057950], r11d
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013300
add rsp, 0x150
pop rbx
ret

Function at 0x140011808
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.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0x2f60], rax
mov rdi, rcx
mov r12d, edx
xor ebx, ebx
mov r14d, 0xffe
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, r14d
mov esi, ebx
mov word [rsp + 0x60], bx
call fcn.140013c40
lea rcx, [rbp + 0xf62]
mov r8d, r14d
xor edx, edx
mov word [rbp + 0xf60], bx
call fcn.140013c40
lea rax, [rsp + 0x48]
lea rdx, [0x140031e90]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400119d1
xor edx, edx
jmp 0x1400119a0
lea rax, [rsp + 0x60]
lea r9, [0x140031ef0]
lea r8, [0x140031e78]
lea rcx, [rbp + 0xf60]
mov edx, 0x800
mov qword [rsp + 0x20], rax
call fcn.140014e00
lea r11, [rsp + 0x50]
lea rdx, [rbp + 0xf60]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011994
lea rcx, [rbp + 0x1f62]
mov r8, r14
xor edx, edx
mov word [rbp + 0x1f60], bx
call fcn.140013c40
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, str.RuntimeLib
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011994
cmp dword [rsp + 0x40], ebx
jbe 0x140011994
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, [0x140031f48]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], r12d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc esi
mov dword [rsp + 0x40], 0x800
mov edx, esi
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400118b4
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
dec rcx
setne bl
mov eax, ebx
mov rcx, qword [rbp + 0x2f60]
xor rcx, rsp
call fcn.140013300
mov rbx, qword [rsp + 0x30b0]
add rsp, 0x3070
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret