joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c064
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 [0x140040b80]
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.1400139f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbp - 0x59]
mov rsi, rax
call fcn.140008eb4
mov qword [0x140056688], rax
cmp rax, 0xffffffffffffffff
jne 0x14000c0d0
lea ecx, [rax + 6]
call fcn.14000c434
mov rcx, rax
call fcn.14000bef4
int3
test ebx, ebx
jg 0x14000c0e7
mov ecx, reloc.WSOCK32.dll_send
call fcn.14000c434
mov rcx, rax
call fcn.14000bef4
int3
mov ecx, ebx
call fcn.1400090a4
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c108
lea ecx, [rax + 0x12]
call fcn.14000c434
mov rcx, rax
call fcn.14000bef4
int3
mov eax, dword [rbp - 0x59]
or r8, 0xffffffffffffffff
lea r9, [0x14003dd5c]
lea edx, [r8 + 7]
lea rcx, [rbp + 0x37]
mov dword [rsp + 0x20], eax
call fcn.14001740c
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 0x14000c153
mov ecx, socket
call fcn.14000c434
mov rcx, rax
call fcn.14000bef4
int3
mov rcx, rbx
call fcn.14000a268
test rdi, rdi
je 0x14000c273
and dword [rbp - 0x49], 0
lea rax, [0x14000bf84]
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, [0x14003ddd8]
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, [0x14000bf64]
xor edx, edx
mov rcx, rax
mov r8d, 0x4e20
mov rbx, rax
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
jne 0x14000c21e
lea ecx, [rax + 0x15]
call fcn.14000c434
mov rcx, rax
call fcn.14000bef4
int3
call fcn.14000bdf4
mov rcx, rdi
call fcn.14000be34
mov rcx, qword [0x140056688]
mov r9d, 8
mov r8d, 0x401
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
jmp 0x14000c25d
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 0x14000c249
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400130b0
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c624
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 0x14000c657
addsd xmm0, qword [0x140030590]
divsd xmm0, qword [0x140030588]
call fcn.1400174c0
movsd xmm2, qword [0x140030580]
xor eax, eax
movapd xmm1, xmm0
movapd xmm6, xmm0
mulsd xmm1, qword [0x140030578]
comisd xmm1, xmm2
jbe 0x14000c69b
subsd xmm1, xmm2
comisd xmm1, xmm2
jae 0x14000c69b
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.140013614
mov r11, rax
test rax, rax
je 0x14000c7da
xor edx, edx
lea r10, [0x140000000]
test rbx, rbx
je 0x14000c789
mov r9, rax
movsxd rax, edx
cmp rax, rbx
jae 0x14000c6e8
movzx ecx, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000c6ea
xor ecx, ecx
movsxd rax, edx
cmp rax, rbx
jae 0x14000c6fd
movzx r8d, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000c700
xor r8d, r8d
movsxd rax, edx
cmp rax, rbx
jae 0x14000c712
movzx eax, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000c714
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 + 0x3f550]
mov word [r9], ax
add r9, rsi
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, word [r10 + rax*2 + 0x3f550]
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 + 0x3f550]
mov word [r9], ax
movzx eax, word [r10 + rcx*2 + 0x3f550]
add r9, rsi
mov word [r9], ax
movsxd rax, edx
add r9, rsi
cmp rax, rbx
jb 0x14000c6d6
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rbx, rax
mov edx, dword [r10 + rbx*4 + 0x3f5d0]
test edx, edx
jle 0x14000c7d7
mulsd xmm6, qword [0x140030570]
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 0x14000c7c7
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 0x14000cb0c
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, [0x14003f5e8]
movsxd rdi, r8d
call fcn.140016134
xor ebx, ebx
mov r12, rax
test rax, rax
je 0x14000cb7e
mov rcx, rsi
call fcn.14000ca1c
mov r8, rdi
mov r9, r12
mov rcx, rax
mov edx, 1
mov rsi, rax
call fcn.140017760
mov rcx, r12
mov rbp, rax
call fcn.140015f1c
test rsi, rsi
je 0x14000cb77
mov rcx, rsi
call fcn.140013ae8
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 0x14000d7fc
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 0x14000d85f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d873
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d873
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 0x14000d878
cmp dword [rcx + 8], 0
je 0x14000d873
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000d878
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000d888
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 0x14000d8ae
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000d7fc
jmp 0x14000d915
cmp byte [0x1400578e8], 0
jne 0x14000d8f2
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d8e2
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400578e0], rax
jmp 0x14000d8e9
mov rax, qword [0x1400578e0]
mov byte [0x1400578e8], 1
jmp 0x14000d8f9
mov rax, qword [0x1400578e0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000d90f
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000d915
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000dfe8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x450
mov rax, qword [0x140040b80]
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.1400139f0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000e088
cmp eax, 0x104
ja 0x14000e088
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], si
call fcn.1400139f0
lea r8, [rsp + 0x20]
lea rdx, [0x140030eb8]
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 0x14000e08a
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400130b0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rsi
ret

