joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140115a10
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 0x140115af2
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 0x140115a82
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x140115a82
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, [0x140228410]
mov ecx, 1
call fcn.1400dcf70
jmp 0x140115af2
mov dword [rsp + 0x20], 0x102
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x140115ab8
cmp dword [rsp + 0x20], 0x102
jne 0x140115ab8
mov edx, 0x3e8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
jmp 0x140115a8a
cmp dword [rsp + 0x20], 0
jne 0x140115ae2
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.1400dcf70
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x140115a19
add rsp, 0x68
ret
Function at 0x14011bd70
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x2088
call fcn.1401da720
sub rsp, rax
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x2030]
call fcn.1400a87c0
mov r8d, 0x2000
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400a87c0
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 0x14011be00
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, 0x410
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 qword [rsp + 0x2048], 0
mov dword [rsp + 0x2038], 3
lea rcx, [rsp + 0x2030]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x14011be74
mov dword [rsp + 0x2068], 1
jmp 0x14011be7f
mov dword [rsp + 0x2068], 0
mov eax, dword [rsp + 0x2068]
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x2088
ret

Function at 0x14011beb0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2088
call fcn.1401da720
sub rsp, rax
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x2030]
call fcn.1400a87c0
mov r8d, 0x2000
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400a87c0
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 0x14011bf45
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 0x14011bfbd
mov dword [rsp + 0x2068], 1
jmp 0x14011bfc8
mov dword [rsp + 0x2068], 0
mov eax, dword [rsp + 0x2068]
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x2088
ret
Function at 0x14011c8a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xce0
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0xcd0], rax
mov rcx, qword [rsp + 0xcf0]
call fcn.14011c330
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 0x14011c8ff
xor eax, eax
jmp 0x14011caa2
movzx eax, word [0x1402285ec]
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 0x14011ca92
mov edx, dword [rsp + 0x84]
lea rcx, [0x140228c78]
call fcn.1400acf78
mov dword [rsp + 0x6c], 0
jmp 0x14011c9f4
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x6c], eax
jae 0x14011ca92
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 0x14011ca8d
lea r9, [rsp + 0x2b0]
mov r8, qword [rsp + 0xcf0]
lea rdx, [0x140228c90]
lea rcx, [rsp + 0x4d0]
call fcn.1400a97a4
lea rcx, [rsp + 0x4d0]
call fcn.14011c8a0
jmp 0x14011c9e9
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.1400a8790
add rsp, 0xce0
pop rdi
ret
Function at 0x14011cf60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xce0
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0xcd0], rax
mov rcx, qword [rsp + 0xcf0]
call fcn.14011c8a0
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 0x14011cfbd
jmp 0x14011d16e
movzx eax, word [0x1402285fc]
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 0x14011d14e
mov edx, dword [rsp + 0x84]
lea rcx, [0x140228cc8]
call fcn.1400acf78
mov dword [rsp + 0x6c], 0
jmp 0x14011d0b2
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x6c], eax
jae 0x14011d14e
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 0x14011d149
lea r9, [rsp + 0x2b0]
mov r8, qword [rsp + 0xcf0]
lea rdx, [0x140228ce0]
lea rcx, [rsp + 0x4d0]
call fcn.1400a97a4
lea rcx, [rsp + 0x4d0]
call fcn.14011cf60
jmp 0x14011d0a7
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.1400a8790
add rsp, 0xce0
pop rdi
ret
Function at 0x1401224e0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov ecx, pe_nt_image_headers64
call fcn.140072250
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov ecx, pe_nt_image_headers64
call fcn.140072250
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov ecx, pe_nt_image_headers64
call fcn.140072250
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
call fcn.1400ab970
lea rdx, [0x1402371b0]
mov rcx, qword [rsp + 0x30]
call fcn.1400ab970
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call fcn.1400ab970
lea rdx, str.ccboot_multiboot
mov rcx, qword [rsp + 0x80]
call fcn.1400ae010
test eax, eax
jne 0x1401225a1
lea rdx, [0x1402371d0]
mov rcx, qword [rsp + 0x28]
call fcn.1400ab970
lea rdx, [0x14022f144]
mov rcx, qword [rsp + 0x80]
call fcn.14001eb10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401225f5
mov rcx, qword [rsp + 0x20]
add rcx, 1
call qword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x1401225f5
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
lea rdx, str.123456789012
mov rcx, qword [rsp + 0x28]
call fcn.1400ab970
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
mov eax, 1
jmp 0x140122627
add rsp, 0x68
ret

