joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180040cd0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x180040d20
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x180040df9
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x180040d46
jmp 0x180040d05
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
je 0x180040df4
call fcn.180034150
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x40], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
call fcn.180040880
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.180060c10
call fcn.180034060
mov qword [rsp + 0x60], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x60]
nop
jmp 0x180040d05
add rsp, 0x78
ret

Function at 0x180040e30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x130
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x180040e7b
xor eax, eax
jmp 0x180040ee5
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x180040ed8
mov rcx, qword [rsp + 0x180]
call fcn.18004d9f0
mov rdx, rax
lea rcx, [rsp + 0x5c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180040ec5
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
jmp 0x180040ee5
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180040e8e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x178
ret
Function at 0x180040f00
Capabilities:
Enumerate process modules

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1a8
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r8d, dword [rsp + 0x1c8]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18004106b
lea rax, [rsp + 0x80]
lea rcx, str._unknown_
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x8a]
mov rdi, rax
xor eax, eax
mov ecx, 0xfa
rep stosb byte [rdi], al
lea r9, [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x18004105f
mov r9d, 0x104
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_K32GetModuleFileNameExA
test eax, eax
je 0x18004105f
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180019960
mov r8, 0xffffffffffffffff
lea rdx, [0x18020a03c]
lea rcx, [rsp + 0x40]
call fcn.1800550b0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x180041054
mov rax, qword [rsp + 0x28]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18005e940
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1c0]
call fcn.180037fa0
lea rcx, [rsp + 0x60]
call fcn.180019cf0
lea rcx, [rsp + 0x40]
call fcn.180019cf0
mov rax, qword [rsp + 0x1c0]
jmp 0x180041087
lea rcx, [rsp + 0x40]
call fcn.180019cf0
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, str.Unknown
mov rcx, qword [rsp + 0x1c0]
call fcn.180019960
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x1a8
pop rdi
pop rsi
ret

