joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180068390
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
xor r9d, r9d
mov r8d, 5
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.180061680
nop
mov rax, qword [rsp + 0x80]
mov qword [0x18036c718], rax
xor eax, eax
cmp eax, 1
je 0x180068408
lea rcx, [rsp + 0x40]
call fcn.180061830
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x38]
lea r8, [0x1800672c0]
xor edx, edx
xor ecx, ecx
call fcn.1800ee6bc
jmp 0x1800683c9
lea rcx, [rsp + 0x40]
call fcn.180061810
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret

Function at 0x18006cad0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x18006d1b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x30], rax
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x60], 0
jne 0x18006cb2e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18006cb15
add rsp, 0x48
ret

Function at 0x18006d180
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov edx, 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x28]
call fcn.1800ce3d0
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x18006f2a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x18006ef10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x180074150
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call fcn.1800ec67c
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1800742d0
mov rcx, rax
call fcn.180074c90
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x30]
lea r8, [0x18017436c]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1800ef5b8
mov ecx, 1
call fcn.1800ec67c
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x67]
lea rcx, [rsp + 0x21]
call fcn.180074370
mov rcx, rax
call fcn.180074c50
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x40]
lea r8, [0x180174378]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.1800ef5b8
mov ecx, 2
call fcn.1800ec67c
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x6f]
lea rcx, [rsp + 0x22]
call fcn.180074370
mov rcx, rax
call fcn.180074c50
mov qword [rsp + 0x58], rax
mov r9, qword [rsp + 0x50]
lea r8, [0x18017437c]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.1800ef5b8
mov rcx, qword [rsp + 0x90]
call fcn.1800058d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add rsp, 0x88
ret
Function at 0x180087500
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1801751e0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x18008758e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x180087532
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x1800875a0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1801751e0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1800876a4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x18008769f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x180087674
cmp qword [rsp + 0x38], 2
jb 0x180087674
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x180087674
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x180087674
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1800875e7
jmp 0x180087736
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x180087736
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x18008770c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18008770c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18008770c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1800876a4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x180087960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1800ed208
add rsp, 0x28
ret
Function at 0x18009b010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x80]
call fcn.18006b9e0
mov eax, dword [rsp + 0x88]
and eax, 1
test eax, eax
je 0x18009b0e9
mov edx, dword [rsp + 0x90]
mov ecx, socket
call fcn.18009ade0
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_send
call fcn.18009ade0
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, send
call fcn.18009ade0
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, send
call fcn.18009ade0
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x2c], xmm0
movss xmm2, dword [rsp + 0x28]
movss xmm1, dword [rsp + 0x2c]
lea rcx, [rsp + 0x50]
call fcn.18006b9e0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.180083d60
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x18009b197
mov edx, dword [rsp + 0x90]
mov ecx, 7
call fcn.18009ade0
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 6
call fcn.18009ade0
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 5
call fcn.18009ade0
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 4
call fcn.18009ade0
movss xmm1, dword [rsp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x3c]
lea rcx, [rsp + 0x58]
call fcn.18006b9e0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.180083d60
mov eax, dword [rsp + 0x88]
and eax, 4
test eax, eax
je 0x18009b245
mov edx, dword [rsp + 0x90]
mov ecx, listen
call fcn.18009ade0
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0xa
call fcn.18009ade0
movss xmm1, dword [rsp + 0x40]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x48], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 9
call fcn.18009ade0
movss dword [rsp + 0x44], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 8
call fcn.18009ade0
movss xmm1, dword [rsp + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
movss xmm2, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.18006b9e0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.180083d60
movss xmm0, dword [rsp + 0x98]
ucomiss xmm0, dword [0x18017e744]
jp 0x18009b259
je 0x18009b280
mov ecx, recv
call fcn.180086720
movzx eax, al
test eax, eax
je 0x18009b280
movss xmm1, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
call fcn.180083d10
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x18017e744]
jp 0x18009b294
je 0x18009b2bb
mov ecx, send
call fcn.180086720
movzx eax, al
test eax, eax
je 0x18009b2bb
movss xmm1, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.180083d10
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x1800bd530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
cmp qword [rsp + 0x1a0], 0
jne 0x1800bd55b
mov eax, 1
jmp 0x1800bd808
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x40]
call fcn.1800056f0
nop
cmp qword [rsp + 0x190], 0xffffffff80000001
je 0x1800bd5db
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180051a00
movzx eax, word [rax]
cmp eax, 0x5c
je 0x1800bd5db
lea r8, [rsp + 0x40]
lea rdx, [0x1801798a0]
lea rcx, [rsp + 0xb8]
call fcn.180020cc0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1800055f0
lea rcx, [rsp + 0xb8]
call fcn.180005580
cmp qword [rsp + 0x190], 0xffffffff80000001
jne 0x1800bd63a
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x30], 0x2000000
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x24]
call fcn.1800bd870
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1800bd635
mov dword [rsp + 0x34], 2
lea rcx, [rsp + 0x40]
call fcn.180005580
mov eax, dword [rsp + 0x34]
jmp 0x1800bd808
jmp 0x1800bd768
cmp qword [rsp + 0x190], 0xffffffff80000000
jne 0x1800bd6a4
lea rcx, [rsp + 0x98]
call fcn.1800bf4a0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xd8]
call fcn.1800be370
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1800055f0
lea rcx, [rsp + 0xd8]
call fcn.180005580
nop
lea rcx, [rsp + 0x98]
call fcn.180005580
jmp 0x1800bd768
cmp qword [rsp + 0x190], 0xffffffff80000002
jne 0x1800bd704
lea rdx, [rsp + 0x156]
lea rcx, [rsp + 0x25]
call fcn.1800bd930
mov rcx, rax
call fcn.1800be250
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.180020cc0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.1800055f0
lea rcx, [rsp + 0xf8]
call fcn.180005580
jmp 0x1800bd768
cmp qword [rsp + 0x190], 0xffffffff80000003
jne 0x1800bd768
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x26]
call fcn.1800bd9d0
mov rcx, rax
call fcn.1800be210
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.180020cc0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1800055f0
lea rcx, [rsp + 0x118]
call fcn.180005580
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x40]
call fcn.180005490
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x90]
call fcn.1800bf580
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x28], 0
je 0x1800bd7bf
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x27]
call fcn.1800bda00
cmp dword [rsp + 0x20], 0
je 0x1800bd7e8
lea rcx, [rsp + 0x40]
call fcn.180020a90
mov dword [rsp + 0x38], 3
lea rcx, [rsp + 0x40]
call fcn.180005580
mov eax, dword [rsp + 0x38]
jmp 0x1800bd808
lea rcx, [rsp + 0x40]
call fcn.180020a90
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x40]
call fcn.180005580
mov eax, dword [rsp + 0x3c]
add rsp, 0x188
ret
Function at 0x1800bd810
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
cmp eax, 1
je 0x1800bd844
movsx eax, byte [rsp + 0x28]
cmp eax, 0x41
jl 0x1800bd844
movsx eax, byte [rsp + 0x28]
cmp eax, 0x5a
jg 0x1800bd844
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x1800bd84c
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
add rsp, 0x18
ret