Function at 0x14000e0b8
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x58
test rcx, rcx
jne 0x14000e0c5
xor eax, eax
jmp 0x14000e115
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 0x14000e128
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
test rdx, rdx
jne 0x14000e135
xor eax, eax
jmp 0x14000e192
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 0x14000e588
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.140013990
sub rsp, rax
mov rax, qword [0x140040b80]
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.1400139f0
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
lea rcx, [rsp + 0x40]
mov r9, rbx
mov edx, 0x400
call fcn.140014bb0
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 0x14000e62e
cmp eax, 2
sete sil
jmp 0x14000e693
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x740]
lea rdx, [0x140030644]
mov dword [rsp + 0x38], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000e667
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000e695
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 0x14000e68d
add r12, 2
test ecx, ecx
jne 0x14000e677
test eax, eax
setne sil
mov eax, esi
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.1400130b0
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 0x14000e948
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, [0x1400316b0]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
jns 0x14000e9a7
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.140010914
xor edx, edx
mov ecx, ebx
call fcn.14002ef60
nop
jmp 0x14000e9b2
test ebx, ebx
jns 0x14000ea33
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 0x14000e9eb
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.140010914
xor edx, edx
mov ecx, ebx
call fcn.14002ef60
nop
jmp 0x14000e9f6
test ebx, ebx
jns 0x14000ea33
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 0x14000ea2d
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.140010914
xor edx, edx
mov ecx, ebx
call fcn.14002ef60
nop
jmp 0x14000ea33
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x14000fa18
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r12, edx
mov rdi, 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 esi, eax
test eax, eax
jns 0x14000fa88
mov edx, eax
lea rcx, str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.140010914
xor edx, edx
mov ecx, esi
call fcn.14002ef60
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400102a0
mov rax, qword [rax]
test rax, rax
je 0x14000faa4
mov r8, qword [rax]
jmp 0x14000faa7
mov r8, rbx
mov rdx, r12
mov r9d, 0x104
mov rcx, rdi
call fcn.140013b28
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x14000faf8
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x14000faf8
test rdi, rdi
je 0x14000faf8
cmp qword [rdi], rbx
je 0x14000fae1
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000faef
call fcn.140017c68
mov rcx, rdi
call fcn.140017af0
nop
jmp 0x14000fb00
test esi, esi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400130b0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r12
pop rdi
pop rsi
ret
Function at 0x140010714
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.140013990
sub rsp, rax
mov rax, qword [0x140040b80]
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.1400139f0
or r14, 0xffffffffffffffff
lea rcx, [rbp + 0x780]
mov r8, r14
mov r9, rsi
mov edx, 0x400
mov qword [rsp + 0x20], rdi
call fcn.140019dd4
test eax, eax
jns 0x14001079f
mov word [rbp + 0xf7e], r13w
xor edx, edx
lea rcx, [rsp + 0x42]
mov word [rsp + 0x40], r13w
lea r8d, [rdx + 0x3e]
call fcn.1400139f0
mov edi, 0x20
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.140010654
lea r8, [0x14003153c]
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.14001868c
lea rcx, [rbp - 0x7e]
mov r8, rbx
xor edx, edx
mov word [rbp - 0x80], r13w
call fcn.1400139f0
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 6
jbe 0x14001081a
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 0x14001081d
mov edx, r13d
lea rdi, [rsp + 0x40]
mov rcx, r14
lea rbx, [0x14003154c]
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.140014bd4
test eax, eax
jns 0x1400108ae
mov rdx, r13
lea rax, [0x1400316a8]
movzx eax, word [rdx + rax]
add rdx, 2
mov word [rbp + rdx + 0x774], ax
test ax, ax
jne 0x140010892
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
mov r8, r12
call fcn.140013e70
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.1400130b0
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 0x1400109cc
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 0x140010a0c
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.140013990
sub rsp, rax
mov rax, qword [0x140040b80]
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.1400139f0
lea rcx, [rbp + 0xf62]
mov r8d, r13d
xor edx, edx
mov word [rbp + 0xf60], si
call fcn.1400139f0
lea rax, [rsp + 0x48]
lea rdx, [0x1400318e0]
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 0x140010bdf
xor edx, edx
jmp 0x140010bae
lea rax, [rsp + 0x60]
lea r9, [0x140031950]
lea r8, [0x1400319a8]
lea rcx, [rbp + 0xf60]
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.140014bb0
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 0x140010ba5
lea rcx, [rbp + 0x1f62]
mov r8, r13
xor edx, edx
mov word [rbp + 0x1f60], si
call fcn.1400139f0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, [0x140031858]
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 0x140010ba5
cmp dword [rsp + 0x40], esi
jbe 0x140010ba5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2f60]
lea rdx, [0x1400318c8]
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 0x140010ac3
lea rdx, [rbp + 0x2f60]
mov rcx, rbx
call fcn.1400102a0
mov rax, rbx
mov rcx, qword [rbp + 0x3f60]
xor rcx, rsp
call fcn.1400130b0
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 0x140011530
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x140057910], ebx
je 0x14001155d
mov eax, dword [0x14005790c]
jmp 0x1400115a8
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
call fcn.1400139f0
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 0x140011599
cmp dword [rsp + 0x24], 6
jb 0x140011599
mov ebx, r11d
mov dword [0x14005790c], ebx
mov dword [0x140057910], r11d
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400130b0
add rsp, 0x150
pop rbx
ret

Function at 0x1400115d0
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.140013990
sub rsp, rax
mov rax, qword [0x140040b80]
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.1400139f0
lea rcx, [rbp + 0xf62]
mov r8d, r14d
xor edx, edx
mov word [rbp + 0xf60], bx
call fcn.1400139f0
lea rax, [rsp + 0x48]
lea rdx, [0x140031fd0]
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 0x140011799
xor edx, edx
jmp 0x140011768
lea rax, [rsp + 0x60]
lea r9, [0x140032030]
lea r8, [0x140031fb8]
lea rcx, [rbp + 0xf60]
mov edx, 0x800
mov qword [rsp + 0x20], rax
call fcn.140014bb0
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 0x14001175c
lea rcx, [rbp + 0x1f62]
mov r8, r14
xor edx, edx
mov word [rbp + 0x1f60], bx
call fcn.1400139f0
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 0x14001175c
cmp dword [rsp + 0x40], ebx
jbe 0x14001175c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, [0x140032088]
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 0x14001167c
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.1400130b0
mov rbx, qword [rsp + 0x30b0]
add rsp, 0x3070
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret