joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e38d0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov edx, 5
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_listen]
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x220], 0
je 0x1400e3b5a
mov rdx, qword [rsp + 0x100]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x100]
call fcn.1400d7e70
test eax, eax
je 0x1400e3b55
mov dword [rsp + 0x50], reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x1400e397b
jmp 0x1400e3b5a
lea rcx, [rsp + 0x78]
call fcn.14004f1a0
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.1400a8d20
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x80], rdx
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x80], 0xffffffffffffffff
je 0x1400e3b1a
mov dword [rsp + 0xe0], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xe0]
mov r8d, 1
mov edx, 6
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0xc4], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xc4]
mov r8d, 8
mov edx, 0xffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0xb0], 0
lea rdi, [rsp + 0xb4]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rsp + 0xdc], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0xc8], 0
lea rdi, [rsp + 0xcc]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rsp + 0xa8], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0xd8], 0
mov dword [rsp + 0xb0], 1
mov dword [rsp + 0xb8], 0x1388
mov dword [rsp + 0xb4], 0x1388
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xdc]
lea r8, [rsp + 0xb0]
mov edx, 0x98000004
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [rsp + 0xc0], eax
lea rdx, [rsp + 0x78]
lea rcx, [0x1403ade90]
call fcn.1400d3cf0
cmp eax, 0xffffffff
jne 0x1400e3b4b
mov edx, 2
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, [rsp + 0x78]
call fcn.14004f200
jmp 0x1400e3909
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x208], 0xffffffffffffffff
je 0x1400e3bae
mov edx, 2
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdx, qword [rsp + 0x100]
mov qword [rdx + 0x208], 0xffffffffffffffff
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0xf0
pop rdi
ret
Function at 0x1400e5360
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r9, qword [rsp + 0x40]
mov r9, qword [r9 + 8]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.1400ac434
mov qword [rsp + 0x20], rax
add rsp, 0x38
ret

Function at 0x1400ea9a0
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jne 0x1400ea9df
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.14002e1b0
mov rax, qword [rsp + 0x70]
jmp 0x1400eab3a
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.1400e5420
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1400eaa2d
mov rcx, qword [rsp + 0x80]
call fcn.1400a9ff0
xor r8d, r8d
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
call fcn.14002e1b0
mov rax, qword [rsp + 0x70]
jmp 0x1400eab3a
mov qword [rsp + 0x30], 2
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
call qword [0x1402a5b68]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400eaa7f
mov rcx, qword [rsp + 0x80]
call fcn.1400a9ff0
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.14002e1b0
mov rax, qword [rsp + 0x70]
jmp 0x1400eab3a
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.1400ac7f4
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400a9ff0
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x48], rax
je 0x1400eaadd
mov rcx, qword [rsp + 0x50]
call qword [0x1402a5b70]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.14002e1b0
mov rax, qword [rsp + 0x70]
jmp 0x1400eab3a
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x90]
call fcn.1400e8720
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call fcn.1400e7d30
mov r9, rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400ea810
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400ebb80
Capabilities:
Check os version

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x48], 2
jne 0x1400ebbb4
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x20], 0
jmp 0x1400ebbed
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov eax, eax
and rax, 0xffff
movzx eax, ax
and rax, 0xff
movzx eax, al
cmp eax, 5
jg 0x1400ebbe1
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x20], 0x27
jmp 0x1400ebbed
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x20], 0x127
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
mov dword [rcx + 0x1c], eax
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 0x24], eax
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x58]
mov dword [rcx + 0x30], eax
cmp dword [rsp + 0x48], 4
je 0x1400ebc1f
cmp dword [rsp + 0x48], 1
jne 0x1400ebc2d
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x2c], 0
jmp 0x1400ebc4a
mov rcx, qword [rsp + 0x40]
mov eax, dword [reloc.WS2_32.dll_accept]
mov dword [rcx + 0x2c], eax
mov eax, dword [reloc.WS2_32.dll_accept]
add eax, 1
mov dword [reloc.WS2_32.dll_accept], eax
mov rdx, qword [rsp + 0x40]
add rdx, 0x18
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1400ebc80
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ebd77
mov rdx, qword [rsp + 0x70]
add rdx, 0x440
mov r8d, 0xf01ff
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400ebd5a
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400ebd2c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400ebd1d
cmp dword [rsp + 0x3c], 3
jne 0x1400ebd19
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400ebd1b
jmp 0x1400ebd1d
jmp 0x1400ebcf1
cmp dword [rsp + 0x3c], 1
je 0x1400ebd2c
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1400ebd45
mov dword [rsp + 0x58], 1
jmp 0x1400ebd4d
mov dword [rsp + 0x5c], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400ebd62
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rsp + 0x30], 1
jmp 0x1400ebd7f
mov dword [rsp + 0x30], 0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x30]
add rsp, 0x68
ret
Function at 0x1400ebda0
Capabilities:
Create service
Delete service
Persist via windows service
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x20e8
call fcn.1401d5c30
sub rsp, rax
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x20d0], rax
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x2090], rax
cmp qword [rsp + 0x2090], 0
je 0x1400ebeee
mov rdx, qword [rsp + 0x20f0]
add rdx, 0x440
mov r8d, 0xf01ff
mov rcx, qword [rsp + 0x2090]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x2098], rax
cmp qword [rsp + 0x2098], 0
je 0x1400ebec8
lea r8, [rsp + 0x20a8]
mov edx, 1
mov rcx, qword [rsp + 0x2098]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400ebe8e
lea rdx, [rsp + 0x20a8]
mov rcx, qword [rsp + 0x2098]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400ebe79
cmp dword [rsp + 0x20ac], 3
jne 0x1400ebe75
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400ebe77
jmp 0x1400ebe79
jmp 0x1400ebe44
cmp dword [rsp + 0x20ac], 1
je 0x1400ebe8e
mov dword [rsp + 0x20a0], 0
mov rcx, qword [rsp + 0x2098]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1400ebead
mov dword [rsp + 0x20c8], 1
jmp 0x1400ebeb8
mov dword [rsp + 0x20cc], 0
mov rcx, qword [rsp + 0x2098]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400ebed3
mov dword [rsp + 0x20a0], 1
mov rcx, qword [rsp + 0x2090]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rsp + 0x20a0], 1
jmp 0x1400ebef9
mov dword [rsp + 0x20a0], 0
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x2080], rax
cmp qword [rsp + 0x2080], 0
jne 0x1400ebf23
xor eax, eax
jmp 0x1400ec02f
mov r8d, 0x7d0
lea rdx, [rsp + 0x1080]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400ebf44
xor eax, eax
jmp 0x1400ec02f
lea r9, [0x140216e00]
lea r8, [rsp + 0x1080]
lea rdx, str.__s___s
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, qword [rsp + 0x20f0]
add r8, 0x40
mov rdx, qword [rsp + 0x20f0]
add rdx, 0x440
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9d, 0xf01ff
mov rcx, qword [rsp + 0x2080]
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0x2088], rax
cmp qword [rsp + 0x2088], 0
jne 0x1400ec00e
mov rcx, qword [rsp + 0x2080]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1400ec02f
mov rcx, qword [rsp + 0x2088]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x2080]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov rcx, qword [rsp + 0x20d0]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x20e8
ret
Function at 0x1400ed2f0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xa0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov eax, dword [rsp + 0xc0]
add eax, 1
mov ecx, eax
call fcn.140071aa8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xc0]
add eax, 1
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400a8070
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x48]
call fcn.140002d80
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.140002d80
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x78]
call fcn.140002e30
mov rbx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140002e30
mov r9, rbx
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.140002e10
nop
lea rcx, [rsp + 0x48]
call fcn.140002e10
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
jmp 0x1400ed402
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x34], eax
jge 0x1400ed4cf
lea rcx, [rsp + 0x38]
call fcn.140002d50
nop
movsxd rax, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
add rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400093b0
lea rcx, [rsp + 0x38]
call fcn.1400019f0
mov r11d, eax
mov eax, dword [rsp + 0x34]
add eax, r11d
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x38]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400dd020
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400012c0
mov rdx, rax
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rcx*2]
call fcn.1400a9460
lea rcx, [rsp + 0x58]
call fcn.140001470
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rcx*2]
call fcn.1400a81f4
mov rcx, rax
add rcx, 1
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.140001470
jmp 0x1400ed3f7
movsxd rdx, dword [rsp + 0x30]
xor ecx, ecx
mov rax, qword [rsp + 0xb8]
mov word [rax + rdx*2], cx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140071ab0
mov eax, dword [rsp + 0x30]
add rsp, 0xa0
pop rbx
ret
Function at 0x1400ed510
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x4c0
mov qword [rsp + 0x468], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x4b8], rax
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x508]
lea rcx, [rsp + 0x440]
call fcn.140002d80
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x478], rax
mov rdx, qword [rsp + 0x4f0]
lea rcx, [rsp + 0x448]
call fcn.1400d8950
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x488], rax
mov rdx, qword [rsp + 0x4e8]
lea rcx, [rsp + 0x450]
call fcn.1400d8950
mov qword [rsp + 0x490], rax
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x498], rax
mov rdx, qword [rsp + 0x4e0]
lea rcx, [rsp + 0x458]
call fcn.140002d80
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x4a8], rax
mov rcx, qword [rsp + 0x478]
call fcn.140002e30
mov rsi, rax
mov rcx, qword [rsp + 0x488]
call fcn.1400012c0
mov rbx, rax
mov rcx, qword [rsp + 0x498]
call fcn.1400012c0
mov rdi, rax
mov rcx, qword [rsp + 0x4a8]
call fcn.140002e30
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x40]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x458]
call fcn.140002e10
nop
lea rcx, [rsp + 0x450]
call fcn.140001470
nop
lea rcx, [rsp + 0x448]
call fcn.140001470
nop
lea rcx, [rsp + 0x440]
call fcn.140002e10
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x460]
call fcn.1400dd020
mov qword [rsp + 0x4b0], rax
mov edi, dword [rsp + 0x500]
mov rcx, qword [rsp + 0x4b0]
call fcn.1400012c0
mov r8, rdi
mov rdx, rax
mov rcx, qword [rsp + 0x4f8]
call fcn.1400a9218
lea rcx, [rsp + 0x460]
call fcn.140001470
mov rcx, qword [rsp + 0x4f8]
call fcn.1400a81f4
mov rcx, qword [rsp + 0x4b8]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x4c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400f19f0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8d0
mov qword [rsp + 0x878], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
cmp qword [rsp + 0x8e8], 0
je 0x1400f1a52
mov rax, qword [rsp + 0x8e8]
mov qword [rsp + 0x880], rax
jmp 0x1400f1a61
lea rax, str.800_518
mov qword [rsp + 0x880], rax
lea rcx, [rsp + 0x858]
call fcn.140001000
mov qword [rsp + 0x888], rax
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0x890], rax
lea r8, [0x1402176d4]
mov rdx, qword [rsp + 0x890]
lea rcx, [rsp + 0x860]
call fcn.1400010b0
mov qword [rsp + 0x898], rax
mov rax, qword [rsp + 0x898]
mov qword [rsp + 0x8a0], rax
call fcn.140010a50
mov r8, rax
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x868]
call fcn.1400010b0
mov qword [rsp + 0x8a8], rax
mov rax, qword [rsp + 0x8a8]
mov qword [rsp + 0x8b0], rax
lea r8, [0x140217fd8]
mov rdx, qword [rsp + 0x8b0]
lea rcx, [rsp + 0x870]
call fcn.1400010b0
mov qword [rsp + 0x8b8], rax
mov rcx, qword [rsp + 0x8b8]
call fcn.1400012c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x880]
lea rdx, str.MainWindow
lea rcx, [0x140218010]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x870]
call fcn.140001470
nop
lea rcx, [rsp + 0x868]
call fcn.140001470
nop
lea rcx, [rsp + 0x860]
call fcn.140001470
nop
lea rcx, [rsp + 0x858]
call fcn.140001470
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x850], 0
lea r9, [rsp + 0x850]
lea r8, [rsp + 0x40]
lea rdx, str._d__d
lea rcx, [rsp + 0x50]
call fcn.1400aa430
mov dword [rsp + 0x30], 2
mov eax, dword [rsp + 0x850]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x8e0]
call fcn.14007869c
xor edx, edx
mov rcx, qword [rsp + 0x8e0]
call fcn.14007c06c
mov eax, 1
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x8d0
pop rdi
ret
Function at 0x1400f4b80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
cmp dword [rsp + 0x78], 0x203
jne 0x1400f4c1e
lea rcx, [rsp + 0x30]
call fcn.140001000
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [0x140217894]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400010b0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400012c0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x38]
call fcn.140001470
nop
lea rcx, [rsp + 0x30]
call fcn.140001470
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14007a030
add rsp, 0x68
ret

Function at 0x1400f5010
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x58
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov eax, dword [0x1404b5ea8]
and eax, 1
test eax, eax
jne 0x1400f5059
mov eax, dword [0x1404b5ea8]
or eax, 1
mov dword [0x1404b5ea8], eax
lea rcx, [0x1404b5e70]
call fcn.1400109a0
lea rcx, [0x1401fcfb0]
call fcn.1400a8c9c
nop
lea rcx, [0x1404b5e70]
call fcn.140010ae0
mov r8d, 0x200
lea rdx, [0x1404b5a70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
lea rcx, [0x1404b5a70]
call fcn.1400a81f4
mov r11, rax
lea rax, [0x1404b5a70]
lea rcx, [rax + r11*2]
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x70]
mov r8d, ebx
lea rdx, str.__dump__p__ld__e__p__t__ld
call fcn.1400224d0
lea rcx, [rsp + 0x30]
call fcn.140001000
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400012c0
xor r9d, r9d
mov r8d, 1
mov rdx, rax
lea rcx, [0x1404b5a70]
call fcn.1400048c0
nop
lea rcx, [rsp + 0x30]
call fcn.140001470
lea rcx, [0x1404b5e70]
call fcn.140010ab0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x1400f81e0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x420
mov dword [rsp + 0x10], 0
lea rdi, [rsp + 0x14]
xor eax, eax
mov ecx, 0x3fc
rep stosb byte [rdi], al
mov dword [rsp], 0
mov dword [rsp + 0x414], 0
mov dword [rsp + 0x410], 0
mov dword [rsp + 0x418], 0
mov dword [rsp + 0x414], 0xedb88320
mov dword [rsp + 0x410], 0
jmp 0x1400f8258
mov eax, dword [rsp + 0x410]
add eax, 1
mov dword [rsp + 0x410], eax
cmp dword [rsp + 0x410], 0x100
jae 0x1400f82cf
mov eax, dword [rsp + 0x410]
mov dword [rsp], eax
mov dword [rsp + 0x418], 8
jmp 0x1400f828d
mov eax, dword [rsp + 0x418]
sub eax, 1
mov dword [rsp + 0x418], eax
cmp dword [rsp + 0x418], 0
jle 0x1400f82bc
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400f82b2
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 0x414]
mov dword [rsp], eax
jmp 0x1400f82ba
mov eax, dword [rsp]
shr eax, 1
mov dword [rsp], eax
jmp 0x1400f827c
mov ecx, dword [rsp + 0x410]
mov eax, dword [rsp]
mov dword [rsp + rcx*4 + 0x10], eax
jmp 0x1400f8247
mov dword [rsp], 0xffffffff
mov dword [rsp + 0x410], 0
jmp 0x1400f82f4
mov eax, dword [rsp + 0x410]
add eax, 1
mov dword [rsp + 0x410], eax
mov eax, dword [rsp + 0x438]
cmp dword [rsp + 0x410], eax
jae 0x1400f8346
mov edx, dword [rsp]
shr edx, 8
and edx, 0xffffff
mov rax, qword [rsp + 0x430]
movzx ecx, byte [rax]
mov eax, dword [rsp]
xor eax, ecx
and eax, 0xff
mov ecx, eax
mov eax, edx
xor eax, dword [rsp + rcx*4 + 0x10]
mov dword [rsp], eax
mov rax, qword [rsp + 0x430]
add rax, 1
mov qword [rsp + 0x430], rax
jmp 0x1400f82e3
mov eax, dword [rsp]
xor eax, 0xffffffff
add rsp, 0x420
pop rdi
ret

Function at 0x1400f8360
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov dword [rsp + 0x54], DllRegisterServer
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70048
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400f83d1
mov eax, 1
jmp 0x1400f85d1
mov rax, qword [rsp + 0x148]
mov dword [rax], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7405c
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400f8464
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x68]
comisd xmm0, xmmword [0x14025b018]
jbe 0x1400f8464
mov rax, qword [rsp + 0x148]
mov dword [rax], 1
mov rcx, qword [rsp + 0x148]
add rcx, 0x48
lea rdx, [0x140219768]
call fcn.1400a9460
mov eax, 1
jmp 0x1400f85d1
add rsp, 0x128
pop rdi
pop rsi
ret
Function at 0x1400f8970
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret