joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e29c0
Capabilities:
Create tcp socket
Create thread
Create udp socket
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x220], 0
je 0x1400e2a13
mov eax, 1
jmp 0x1400e2c6c
cmp dword [rsp + 0xd8], 0
jne 0x1400e2aa2
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x220], 1
lea rcx, [rsp + 0x50]
call fcn.14004e130
mov r11, qword [rsp + 0xd0]
mov qword [rsp + 0x70], r11
lea rdx, [rsp + 0x50]
lea rcx, [0x1403b5ec0]
call fcn.1400d5090
cmp eax, 0xffffffff
jne 0x1400e2a81
mov dword [rsp + 0x84], 0
lea rcx, [rsp + 0x50]
call fcn.14004e190
mov eax, dword [rsp + 0x84]
jmp 0x1400e2c6c
mov dword [rsp + 0x88], 1
lea rcx, [rsp + 0x50]
call fcn.14004e190
mov eax, dword [rsp + 0x88]
jmp 0x1400e2c6c
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WSOCK32.dll_socket]
mov r11, rax
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x208], r11
cmp dword [rsp + 0xe8], 0
je 0x1400e2b0c
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x80]
mov r8d, 4
mov edx, 0xffff
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov eax, 2
mov word [rsp + 0x40], ax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x90]
call fcn.140002e10
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x90]
call fcn.140002ea0
movzx ecx, word [rsp + 0xd8]
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rsp + 0x42], ax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WSOCK32.dll_bind]
test eax, eax
je 0x1400e2bea
mov edx, 2
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WSOCK32.dll_closesocket]
mov r11, qword [rsp + 0xd0]
mov qword [r11 + 0x208], 0xffffffffffffffff
xor eax, eax
jmp 0x1400e2c6c
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x220], 1
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0xd8]
mov dword [rcx + 0x210], eax
mov rcx, qword [rsp + 0xd0]
add rcx, 8
mov rdx, qword [rsp + 0xe0]
call fcn.1400a99dc
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xd0]
lea r8, [0x14004e1b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x218], r11
mov eax, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0xc8
ret
Function at 0x1400e2c90
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1402aa5c0]
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.WSOCK32.dll_listen]
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x220], 0
je 0x1400e2f1a
mov rdx, qword [rsp + 0x100]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x100]
call fcn.1400d9220
test eax, eax
je 0x1400e2f15
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.WSOCK32.dll_accept]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x1400e2d3b
jmp 0x1400e2f1a
lea rcx, [rsp + 0x78]
call fcn.14004e130
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.1400a9470
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 0x1400e2eda
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.WSOCK32.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.WSOCK32.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, [0x1403b5ec0]
call fcn.1400d5090
cmp eax, 0xffffffff
jne 0x1400e2f0b
mov edx, 2
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WSOCK32.dll_closesocket]
lea rcx, [rsp + 0x78]
call fcn.14004e190
jmp 0x1400e2cc9
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x208], 0xffffffffffffffff
je 0x1400e2f6e
mov edx, 2
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WSOCK32.dll_closesocket]
mov rdx, qword [rsp + 0x100]
mov qword [rdx + 0x208], 0xffffffffffffffff
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0xf0
pop rdi
ret
Function at 0x1400e4720
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.1400acb98
mov qword [rsp + 0x20], rax
add rsp, 0x38
ret