Function at 0x1800416f0
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x48
lea rcx, [0x180209f38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x180209f20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180041744
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, rax
call qword [rsp + Ordinal_50]
mov dword [rsp + 0x20], eax
add rsp, 0x48
ret

Function at 0x180041750
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x48
lea rcx, [0x180209f10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x180209ef8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800417a4
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, rax
call qword [rsp + Ordinal_50]
mov dword [rsp + 0x20], eax
add rsp, 0x48
ret
Function at 0x1800417b0
Capabilities:
Hide thread from debugger
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rcx, [0x18020a048]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1800418cb
lea rdx, [0x18020a058]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
je 0x1800418cb
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, rax
call qword [rbp + Ordinal_26]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x18004182c
jmp 0x1800418cb
lea rax, [rbp + 0x30]
mov qword [rbp + 0x20], rax
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 2]
lea rcx, [rbp + 0x60]
call fcn.18001d3a0
mov rcx, rax
call fcn.18004ec50
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call fcn.180019960
mov rdx, rax
lea rcx, [0x180659af0]
call fcn.180070ff0
nop
lea rax, [rbp + 0x80]
mov qword [rbp + 0x28], rax
lea rdx, [0x180209326]
mov rcx, qword [rbp + 0x28]
call fcn.180019960
mov rdx, rax
lea rcx, [0x180659af0]
call fcn.180068dd0
nop
call fcn.18003fba0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0xe8
pop rdi
pop rbp
ret

Function at 0x1800418e0
Capabilities:
Hide thread from debugger
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rcx, [0x18020a070]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1800419fb
lea rdx, str.NtSetInformationThread
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
je 0x1800419fb
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, rax
call qword [rbp + Ordinal_26]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x18004195c
jmp 0x1800419fb
lea rax, [rbp + 0x30]
mov qword [rbp + 0x20], rax
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 2]
lea rcx, [rbp + 0x60]
call fcn.18001d3a0
mov rcx, rax
call fcn.18004ec50
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call fcn.180019960
mov rdx, rax
lea rcx, [0x180659af0]
call fcn.180070ff0
nop
lea rax, [rbp + 0x80]
mov qword [rbp + 0x28], rax
lea rdx, [0x180209327]
mov rcx, qword [rbp + 0x28]
call fcn.180019960
mov rdx, rax
lea rcx, [0x180659af0]
call fcn.180068dd0
nop
call fcn.18003fba0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0xe8
pop rdi
pop rbp
ret
Function at 0x180042650
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x22c8
call fcn.1800c5560
sub rsp, rax
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x22b0], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x180042694
xor al, al
jmp 0x180042819
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1800426c1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x180042819
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800427f5
lea r9, [rsp + 0x170]
mov r8d, 0x2000
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x1800427e9
mov dword [rsp + 0x24], 0
jmp 0x180042720
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x170]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
jae 0x1800427e9
mov eax, dword [rsp + 0x24]
mov r9d, 0x104
lea r8, [rsp + 0x21a0]
mov rdx, qword [rsp + rax*8 + 0x1a0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_K32GetModuleFileNameExA
test eax, eax
je 0x1800427e4
lea rdx, [rsp + 0x21a0]
lea rcx, [rsp + 0x178]
call fcn.180019960
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x22d0]
lea rcx, [rsp + 0x178]
call fcn.180054e30
cmp rax, 0xffffffffffffffff
je 0x1800427d6
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x178]
call fcn.180019cf0
movzx eax, byte [rsp + 0x20]
jmp 0x180042819
lea rcx, [rsp + 0x178]
call fcn.180019cf0
nop
jmp 0x180042716
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1800426c1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x22b0]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x22c8
ret
Function at 0x180042c90
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov byte [rsp + 0xe0], 0
lea rdx, [rsp + 0xe0]
lea rcx, [0x180040b50]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x180042cdf
mov al, 1
jmp 0x180042f44
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x180042cff
xor al, al
jmp 0x180042f44
mov dword [rsp + 0x130], 0x130
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x180042d32
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x180042f44
lea rdx, [rsp + 0x15c]
lea rcx, [rsp + 0x108]
call fcn.180019960
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x108]
call fcn.18004d7e0
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x108]
call fcn.180053f10
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x108]
call fcn.18004d7e0
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.180036de0
nop
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0xe8]
call fcn.180038020
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe8]
call fcn.18004d7e0
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xe8]
call fcn.180053f10
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe8]
call fcn.18004d7e0
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xd8]
call fcn.180036de0
nop
xor r8d, r8d
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x108]
call fcn.180054e30
cmp rax, 0xffffffffffffffff
je 0x180042f02
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0xe8]
call fcn.180019cf0
lea rcx, [rsp + 0x108]
call fcn.180019cf0
movzx eax, byte [rsp + 0x30]
jmp 0x180042f44
lea rcx, [rsp + 0xe8]
call fcn.180019cf0
lea rcx, [rsp + 0x108]
call fcn.180019cf0
nop
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180042d32
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x278
ret
Function at 0x180044540
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, Ordinal_27
lea rcx, [rsp + 0x40]
call fcn.1800186f0
lea rax, [rsp + 0x68]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180019b90
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
jmp 0x1800445b5
mov rax, qword [rsp + 0x20]
add rax, 0x28
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x20], rax
jae 0x180044643
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x70], rax
jb 0x18004463e
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x20]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x70], rax
jae 0x18004463e
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rcx, rdx
add rax, rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.180019d20
mov rax, qword [rsp + 0x30]
jmp 0x18004465b
jmp 0x1800445a7
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
call fcn.180019d20
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x68
ret
Function at 0x180044670
Capabilities:
Delete file
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1090
call fcn.1800c5560
sub rsp, rax
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rcx, qword [rsp + 0x10a0]
call fcn.18004da10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1800446e3
xor al, al
jmp 0x18004482a
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x180044709
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x18004482a
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x64]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x60], rax
jge 0x1800447e9
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov eax, eax
cmp rax, 0x1000
jbe 0x180044757
mov qword [rsp + 0x58], 0x1000
jmp 0x18004476e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov eax, eax
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800447aa
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x68], eax
je 0x1800447b9
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x18004482a
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
nop
jmp 0x180044722
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x10a0]
call fcn.18004da10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x180044820
mov byte [rsp + 0x40], 1
jmp 0x180044825
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x1090
pop rdi
ret
Function at 0x1800449b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1800449ee
xor al, al
jmp 0x180044aa9
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180044a9c
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x270]
call fcn.180017bb0
nop
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x2b0]
call fcn.18001e930
movzx eax, al
test eax, eax
je 0x180044a77
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180044a77
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x270]
call fcn.180018000
nop
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180044a0d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x2a8
ret

Function at 0x180044ad0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x180044b0c
jmp 0x180044bad
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x180044ba1
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180044b8e
lea rdx, str.Terminating_process:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18001e450
lea rdx, [rsp + 0x5c]
mov rcx, rax
call fcn.18001e450
lea rdx, reloc.WS2_32.dll_ioctlsocket
mov rcx, rax
call fcn.18001e450
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180044b27
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x178
ret
Function at 0x180044bd0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x180044c1f
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x180044c96
call fcn.180040880
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.180060c10
nop
jmp 0x180044c04
add rsp, 0x58
ret