joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010f6e0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x8b0
mov qword [rsp + 0x898], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x8a8], rax
mov dword [rsp + 0x30], 5
mov rax, qword [rsp + 0x8c0]
cmp dword [rax + 0x220], 0
je 0x14010f961
cmp dword [rsp + 0x30], 5
jge 0x14010f747
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14010f713
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x2d0
call fcn.140010210
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x298
call fcn.14001e850
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
call fcn.140081d08
nop
cmp qword [rsp + 0x60], 0
je 0x14010f7c2
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x298
lea r9, [rsp + 0x6c]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call fcn.14001bd40
mov edx, dword [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.14000ec20
jmp 0x14010f787
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x2d0
mov rax, qword [rsp + 0x8c0]
mov rax, qword [rax + 0x2d0]
call qword [rax + 0x28]
mov dword [rsp + 0x70], 0
jmp 0x14010f7f8
mov eax, dword [rsp + 0x70]
add eax, 1
mov dword [rsp + 0x70], eax
movsxd rbx, dword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140014cc0
cmp rbx, rax
jge 0x14010f952
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x880], rax
movsxd rdx, dword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14000eee0
mov eax, dword [rax]
mov dword [rsp + 0x888], eax
mov ecx, dword [rsp + 0x888]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x890]
call fcn.140010530
mov qword [rsp + 0x8a0], rax
mov rcx, qword [rsp + 0x8a0]
call fcn.1400105c0
mov r8, rax
lea rdx, [0x140221d30]
lea rcx, [rsp + 0x80]
call fcn.1400a9064
lea rcx, [rsp + 0x890]
call fcn.140002e70
lea rcx, [0x1403ab600]
call fcn.1400216d0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, eax
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x8c0]
call fcn.1400d8e50
mov dword [rsp + 0x88c], eax
mov rcx, qword [rsp + 0x880]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x2d0
call fcn.140010210
movsxd rdx, dword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14000eee0
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x298
mov r8d, dword [rsp + 0x88c]
mov edx, dword [rax]
call fcn.14001bd10
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x2d0
mov rax, qword [rsp + 0x8c0]
mov rax, qword [rax + 0x2d0]
call qword [rax + 0x28]
jmp 0x14010f7ed
lea rcx, [rsp + 0x38]
call fcn.140081d28
jmp 0x14010f713
mov rcx, qword [rsp + 0x8a8]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x8b0
pop rbx
ret
Function at 0x140110440
Capabilities:
Monitor local ipv4 address changes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x140110522
mov qword [rsp + 0x28], 0
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call sub.IPHLPAPI.DLL_NotifyAddrChange
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401104b2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1401104b2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, [0x140221cc8]
mov ecx, 1
call fcn.1400dc610
jmp 0x140110522
mov dword [rsp + 0x20], 0x102
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401104e8
cmp dword [rsp + 0x20], 0x102
jne 0x1401104e8
mov edx, 0x3e8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
jmp 0x1401104ba
cmp dword [rsp + 0x20], 0
jne 0x140110512
mov rax, qword [rsp + 0x70]
add rax, 0x378
mov ecx, 1
xchg dword [rax], ecx
lea rdx, str.IP_changed_notification
mov ecx, 1
call fcn.1400dc610
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x140110449
add rsp, 0x68
ret
Function at 0x140116880
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2088
call fcn.1401d4c90
sub rsp, rax
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x2030]
call fcn.1400a8080
mov r8d, 0x2000
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400a8080
mov rdx, qword [rsp + 0x2090]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
cdqe
movzx eax, word [rsp + rax*2 + 0x30]
cmp eax, 0x5c
jne 0x140116915
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
movsxd rcx, eax
xor eax, eax
mov word [rsp + rcx*2 + 0x30], ax
mov eax, 0x610
mov word [rsp + 0x2050], ax
mov qword [rsp + 0x2058], 0
mov qword [rsp + 0x2030], 0
mov qword [rsp + 0x2060], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x2040], rax
mov rax, qword [rsp + 0x2098]
mov qword [rsp + 0x2048], rax
mov dword [rsp + 0x2038], 2
lea rcx, [rsp + 0x2030]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x14011698d
mov dword [rsp + 0x2068], 1
jmp 0x140116998
mov dword [rsp + 0x2068], 0
mov eax, dword [rsp + 0x2068]
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x2088
ret
Function at 0x140117270
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xce0
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0xcd0], rax
mov rcx, qword [rsp + 0xcf0]
call fcn.140116d00
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0xcf0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401172cf
xor eax, eax
jmp 0x140117472
movzx eax, word [0x140221ea4]
mov word [rsp + 0x90], ax
lea rdi, [rsp + 0x92]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x4c0], 0x3fff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x4b8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x4bc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x84], 0
je 0x140117462
mov edx, dword [rsp + 0x84]
lea rcx, [0x140222548]
call fcn.1400ac834
mov dword [rsp + 0x6c], 0
jmp 0x1401173c4
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x6c], eax
jae 0x140117462
mov dword [rsp + 0x68], 0xff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x2b0]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x14011745d
lea r9, [rsp + 0x2b0]
mov r8, qword [rsp + 0xcf0]
lea rdx, [0x140222560]
lea rcx, [rsp + 0x4d0]
call fcn.1400a9064
lea rcx, [rsp + 0x4d0]
call fcn.140117270
jmp 0x1401173b9
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0xcd0]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0xce0
pop rdi
ret
Function at 0x140117930
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xce0
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0xcd0], rax
mov rcx, qword [rsp + 0xcf0]
call fcn.140117270
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0xcf0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14011798d
jmp 0x140117b3e
movzx eax, word [0x140221eb4]
mov word [rsp + 0x90], ax
lea rdi, [rsp + 0x92]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x4c0], 0x3fff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x4b8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x4bc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x84], 0
je 0x140117b1e
mov edx, dword [rsp + 0x84]
lea rcx, [0x140222598]
call fcn.1400ac834
mov dword [rsp + 0x6c], 0
jmp 0x140117a82
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x6c], eax
jae 0x140117b1e
mov dword [rsp + 0x68], 0xff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x2b0]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x140117b19
lea r9, [rsp + 0x2b0]
mov r8, qword [rsp + 0xcf0]
lea rdx, [0x1402225b0]
lea rcx, [rsp + 0x4d0]
call fcn.1400a9064
lea rcx, [rsp + 0x4d0]
call fcn.140117930
jmp 0x140117a77
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0xcf0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0xcd0]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0xce0
pop rdi
ret
Function at 0x14011be40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2048
call fcn.1401d4c90
sub rsp, rax
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x2038], rax
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
and eax, 0x10000
test eax, eax
je 0x14011bece
lea rax, [rsp + 0x2070]
mov qword [rsp + 0x2030], rax
mov r9, qword [rsp + 0x2030]
mov r8, qword [rsp + 0x2068]
mov edx, 0x2000
lea rcx, [rsp + 0x30]
call fcn.1400ad7f8
mov qword [rsp + 0x2030], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x2038]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x2048
ret
Function at 0x140133220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.14000edf0
lea r8, [0x140231e80]
lea rdx, [0x140231e88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140133256
xor eax, eax
jmp 0x14013328a
call fcn.14000edf0
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r8d, 0x200
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400a8d30
mov eax, 1
add rsp, 0x38
ret
Function at 0x140138cf0
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x890
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rax, qword [rsp + 0x8a0]
cmp dword [rax + 0x220], 0
jne 0x140138d4a
mov r8, qword [rsp + 0x8b0]
mov edx, dword [rsp + 0x8a8]
mov rcx, qword [rsp + 0x8a0]
call fcn.140136610
jmp 0x140138fbb
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140231e90]
lea rcx, [rsp + 0x830]
call fcn.1400010b0
mov qword [rsp + 0x858], rax
mov rcx, qword [rsp + 0x858]
call fcn.140023510
mov r9, rax
mov r8d, 1
lea rdx, [0x140231ea8]
lea rcx, [0x140231ec8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0x8a0]
mov dword [rax + 0x4d8], edx
lea rcx, [rsp + 0x830]
call fcn.140001490
mov r8, qword [rsp + 0x8b0]
mov edx, dword [rsp + 0x8a8]
mov rcx, qword [rsp + 0x8a0]
call fcn.1400e3c40
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140231ed8]
lea rcx, [rsp + 0x838]
call fcn.1400010b0
mov qword [rsp + 0x860], rax
mov rcx, qword [rsp + 0x860]
call fcn.140023510
mov r9, rax
mov r8d, 1
lea rdx, [0x140231ef0]
lea rcx, [0x140231f10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0x8a0]
mov dword [rax + 0x234], edx
lea rcx, [rsp + 0x838]
call fcn.140001490
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140231f20]
lea rcx, [rsp + 0x840]
call fcn.1400010b0
mov qword [rsp + 0x868], rax
mov rcx, qword [rsp + 0x868]
call fcn.140023510
mov r9, rax
mov r8d, 1
lea rdx, [0x140231f38]
lea rcx, [0x140231f58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0x8a0]
mov dword [rax + 0x470], edx
lea rcx, [rsp + 0x840]
call fcn.140001490
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140231f68]
lea rcx, [rsp + 0x848]
call fcn.1400010b0
mov qword [rsp + 0x870], rax
mov rcx, qword [rsp + 0x870]
call fcn.140023510
mov r9, rax
mov r8d, 5
lea rdx, [0x140231f80]
lea rcx, [0x140231fa0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0x8a0]
mov dword [rax + 0x230], edx
lea rcx, [rsp + 0x848]
call fcn.140001490
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140231fb0]
lea rcx, [rsp + 0x850]
call fcn.1400010b0
mov qword [rsp + 0x878], rax
mov rcx, qword [rsp + 0x878]
call fcn.140023510
mov r9, rax
xor r8d, r8d
lea rdx, [0x140231fc8]
lea rcx, [0x140231fd8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0x8a0]
mov dword [rax + 0x474], edx
lea rcx, [rsp + 0x850]
call fcn.140001490
mov eax, 1
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x890
pop rdi
ret
Function at 0x140143c60
Capabilities:
Get disk size

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x868
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x850], rax
movzx r8d, word [rsp + 0x870]
lea rdx, [0x1402345d8]
lea rcx, [rsp + 0x50]
call fcn.1400a9064
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x140143cc4
xor eax, eax
jmp 0x140143ccd
mov eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x868
ret
Function at 0x140146ec0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1400814cc
mov rdx, qword [rsp + 0x70]
add rdx, 0x2b8
mov rcx, qword [rsp + 0x70]
call fcn.1400ef4b0
lea rdx, [0x1402348e0]
lea rcx, [rsp + 0x40]
call fcn.1400eeb90
mov qword [rsp + 0x50], rax
lea rdx, [0x1402348d0]
mov rcx, qword [rsp + 0x50]
call fcn.140006d90
mov byte [rsp + 0x38], al
lea rcx, [rsp + 0x40]
call fcn.140001490
movzx r11d, byte [rsp + 0x38]
test r11d, r11d
je 0x140146f8d
mov edx, 0x50c
mov rcx, qword [rsp + 0x70]
call fcn.1400781e4
xor edx, edx
mov rcx, rax
call fcn.140078478
mov edx, 0x514
mov rcx, qword [rsp + 0x70]
call fcn.1400781e4
xor edx, edx
mov rcx, rax
call fcn.140078478
mov edx, 0x8082
mov rcx, qword [rsp + 0x70]
call fcn.1400781e4
xor edx, edx
mov rcx, rax
call fcn.140078478
mov edx, 0x50b
mov rcx, qword [rsp + 0x70]
call fcn.1400781e4
xor edx, edx
mov rcx, rax
call fcn.140078478
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
call fcn.140016d40
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
je 0x140147047
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x140147047
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rcx*8]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140147037
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140010530
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400105c0
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
mov rdx, rax
call fcn.140016df0
lea rcx, [rsp + 0x48]
call fcn.140002e70
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
jmp 0x140146fb3
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
lea rdx, [0x1402348f0]
call fcn.140016df0
mov rcx, qword [rsp + 0x70]
add rcx, 0x1f8
call fcn.1400eec80
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.14007bfac
mov eax, 1
add rsp, 0x68
ret
Function at 0x140147470
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.1400020d0
nop
mov r8d, 1
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140006a60
mov qword [rsp + 0x98], rax
lea rdx, [0x140234b2c]
mov rcx, qword [rsp + 0x98]
call fcn.140006d50
mov byte [rsp + 0x60], al
lea rcx, [rsp + 0x68]
call fcn.140001490
movzx r11d, byte [rsp + 0x60]
test r11d, r11d
je 0x14014753a
lea rcx, [rsp + 0x50]
call fcn.140001a40
mov r8d, eax
sub r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140006b20
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x50]
call fcn.140002d80
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
lea rcx, [rsp + 0x20]
call fcn.140076008
nop
lea rcx, [rsp + 0x50]
call fcn.140023510
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14007610c
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x20]
call fcn.140075c40
cmp dword [rsp + 0x5c], 0
je 0x14014759a
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x20]
call fcn.140076064
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0x78]
jmp 0x14014769a
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x50]
call fcn.1400068a0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xffffffff
jne 0x1401475d9
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x20]
call fcn.140076064
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0x7c]
jmp 0x14014769a
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140006b20
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x50]
call fcn.140002d80
nop
lea rcx, [rsp + 0x80]
call fcn.140001490
lea rcx, [rsp + 0x50]
call fcn.140023510
mov rcx, rax
call fcn.140147470
test eax, eax
je 0x140147673
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x88], eax
lea rcx, [rsp + 0x20]
call fcn.140076064
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0x88]
jmp 0x14014769a
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0x20]
call fcn.140076064
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0x8c]
add rsp, 0xc8
ret
Function at 0x1401594c0
Capabilities:
Enumerate process modules
Enumerate processes
Terminate process

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x4c8
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x270], 0xffffffffffffffff
jne 0x14015950a
jmp 0x140159606
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call sub.KERNEL32.dll_Process32FirstW
mov dword [rsp + 0x278], eax
cmp dword [rsp + 0x278], 0
je 0x1401595f8
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x280], rax
cmp qword [rsp + 0x280], 0
je 0x1401595da
lea r9, [rsp + 0x4a0]
mov r8d, 8
lea rdx, [rsp + 0x4a8]
mov rcx, qword [rsp + 0x280]
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x1401595cc
mov r9d, 0x208
lea r8, [rsp + 0x290]
mov rdx, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x280]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x1401595cc
movzx ecx, word [rsp + 0x290]
movzx eax, word [rsp + 0x4d0]
cmp ecx, eax
jne 0x1401595cc
xor edx, edx
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call sub.KERNEL32.dll_Process32NextW
mov dword [rsp + 0x278], eax
jmp 0x140159523
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x4c8
ret
Function at 0x1401601b0
Capabilities:
Get disk size

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x708
mov qword [rsp + 0x6e0], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x710]
add rcx, 0x410
call fcn.140016d40
mov edx, 0x53e
mov rcx, qword [rsp + 0x710]
call fcn.1400781e4
mov edx, dword [rsp + 0x718]
mov rcx, rax
call fcn.1400784d8
cmp dword [rsp + 0x718], 0
jne 0x140160215
mov eax, 1
jmp 0x1401604d5
lea rcx, [rsp + 0x20]
call fcn.14000eff0
nop
mov rax, qword [rsp + 0x710]
mov eax, dword [rax + 0x210]
mov dword [rsp + 0x1b8], eax
lea rcx, [rsp + 0x20]
call fcn.1401cf9e0
lea rcx, [rsp + 0x360]
call fcn.14000eff0
nop
lea rax, [rsp + 0x6c0]
mov qword [rsp + 0x6c8], rax
lea rdx, [0x140239198]
mov rcx, qword [rsp + 0x6c8]
call fcn.1400020d0
mov qword [rsp + 0x6e8], rax
mov rdx, qword [rsp + 0x6e8]
lea rcx, [rsp + 0x360]
call fcn.1401d1360
test eax, eax
je 0x140160481
lea rdx, [rsp + 0x500]
lea r8, [0x1402385b4]
lea rcx, [rsp + 0x6d0]
call fcn.1400010b0
mov qword [rsp + 0x6f0], rax
mov rcx, qword [rsp + 0x6f0]
call fcn.140023510
xor r9d, r9d
lea r8, [rsp + 0x6a8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea rcx, [rsp + 0x6d0]
call fcn.140001490
xor edx, edx
mov rax, qword [rsp + 0x6a8]
mov ecx, 0x100000
div rcx
mov dword [rsp + 0x6a0], eax
movd xmm0, dword [rsp + 0x6a0]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x14025c468]
cvttsd2si rax, xmm0
mov dword [rsp + 0x6a0], eax
mov dword [rsp + 0x6b0], 0
jmp 0x140160342
mov eax, dword [rsp + 0x6b0]
add eax, 1
mov dword [rsp + 0x6b0], eax
cmp dword [rsp + 0x6b0], 4
jae 0x140160429
lea rcx, [rsp + 0x6b8]
call fcn.140002db0
nop
mov eax, dword [rsp + 0x6a0]
cdq
mov ecx, 3
idiv ecx
imul eax, dword [rsp + 0x6b0]
xor edx, edx
mov ecx, 0x100
div ecx
mov r8d, eax
imul r8d, r8d, 0x100
lea rdx, [0x1402391a0]
lea rcx, [rsp + 0x6b8]
call fcn.140002c40
cmp dword [rsp + 0x6b0], 0
jbe 0x1401603d3
lea rdx, [0x1402385c4]
lea rcx, [rsp + 0x6b8]
call fcn.140006d50
movzx eax, al
test eax, eax
je 0x1401603d3
lea rcx, [rsp + 0x6b8]
call fcn.140001490
jmp 0x140160331
lea rcx, [rsp + 0x6b8]
call fcn.140023510
mov rcx, qword [rsp + 0x710]
add rcx, 0x410
mov r8, rax
mov edx, dword [rsp + 0x6b0]
call fcn.140016940
cmp dword [rsp + 0x6a0], 0
jg 0x140160417
lea rcx, [rsp + 0x6b8]
call fcn.140001490
jmp 0x140160429
lea rcx, [rsp + 0x6b8]
call fcn.140001490
jmp 0x140160331
lea rcx, [rsp + 0x1d8]
call fcn.140006e20
movzx eax, al
test eax, eax
je 0x14016044e
lea rax, [0x14023861c]
mov qword [rsp + 0x6f8], rax
jmp 0x140160463
lea rcx, [rsp + 0x1d8]
call fcn.140023510
mov qword [rsp + 0x6f8], rax
mov rcx, qword [rsp + 0x710]
add rcx, 0x610
mov rdx, qword [rsp + 0x6f8]
call fcn.1400020a0
jmp 0x14016049c
mov rcx, qword [rsp + 0x710]
add rcx, 0x610
lea rdx, [0x1402386bc]
call fcn.1400020a0
xor edx, edx
mov rcx, qword [rsp + 0x710]
call fcn.14007bfac
mov dword [rsp + 0x6d8], 1
lea rcx, [rsp + 0x360]
call fcn.140005db0
nop
lea rcx, [rsp + 0x20]
call fcn.140005db0
mov eax, dword [rsp + 0x6d8]
add rsp, 0x708
ret