Function at 0x1400e9d60
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 0x1400e9d9f
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.14002d130
mov rax, qword [rsp + 0x70]
jmp 0x1400e9efa
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.1400e47e0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1400e9ded
mov rcx, qword [rsp + 0x80]
call fcn.1400aa608
xor r8d, r8d
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
call fcn.14002d130
mov rax, qword [rsp + 0x70]
jmp 0x1400e9efa
mov qword [rsp + 0x30], 2
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
call qword [0x1402adbe8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400e9e3f
mov rcx, qword [rsp + 0x80]
call fcn.1400aa608
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.14002d130
mov rax, qword [rsp + 0x70]
jmp 0x1400e9efa
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.1400acf58
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400aa608
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x48], rax
je 0x1400e9e9d
mov rcx, qword [rsp + 0x50]
call qword [0x1402adbf0]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.14002d130
mov rax, qword [rsp + 0x70]
jmp 0x1400e9efa
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x90]
call fcn.1400e7ae0
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call fcn.1400e70f0
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.1400e9bd0
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400eaf40
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 0x1400eaf74
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x20], 0
jmp 0x1400eafad
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 0x1400eafa1
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x20], 0x27
jmp 0x1400eafad
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 0x1400eafdf
cmp dword [rsp + 0x48], 1
jne 0x1400eafed
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x2c], 0
jmp 0x1400eb00a
mov rcx, qword [rsp + 0x40]
mov eax, dword [reloc.WSOCK32.dll_accept]
mov dword [rcx + 0x2c], eax
mov eax, dword [reloc.WSOCK32.dll_accept]
add eax, 1
mov dword [reloc.WSOCK32.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 0x1400eb040
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 0x1400eb137
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 0x1400eb11a
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400eb0ec
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400eb0dd
cmp dword [rsp + 0x3c], 3
jne 0x1400eb0d9
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400eb0db
jmp 0x1400eb0dd
jmp 0x1400eb0b1
cmp dword [rsp + 0x3c], 1
je 0x1400eb0ec
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1400eb105
mov dword [rsp + 0x58], 1
jmp 0x1400eb10d
mov dword [rsp + 0x5c], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400eb122
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rsp + 0x30], 1
jmp 0x1400eb13f
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 0x1400eb160
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.1401da720
sub rsp, rax
mov rax, qword [0x1402aa5c0]
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 0x1400eb2ae
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 0x1400eb288
lea r8, [rsp + 0x20a8]
mov edx, 1
mov rcx, qword [rsp + 0x2098]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400eb24e
lea rdx, [rsp + 0x20a8]
mov rcx, qword [rsp + 0x2098]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400eb239
cmp dword [rsp + 0x20ac], 3
jne 0x1400eb235
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400eb237
jmp 0x1400eb239
jmp 0x1400eb204
cmp dword [rsp + 0x20ac], 1
je 0x1400eb24e
mov dword [rsp + 0x20a0], 0
mov rcx, qword [rsp + 0x2098]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1400eb26d
mov dword [rsp + 0x20c8], 1
jmp 0x1400eb278
mov dword [rsp + 0x20cc], 0
mov rcx, qword [rsp + 0x2098]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400eb293
mov dword [rsp + 0x20a0], 1
mov rcx, qword [rsp + 0x2090]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rsp + 0x20a0], 1
jmp 0x1400eb2b9
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 0x1400eb2e3
xor eax, eax
jmp 0x1400eb3ef
mov r8d, 0x7d0
lea rdx, [rsp + 0x1080]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400eb304
xor eax, eax
jmp 0x1400eb3ef
lea r9, [0x14021cc18]
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 0x1400eb3ce
mov rcx, qword [rsp + 0x2080]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1400eb3ef
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.1400a8790
add rsp, 0x20e8
ret
Function at 0x1400eeb30
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.140072250
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.1400a87c0
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x48]
call fcn.140002e10
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.140002e10
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x78]
call fcn.140002ec0
mov rbx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140002ec0
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.140002ea0
nop
lea rcx, [rsp + 0x48]
call fcn.140002ea0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
jmp 0x1400eec42
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x34], eax
jge 0x1400eed0f
lea rcx, [rsp + 0x38]
call fcn.140002de0
nop
movsxd rax, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
add rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140007730
lea rcx, [rsp + 0x38]
call fcn.140001a40
mov r11d, eax
mov eax, dword [rsp + 0x34]
add eax, r11d
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x38]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400ed0b0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.14000f8f0
mov rdx, rax
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rcx*2]
call fcn.1400a99dc
lea rcx, [rsp + 0x58]
call fcn.140001490
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rcx*2]
call fcn.1400a8944
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.140001490
jmp 0x1400eec37
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.140072248
mov eax, dword [rsp + 0x30]
add rsp, 0xa0
pop rbx
ret
Function at 0x1400eed50
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 [0x1402aa5c0]
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.140002e10
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.1400eb990
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.1400eb990
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.140002e10
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x4a8], rax
mov rcx, qword [rsp + 0x478]
call fcn.140002ec0
mov rsi, rax
mov rcx, qword [rsp + 0x488]
call fcn.14000f8f0
mov rbx, rax
mov rcx, qword [rsp + 0x498]
call fcn.14000f8f0
mov rdi, rax
mov rcx, qword [rsp + 0x4a8]
call fcn.140002ec0
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.140002ea0
nop
lea rcx, [rsp + 0x450]
call fcn.140001490
nop
lea rcx, [rsp + 0x448]
call fcn.140001490
nop
lea rcx, [rsp + 0x440]
call fcn.140002ea0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x460]
call fcn.1400ed0b0
mov qword [rsp + 0x4b0], rax
mov edi, dword [rsp + 0x500]
mov rcx, qword [rsp + 0x4b0]
call fcn.14000f8f0
mov r8, rdi
mov rdx, rax
mov rcx, qword [rsp + 0x4f8]
call fcn.1400a9968
lea rcx, [rsp + 0x460]
call fcn.140001490
mov rcx, qword [rsp + 0x4f8]
call fcn.1400a8944
mov rcx, qword [rsp + 0x4b8]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x4c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400f21f0
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 [0x1402aa5c0]
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 0x1400f2252
mov rax, qword [rsp + 0x8e8]
mov qword [rsp + 0x880], rax
jmp 0x1400f2261
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, [0x14021d69c]
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.14000e2c0
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, [0x14021dba0]
mov rdx, qword [rsp + 0x8b0]
lea rcx, [rsp + 0x870]
call fcn.1400010b0
mov qword [rsp + 0x8b8], rax
mov rcx, qword [rsp + 0x8b8]
call fcn.14000f8f0
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, [0x14021dbd8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x870]
call fcn.140001490
nop
lea rcx, [rsp + 0x868]
call fcn.140001490
nop
lea rcx, [rsp + 0x860]
call fcn.140001490
nop
lea rcx, [rsp + 0x858]
call fcn.140001490
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x850], 0
lea r9, [rsp + 0x850]
lea r8, [rsp + 0x40]
lea rdx, [0x14021dbf0]
lea rcx, [rsp + 0x50]
call fcn.1400aa8d4
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.140078e1c
xor edx, edx
mov rcx, qword [rsp + 0x8e0]
call fcn.14007c7e4
mov eax, 1
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x8d0
pop rdi
ret
Function at 0x1400f4f10
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 0x1400f4fae
lea rcx, [rsp + 0x30]
call fcn.140001000
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [0x14021dbec]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400010b0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.14000f8f0
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.140001490
nop
lea rcx, [rsp + 0x30]
call fcn.140001490
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14007a804
add rsp, 0x68
ret

Function at 0x1400f53a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x58
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov eax, dword [0x1404bdf08]
and eax, 1
test eax, eax
jne 0x1400f53e9
mov eax, dword [0x1404bdf08]
or eax, 1
mov dword [0x1404bdf08], eax
lea rcx, [0x1404bded0]
call fcn.14000e0a0
lea rcx, [0x1402033e0]
call fcn.1400a93ec
nop
lea rcx, [0x1404bded0]
call fcn.14000e350
mov r8d, 0x200
lea rdx, [0x1404bdad0]
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, [0x1404bdad0]
call fcn.1400a8944
mov r11, rax
lea rax, [0x1404bdad0]
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.14001f9a0
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.14000f8f0
xor r9d, r9d
mov r8d, 1
mov rdx, rax
lea rcx, [0x1404bdad0]
call fcn.140004930
nop
lea rcx, [rsp + 0x30]
call fcn.140001490
lea rcx, [0x1404bded0]
call fcn.14000e320
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