Function at 0x140123020
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.1401da720
sub rsp, rax
mov rax, qword [0x1402aa5c0]
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 0x1401230ae
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.1400adf08
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.1400a8790
add rsp, 0x2048
ret
Function at 0x1401399f0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x60]
add rcx, 0x508
call fcn.14000e350
mov rcx, qword [rsp + 0x60]
add rcx, 0x4d0
lea r8, [rsp + 0x28]
mov edx, dword [rsp + 0x68]
call fcn.14001d030
test eax, eax
jne 0x140139a69
mov rcx, qword [rsp + 0x60]
add rcx, 0x508
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
xor eax, eax
jmp 0x140139ae9
mov rcx, qword [rsp + 0x28]
add rcx, 0x48
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002e10
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov r8, qword [rsp + 0x60]
mov edx, eax
lea rcx, [0x1403b5ec0]
call fcn.1400d4c70
cdqe
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
call fcn.140002ea0
mov rcx, qword [rsp + 0x60]
add rcx, 0x508
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret

Function at 0x14013a0e0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
add rcx, 0x508
call fcn.14000e350
mov rcx, qword [rsp + 0x80]
add rcx, 0x4d0
call fcn.14001a070
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14013a21c
mov rcx, qword [rsp + 0x80]
add rcx, 0x4d0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call fcn.14001d270
mov rcx, qword [rsp + 0x30]
add rcx, 0x78
call fcn.140001a40
test eax, eax
je 0x14013a217
mov rcx, qword [rsp + 0x30]
add rcx, 0x48
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002e10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x80]
lea rcx, [0x1403b5ec0]
call fcn.14001b3a0
test eax, eax
jle 0x14013a1c9
mov dword [rsp + 0x60], 1
jmp 0x14013a1d1
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x38], al
lea rcx, [rsp + 0x40]
call fcn.140002ea0
movzx r11d, byte [rsp + 0x38]
test r11d, r11d
je 0x14013a217
mov rcx, qword [rsp + 0x80]
add rcx, 0x508
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
mov eax, 1
jmp 0x14013a23f
jmp 0x14013a11f
mov rcx, qword [rsp + 0x80]
add rcx, 0x508
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
xor eax, eax
add rsp, 0x78
ret
Function at 0x14013a250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.14000cf20
lea r8, [0x1402384a0]
lea rdx, [0x1402384a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14013a286
xor eax, eax
jmp 0x14013a2ba
call fcn.14000cf20
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.1400a9470
mov eax, 1
add rsp, 0x38
ret
Function at 0x14013ffb0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x70]
add rcx, 0x508
call fcn.14000e350
mov rcx, qword [rsp + 0x70]
add rcx, 0x4d0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x78]
call fcn.14001d030
test eax, eax
jne 0x14014008f
mov rcx, qword [rsp + 0x70]
add rcx, 0x508
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
add rcx, 0x508
call fcn.14000e350
mov rcx, qword [rsp + 0x70]
add rcx, 0x4d0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x78]
call fcn.14001d030
test eax, eax
jne 0x14014008f
mov rcx, qword [rsp + 0x70]
add rcx, 0x508
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
xor eax, eax
jmp 0x140140198
mov rcx, qword [rsp + 0x70]
add rcx, 0x508
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x20]
call fcn.14001b910
mov rcx, qword [rsp + 0x20]
add rcx, 0x48
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002e10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1403b5ec0]
call fcn.14001b3a0
test eax, eax
je 0x14014012b
cmp dword [rsp + 0x80], 0
jne 0x14014012b
mov dword [rsp + 0x58], 0
jmp 0x140140133
mov dword [rsp + 0x58], 1
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x140140156
and dword [rsp + 0x38], 0xfffffffe
lea rcx, [rsp + 0x30]
call fcn.140002ea0
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x140140189
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x20]
call fcn.14013f160
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x20]
call fcn.14013e5b0
mov rcx, qword [rsp + 0x20]
call fcn.14001b940
mov eax, 1
add rsp, 0x68
ret
Function at 0x140140450
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 [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rax, qword [rsp + 0x8a0]
cmp dword [rax + 0x220], 0
jne 0x1401404aa
mov r8, qword [rsp + 0x8b0]
mov edx, dword [rsp + 0x8a8]
mov rcx, qword [rsp + 0x8a0]
call fcn.14013f650
jmp 0x14014071b
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, [0x1402384c0]
lea rcx, [rsp + 0x830]
call fcn.1400010b0
mov qword [rsp + 0x858], rax
mov rcx, qword [rsp + 0x858]
call fcn.14000f8f0
mov r9, rax
mov r8d, 1
lea rdx, [0x1402384d8]
lea rcx, [0x1402384f8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0x8a0]
mov dword [rax + 0x4c4], 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.1400e2f90
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140238508]
lea rcx, [rsp + 0x838]
call fcn.1400010b0
mov qword [rsp + 0x860], rax
mov rcx, qword [rsp + 0x860]
call fcn.14000f8f0
mov r9, rax
mov r8d, 1
lea rdx, [0x140238520]
lea rcx, [0x140238540]
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, [0x140238550]
lea rcx, [rsp + 0x840]
call fcn.1400010b0
mov qword [rsp + 0x868], rax
mov rcx, qword [rsp + 0x868]
call fcn.14000f8f0
mov r9, rax
mov r8d, 1
lea rdx, [0x140238568]
lea rcx, [0x140238588]
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, [0x140238598]
lea rcx, [rsp + 0x848]
call fcn.1400010b0
mov qword [rsp + 0x870], rax
mov rcx, qword [rsp + 0x870]
call fcn.14000f8f0
mov r9, rax
mov r8d, 5
lea rdx, [0x1402385b0]
lea rcx, [0x1402385d0]
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, [0x1402385e0]
lea rcx, [rsp + 0x850]
call fcn.1400010b0
mov qword [rsp + 0x878], rax
mov rcx, qword [rsp + 0x878]
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
lea rdx, [0x1402385f8]
lea rcx, [0x140238608]
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.1400a8790
add rsp, 0x890
pop rdi
ret
Function at 0x14014cd90
Capabilities:
Get disk size

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x868
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x850], rax
movzx r8d, word [rsp + 0x870]
lea rdx, [0x14023ae58]
lea rcx, [rsp + 0x50]
call fcn.1400a97a4
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 0x14014cdf4
xor eax, eax
jmp 0x14014cdfd
mov eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x868
ret
Function at 0x14014ffd0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.140081d40
mov rdx, qword [rsp + 0x70]
add rdx, 0x2b8
mov rcx, qword [rsp + 0x70]
call fcn.1400efc40
lea rdx, [0x14023b170]
lea rcx, [rsp + 0x40]
call fcn.1400ef320
mov qword [rsp + 0x50], rax
lea rdx, [0x14023b160]
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 0x14015009d
mov edx, 0x50c
mov rcx, qword [rsp + 0x70]
call fcn.14007898c
xor edx, edx
mov rcx, rax
call fcn.140078c20
mov edx, 0x514
mov rcx, qword [rsp + 0x70]
call fcn.14007898c
xor edx, edx
mov rcx, rax
call fcn.140078c20
mov edx, 0x8082
mov rcx, qword [rsp + 0x70]
call fcn.14007898c
xor edx, edx
mov rcx, rax
call fcn.140078c20
mov edx, 0x50b
mov rcx, qword [rsp + 0x70]
call fcn.14007898c
xor edx, edx
mov rcx, rax
call fcn.140078c20
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
call fcn.140014f10
xor ecx, ecx
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
je 0x140150157
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x140150157
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.WSOCK32.dll_inet_ntoa]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140150147
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14000e700
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400118c0
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
mov rdx, rax
call fcn.140014fc0
lea rcx, [rsp + 0x48]
call fcn.140002ea0
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
jmp 0x1401500c3
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
lea rdx, [0x14023b180]
call fcn.140014fc0
mov rcx, qword [rsp + 0x70]
add rcx, 0x1f8
call fcn.1400ef410
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.14007c754
mov eax, 1
add rsp, 0x68
ret