joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140138c30
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 [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rax, qword [rsp + 0x8a0]
cmp dword [rax + 0x220], 0
jne 0x140138c8a
mov r8, qword [rsp + 0x8b0]
mov edx, dword [rsp + 0x8a8]
mov rcx, qword [rsp + 0x8a0]
call fcn.140136550
jmp 0x140138efb
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, [0x140232e90]
lea rcx, [rsp + 0x830]
call fcn.1400010b0
mov qword [rsp + 0x858], rax
mov rcx, qword [rsp + 0x858]
call fcn.1400012c0
mov r9, rax
mov r8d, 1
lea rdx, [0x140232ea8]
lea rcx, [0x140232ec8]
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.140001470
mov r8, qword [rsp + 0x8b0]
mov edx, dword [rsp + 0x8a8]
mov rcx, qword [rsp + 0x8a0]
call fcn.1400e3bd0
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140232ed8]
lea rcx, [rsp + 0x838]
call fcn.1400010b0
mov qword [rsp + 0x860], rax
mov rcx, qword [rsp + 0x860]
call fcn.1400012c0
mov r9, rax
mov r8d, 1
lea rdx, [0x140232ef0]
lea rcx, [0x140232f10]
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.140001470
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140232f20]
lea rcx, [rsp + 0x840]
call fcn.1400010b0
mov qword [rsp + 0x868], rax
mov rcx, qword [rsp + 0x868]
call fcn.1400012c0
mov r9, rax
mov r8d, 1
lea rdx, [0x140232f38]
lea rcx, [0x140232f58]
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.140001470
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140232f68]
lea rcx, [rsp + 0x848]
call fcn.1400010b0
mov qword [rsp + 0x870], rax
mov rcx, qword [rsp + 0x870]
call fcn.1400012c0
mov r9, rax
mov r8d, 5
lea rdx, [0x140232f80]
lea rcx, [0x140232fa0]
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.140001470
mov rdx, qword [rsp + 0x8a0]
add rdx, 0x228
lea r8, [0x140232fb0]
lea rcx, [rsp + 0x850]
call fcn.1400010b0
mov qword [rsp + 0x878], rax
mov rcx, qword [rsp + 0x878]
call fcn.1400012c0
mov r9, rax
xor r8d, r8d
lea rdx, [0x140232fc8]
lea rcx, [0x140232fd8]
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.140001470
mov eax, 1
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x890
pop rdi
ret
Function at 0x140143b90
Capabilities:
Get disk size

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x868
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x850], rax
movzx r8d, word [rsp + 0x870]
lea rdx, [0x1402355d8]
lea rcx, [rsp + 0x50]
call fcn.1400a9054
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 0x140143bf4
xor eax, eax
jmp 0x140143bfd
mov eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x868
ret
Function at 0x140146df0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1400815c4
mov rdx, qword [rsp + 0x70]
add rdx, 0x2b8
mov rcx, qword [rsp + 0x70]
call fcn.1400ef440
lea rdx, [0x1402358e0]
lea rcx, [rsp + 0x40]
call fcn.1400eeb20
mov qword [rsp + 0x50], rax
lea rdx, [0x1402358d0]
mov rcx, qword [rsp + 0x50]
call fcn.140006d30
mov byte [rsp + 0x38], al
lea rcx, [rsp + 0x40]
call fcn.140001470
movzx r11d, byte [rsp + 0x38]
test r11d, r11d
je 0x140146ebd
mov edx, 0x50c
mov rcx, qword [rsp + 0x70]
call fcn.14007820c
xor edx, edx
mov rcx, rax
call fcn.1400784a0
mov edx, 0x514
mov rcx, qword [rsp + 0x70]
call fcn.14007820c
xor edx, edx
mov rcx, rax
call fcn.1400784a0
mov edx, 0x8082
mov rcx, qword [rsp + 0x70]
call fcn.14007820c
xor edx, edx
mov rcx, rax
call fcn.1400784a0
mov edx, 0x50b
mov rcx, qword [rsp + 0x70]
call fcn.14007820c
xor edx, edx
mov rcx, rax
call fcn.1400784a0
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
call fcn.1400177e0
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 0x140146f77
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x140146f77
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 0x140146f67
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140010e20
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140010eb0
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
mov rdx, rax
call fcn.140017890
lea rcx, [rsp + 0x48]
call fcn.140002e10
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
jmp 0x140146ee3
mov rcx, qword [rsp + 0x70]
add rcx, 0x118
lea rdx, [0x1402358f0]
call fcn.140017890
mov rcx, qword [rsp + 0x70]
add rcx, 0x1f8
call fcn.1400eec10
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.14007bfdc
mov eax, 1
add rsp, 0x68
ret
Function at 0x1401473a0
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.140002090
nop
mov r8d, 1
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140006a00
mov qword [rsp + 0x98], rax
lea rdx, [0x140235b2c]
mov rcx, qword [rsp + 0x98]
call fcn.140006cf0
mov byte [rsp + 0x60], al
lea rcx, [rsp + 0x68]
call fcn.140001470
movzx r11d, byte [rsp + 0x60]
test r11d, r11d
je 0x14014746a
lea rcx, [rsp + 0x50]
call fcn.1400019f0
mov r8d, eax
sub r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140006ac0
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.140002d20
nop
lea rcx, [rsp + 0x70]
call fcn.140001470
lea rcx, [rsp + 0x20]
call fcn.140076030
nop
lea rcx, [rsp + 0x50]
call fcn.1400012c0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140076134
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x20]
call fcn.140075c68
cmp dword [rsp + 0x5c], 0
je 0x1401474ca
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x20]
call fcn.14007608c
nop
lea rcx, [rsp + 0x50]
call fcn.140001470
mov eax, dword [rsp + 0x78]
jmp 0x1401475ca
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x50]
call fcn.140006840
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xffffffff
jne 0x140147509
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x20]
call fcn.14007608c
nop
lea rcx, [rsp + 0x50]
call fcn.140001470
mov eax, dword [rsp + 0x7c]
jmp 0x1401475ca
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140006ac0
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.140002d20
nop
lea rcx, [rsp + 0x80]
call fcn.140001470
lea rcx, [rsp + 0x50]
call fcn.1400012c0
mov rcx, rax
call fcn.1401473a0
test eax, eax
je 0x1401475a3
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.14007608c
nop
lea rcx, [rsp + 0x50]
call fcn.140001470
mov eax, dword [rsp + 0x88]
jmp 0x1401475ca
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0x20]
call fcn.14007608c
nop
lea rcx, [rsp + 0x50]
call fcn.140001470
mov eax, dword [rsp + 0x8c]
add rsp, 0xc8
ret
Function at 0x1401593f0
Capabilities:
Enumerate process modules
Enumerate processes
Terminate process

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x4c8
mov rax, qword [0x1402a25c0]
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 0x14015943a
jmp 0x140159536
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 0x140159528
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 0x14015950a
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 0x1401594fc
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 0x1401594fc
movzx ecx, word [rsp + 0x290]
movzx eax, word [rsp + 0x4d0]
cmp ecx, eax
jne 0x1401594fc
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 0x140159453
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x4c8
ret
Function at 0x1401600e0
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.1400177e0
mov edx, 0x53e
mov rcx, qword [rsp + 0x710]
call fcn.14007820c
mov edx, dword [rsp + 0x718]
mov rcx, rax
call fcn.140078500
cmp dword [rsp + 0x718], 0
jne 0x140160145
mov eax, 1
jmp 0x140160405
lea rcx, [rsp + 0x20]
call fcn.14000f930
nop
mov rax, qword [rsp + 0x710]
mov eax, dword [rax + 0x210]
mov dword [rsp + 0x1b8], eax
lea rcx, [rsp + 0x20]
call fcn.1401d0980
lea rcx, [rsp + 0x360]
call fcn.14000f930
nop
lea rax, [rsp + 0x6c0]
mov qword [rsp + 0x6c8], rax
lea rdx, [0x14023a198]
mov rcx, qword [rsp + 0x6c8]
call fcn.140002090
mov qword [rsp + 0x6e8], rax
mov rdx, qword [rsp + 0x6e8]
lea rcx, [rsp + 0x360]
call fcn.1401d2300
test eax, eax
je 0x1401603b1
lea rdx, [rsp + 0x500]
lea r8, [0x1402395b4]
lea rcx, [rsp + 0x6d0]
call fcn.1400010b0
mov qword [rsp + 0x6f0], rax
mov rcx, qword [rsp + 0x6f0]
call fcn.1400012c0
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.140001470
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 [0x14025d228]
cvttsd2si rax, xmm0
mov dword [rsp + 0x6a0], eax
mov dword [rsp + 0x6b0], 0
jmp 0x140160272
mov eax, dword [rsp + 0x6b0]
add eax, 1
mov dword [rsp + 0x6b0], eax
cmp dword [rsp + 0x6b0], 4
jae 0x140160359
lea rcx, [rsp + 0x6b8]
call fcn.140002d50
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, [0x14023a1a0]
lea rcx, [rsp + 0x6b8]
call fcn.140002be0
cmp dword [rsp + 0x6b0], 0
jbe 0x140160303
lea rdx, [0x1402395c4]
lea rcx, [rsp + 0x6b8]
call fcn.140006cf0
movzx eax, al
test eax, eax
je 0x140160303
lea rcx, [rsp + 0x6b8]
call fcn.140001470
jmp 0x140160261
lea rcx, [rsp + 0x6b8]
call fcn.1400012c0
mov rcx, qword [rsp + 0x710]
add rcx, 0x410
mov r8, rax
mov edx, dword [rsp + 0x6b0]
call fcn.1400173f0
cmp dword [rsp + 0x6a0], 0
jg 0x140160347
lea rcx, [rsp + 0x6b8]
call fcn.140001470
jmp 0x140160359
lea rcx, [rsp + 0x6b8]
call fcn.140001470
jmp 0x140160261
lea rcx, [rsp + 0x1d8]
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x14016037e
lea rax, [0x14023961c]
mov qword [rsp + 0x6f8], rax
jmp 0x140160393
lea rcx, [rsp + 0x1d8]
call fcn.1400012c0
mov qword [rsp + 0x6f8], rax
mov rcx, qword [rsp + 0x710]
add rcx, 0x610
mov rdx, qword [rsp + 0x6f8]
call fcn.140002060
jmp 0x1401603cc
mov rcx, qword [rsp + 0x710]
add rcx, 0x610
lea rdx, [0x1402396bc]
call fcn.140002060
xor edx, edx
mov rcx, qword [rsp + 0x710]
call fcn.14007bfdc
mov dword [rsp + 0x6d8], 1
lea rcx, [rsp + 0x360]
call fcn.140005d50
nop
lea rcx, [rsp + 0x20]
call fcn.140005d50
mov eax, dword [rsp + 0x6d8]
add rsp, 0x708
ret
Function at 0x140162980
Capabilities:
Check if file exists
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x70]
call fcn.1400f4c50
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x20], eax
mov byte [rsp + 0x24], 0x43
jmp 0x1401629b8
movzx eax, byte [rsp + 0x24]
add al, 1
mov byte [rsp + 0x24], al
movsx eax, byte [rsp + 0x24]
cmp eax, 0x5a
jg 0x140162abc
movsx ecx, byte [rsp + 0x24]
sub ecx, 0x41
mov eax, 1
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x20]
and eax, ecx
test eax, eax
jne 0x1401629e3
jmp 0x1401629ad
lea rcx, [rsp + 0x28]
call fcn.140002d50
nop
movsx r8d, byte [rsp + 0x24]
lea rdx, [0x14023a350]
lea rcx, [rsp + 0x28]
call fcn.140002be0
lea r8, [0x1402398a4]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.1400010b0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140162a41
mov dword [rsp + 0x50], 1
jmp 0x140162a49
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x38]
call fcn.140001470
movzx r11d, byte [rsp + 0x30]
test r11d, r11d
je 0x140162a76
lea rcx, [rsp + 0x28]
call fcn.140001470
jmp 0x1401629ad
lea rcx, [rsp + 0x28]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x140162aad
lea rcx, [rsp + 0x28]
call fcn.1400012c0
mov rcx, qword [rsp + 0x70]
add rcx, 0x210
mov rdx, rax
call fcn.140017890
nop
lea rcx, [rsp + 0x28]
call fcn.140001470
jmp 0x1401629ad
mov rcx, qword [rsp + 0x70]
add rcx, 0x210
call fcn.1400178c0
test eax, eax
je 0x140162ae4
mov rcx, qword [rsp + 0x70]
add rcx, 0x210
xor edx, edx
call fcn.1400173c0
mov eax, 1
add rsp, 0x68
ret
Function at 0x140165490
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4b0
mov qword [rsp + 0x498], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
call fcn.14000f720
lea r8, [0x14023a680]
mov rdx, qword [rsp + 0x4c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x480], rax
cmp qword [rsp + 0x480], 0
jne 0x1401654f7
xor eax, eax
jmp 0x140165728
call fcn.14000f720
mov rdx, qword [rsp + 0x480]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
call fcn.14000f720
mov rdx, qword [rsp + 0x480]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x250], rax
cmp qword [rsp + 0x250], 0
jne 0x14016554a
xor eax, eax
jmp 0x140165728
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401655a0
lea r8, [0x14023a688]
lea rdx, str._sTemp
lea rcx, [rsp + 0x40]
call fcn.1400a9054
lea rcx, [rsp + 0x40]
call fcn.140004b80
lea rcx, [rsp + 0x40]
call fcn.1400a81f4
movzx eax, word [rsp + rax*2 + 0x3e]
cmp eax, 0x5c
jne 0x1401655c8
lea rcx, [rsp + 0x40]
call fcn.1400a81f4
mov rdx, rax
xor eax, eax
mov word [rsp + rdx*2 + 0x3e], ax
lea rcx, [rsp + 0x30]
call fcn.140002d50
nop
lea r8, [rsp + 0x40]
lea rdx, str._sexpand_resource.zip
lea rcx, [rsp + 0x30]
call fcn.140002be0
lea rcx, [rsp + 0x30]
call fcn.1400012c0
lea rdx, [0x14023a6d0]
mov rcx, rax
call fcn.1400a9d50
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140165630
mov dword [rsp + 0x488], 0
lea rcx, [rsp + 0x30]
call fcn.140001470
mov eax, dword [rsp + 0x488]
jmp 0x140165728
mov edx, dword [rsp + 0x20]
mov r9, qword [rsp + 0x28]
mov r8d, 1
mov rcx, qword [rsp + 0x250]
call fcn.1400ac434
mov rcx, qword [rsp + 0x28]
call fcn.1400a9ff0
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.140183940
nop
lea rcx, [rsp + 0x30]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x260]
call fcn.1401836f0
movzx eax, al
test eax, eax
je 0x1401656eb
xor r8d, r8d
mov rdx, qword [rsp + 0x4c8]
lea rcx, [rsp + 0x260]
call fcn.140183890
lea rcx, [rsp + 0x260]
call fcn.1401827c0
lea rcx, [rsp + 0x30]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x48c], 1
lea rcx, [rsp + 0x260]
call fcn.140182830
nop
lea rcx, [rsp + 0x30]
call fcn.140001470
mov eax, dword [rsp + 0x48c]
jmp 0x140165728
lea rcx, [rsp + 0x30]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x490], 0
lea rcx, [rsp + 0x260]
call fcn.140182830
nop
lea rcx, [rsp + 0x30]
call fcn.140001470
mov eax, dword [rsp + 0x490]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x4b0
pop rdi
ret
Function at 0x14016c6c0
Capabilities:
Manipulate boot configuration

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xd0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov edx, 1
mov rcx, qword [rsp + 0xe0]
call fcn.14007bfdc
lea rcx, [rsp + 0x20]
call fcn.140001000
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, [0x14023b570]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.1400010b0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400012c0
mov rbx, rax
mov rcx, qword [rsp + 0xe0]
add rcx, 0x210
call fcn.1400012c0
mov r9, rbx
mov r8, rax
lea rdx, [0x14023b588]
lea rcx, [0x14023b5a0]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x28]
call fcn.140001470
nop
lea rcx, [rsp + 0x20]
call fcn.140001470
lea rcx, [rsp + 0x30]
call fcn.140001000
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
lea r8, [0x14023b5c0]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.1400010b0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400012c0
mov rbx, rax
mov rcx, qword [rsp + 0xe0]
add rcx, 0x218
call fcn.1400012c0
mov r9, rbx
mov r8, rax
lea rdx, str.Read_RGB
lea rcx, [0x14023b5f0]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x38]
call fcn.140001470
nop
lea rcx, [rsp + 0x30]
call fcn.140001470
lea rcx, [rsp + 0x40]
call fcn.140001000
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea r8, [0x14023b610]
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.1400010b0
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400012c0
mov rbx, rax
mov rcx, qword [rsp + 0xe0]
add rcx, 0x220
call fcn.1400012c0
mov r9, rbx
mov r8, rax
lea rdx, [0x14023b628]
lea rcx, [0x14023b640]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x48]
call fcn.140001470
nop
lea rcx, [rsp + 0x40]
call fcn.140001470
lea rcx, [rsp + 0x50]
call fcn.140001000
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
lea r8, [0x14023b660]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x58]
call fcn.1400010b0
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400012c0
mov rbx, rax
mov rcx, qword [rsp + 0xe0]
add rcx, 0x228
call fcn.1400012c0
mov r9, rbx
mov r8, rax
lea rdx, str.Write_RGB
lea rcx, [0x14023b690]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x58]
call fcn.140001470
nop
lea rcx, [rsp + 0x50]
call fcn.140001470
mov rcx, qword [rsp + 0xe0]
call fcn.14008115c
add rsp, 0xd0
pop rbx
ret
Function at 0x14016dc30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov edx, 1
mov rcx, qword [rsp + 0x40]
call fcn.14007bfdc
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x14016d630]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret

Function at 0x14016dfa0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x60]
call fcn.1400f4c50
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 0x14016e0d1
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x14016e0d1
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rcx*8]
mov eax, dword [rax]
and eax, 0xffffff
or eax, 0x1000000
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140010e20
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140010eb0
mov rcx, qword [rsp + 0x60]
add rcx, 0x220
mov r8, rax
mov edx, dword [rsp + 0x20]
call fcn.1400173f0
lea rcx, [rsp + 0x30]
call fcn.140002e10
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rcx*8]
mov eax, dword [rax]
and eax, 0xffffff
or eax, 0xff000000
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140010e20
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140010eb0
mov rcx, qword [rsp + 0x60]
add rcx, 0x2c8
mov r8, rax
mov edx, dword [rsp + 0x20]
call fcn.1400173f0
lea rcx, [rsp + 0x38]
call fcn.140002e10
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
jmp 0x14016dfc8
cmp dword [rsp + 0x20], 0
jle 0x14016e0fe
mov rcx, qword [rsp + 0x60]
add rcx, 0x220
xor edx, edx
call fcn.1400173c0
mov rcx, qword [rsp + 0x60]
add rcx, 0x2c8
xor edx, edx
call fcn.1400173c0
mov eax, 1
add rsp, 0x58
ret
Function at 0x140170890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x24], 0
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [rsp + 0x40]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1401708d4
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x1401708d4
mov byte [rsp + 0x24], 1
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x25], al
mov rcx, qword [rsp + 0x40]
call fcn.140001470
mov al, byte [rsp + 0x25]
add rsp, 0x38
ret