Function at 0x1800c05b0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x70
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, str.__C:UsersPublicloader_logs.log
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x38], 0x30
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x50], 0x240
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtDeleteFile]
test eax, eax
jne 0x1800c0638
mov dword [rsp + 0x24], 1
jmp 0x1800c0640
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
add rsp, 0x70
pop rdi
ret
Function at 0x1800c21f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1800c222d
mov rcx, qword [rsp + 0x280]
call fcn.1800021e0
jmp 0x1800c22a0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1800c2287
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
call fcn.1800c5400
movzx eax, al
test eax, eax
jne 0x1800c2285
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x280]
call fcn.1800021e0
jmp 0x1800c22a0
jmp 0x1800c223d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x280]
call fcn.1800021e0
add rsp, 0x278
ret

Function at 0x1800c2340
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x2a8]
cmp eax, dword [rcx + 8]
je 0x1800c2498
mov rax, qword [rsp + 0x2a8]
mov r8d, dword [rax + 8]
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800c2498
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x1800c2498
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r9d, 0x104
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1800c248d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.1800056f0
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1800c8240
lea rcx, [rsp + 0x58]
call fcn.180005580
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax]
call fcn.180005490
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x38]
call fcn.180005490
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
lea rcx, str._ls__ls_n
call fcn.180073380
mov rax, qword [rsp + 0x2a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x38]
call fcn.18001f750
movzx eax, al
test eax, eax
je 0x1800c2483
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 8]
mov byte [rax], 1
mov edx, 0x539
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x38]
call fcn.180005580
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x290
pop rdi
ret
Function at 0x1800c2690
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x158]
cmp eax, dword [rcx + 8]
je 0x1800c283a
mov rax, qword [rsp + 0x158]
add rax, 0x2c
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.1800056f0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.1800262d0
cmp rax, 0xffffffffffffffff
jne 0x1800c2830
mov rax, qword [rsp + 0x158]
add rax, 0x2c
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.1800056f0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x25]
call fcn.1800c2910
mov rcx, rax
call fcn.1800c53c0
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.18001f4e0
cmp rax, 0xffffffffffffffff
jne 0x1800c2830
mov rax, qword [rsp + 0x158]
add rax, 0x2c
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.1800056f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x26]
call fcn.1800c2940
mov rcx, rax
call fcn.1800c5380
mov qword [rsp + 0x88], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.18001f4e0
cmp rax, 0xffffffffffffffff
je 0x1800c283a
mov dword [rsp + 0x28], 1
jmp 0x1800c2842
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
je 0x1800c2869
and dword [rsp + 0x20], 0xfffffffb
lea rcx, [rsp + 0xa8]
call fcn.180005580
nop
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x1800c2887
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0xc8]
call fcn.180005580
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1800c28a4
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xe8]
call fcn.180005580
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1800c2905
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov byte [rax], 1
mov rax, qword [rsp + 0x158]
mov r8d, dword [rax + 8]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800c2905
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1800c2905
mov edx, 0x539
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x148
ret
Function at 0x1800c29f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
add rax, 0x2c
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x68]
cmp eax, dword [rcx + 8]
je 0x1800c2a91
xor r8d, r8d
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
lea rcx, [rsp + 0x30]
call fcn.1800262d0
cmp rax, 0xffffffffffffffff
je 0x1800c2a91
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov byte [rax], 1
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 8]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800c2a91
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1800c2a91
mov edx, 0x539
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.180005580
movzx eax, byte [rsp + 0x20]
add rsp, 0x58
ret

Function at 0x1800c2b60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
add rax, 0x2c
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800056f0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rax]
cmp dword [rcx + 8], eax
jne 0x1800c2c00
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov byte [rax], 1
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 8]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800c2bea
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1800c2bea
mov edx, 0x539
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.180005580
movzx eax, byte [rsp + 0x20]
jmp 0x1800c2c14
mov byte [rsp + 0x21], 1
lea rcx, [rsp + 0x30]
call fcn.180005580
movzx eax, byte [rsp + 0x21]
add rsp, 0x58
ret

Function at 0x1800c2d30
Capabilities:
Parse pe header
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x1800c2da1
mov dword [rsp + 0x70], 0
mov rcx, qword [rsp + 0xf0]
call fcn.1800059c0
mov eax, dword [rsp + 0x70]
jmp 0x1800c3083
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1000002
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1800c2dfe
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
invalid
and al, 0x74
add byte [rax], al
invalid