joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180176350
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x1805ee9fa]
call fcn.1802680d0
mov eax, 0x7140
mov eax, eax
mov ecx, dword [0x18059ea9c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18059bacc], eax
jle 0x1801763b9
lea rcx, [0x18059bacc]
call fcn.180267d40
cmp dword [0x18059bacc], 0xffffffff
jne 0x1801763b9
lea rcx, [rsp + 0x20]
call fcn.180176940
mov byte [0x18059bac8], al
lea rcx, [0x18059bacc]
call fcn.180267ce0
nop
movzx eax, byte [0x18059bac8]
test eax, eax
jne 0x1801763d9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x30
pop rdi
ret

Function at 0x1801763f0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x1805ee9fa]
call fcn.1802680d0
mov eax, 0x7140
mov eax, eax
mov ecx, dword [0x18059ea9c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18059bad4], eax
jle 0x180176459
lea rcx, [0x18059bad4]
call fcn.180267d40
cmp dword [0x18059bad4], 0xffffffff
jne 0x180176459
lea rcx, [rsp + 0x20]
call fcn.180176a20
mov byte [0x18059bad0], al
lea rcx, [0x18059bad4]
call fcn.180267ce0
nop
movzx eax, byte [0x18059bad0]
test eax, eax
jne 0x180176479
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x30
pop rdi
ret

Function at 0x18017e250
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x20]
mov ecx, 0x80
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x230]
mov rax, qword [0x18057d580]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rcx, [0x1805eea11]
call fcn.1802680d0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
mov r8d, 0xa
lea rdx, str._d3d11.dll
lea rcx, [rsp + 0x168]
call fcn.180030950
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
mov r8, qword [rsp + 0x1f8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x190]
call fcn.1800e9950
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov rdx, qword [rsp + 0x208]
lea rcx, [rsp + 0x158]
call fcn.1801b1950
nop
lea rcx, [rsp + 0x190]
call fcn.18002ff60
nop
lea rcx, [rsp + 0x168]
call fcn.18002ff60
nop
lea rdx, [0x180477890]
lea rcx, [rsp + 0x1b8]
call fcn.18002f230
nop
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x158]
call fcn.180180560
mov qword [rsp + 0x1e8], rax
lea rcx, [rsp + 0x1b8]
call fcn.18002ff60
mov rax, qword [rsp + 0x1e8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180477450]
call fcn.180267ea0
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.180268310
add rsp, 0x220
pop rdi
ret
Function at 0x180189160
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1805eed65]
call fcn.1802680d0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
add rsp, 0x20
pop rdi
ret
Function at 0x1801b22e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x78], 0
lea rcx, [0x1805ef468]
call fcn.1802680d0
mov rcx, qword [rsp + 0xa8]
call fcn.1801b4290
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x78]
or eax, 1
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0xa0]
call fcn.1801b2400
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x68], rax
xor eax, eax
mov word [rsp + 0x74], ax
jmp 0x1801b238d
movzx eax, word [rsp + 0x74]
inc ax
mov word [rsp + 0x74], ax
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
movzx eax, word [rsp + 0x74]
mov rcx, qword [rsp + 0x58]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1801b23cc
cmp qword [rsp + 0x68], 0
je 0x1801b23bc
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xa8]
call fcn.1801b5410
nop
jmp 0x1801b23ca
lea rcx, str.There_was_an_invalid_section_:O
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
jmp 0x1801b2372
mov rax, qword [rsp + 0xa8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804847f0]
call fcn.180267ea0
mov rax, rdi
add rsp, 0x90
pop rdi
ret

Function at 0x1801b28f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x48], 0
lea rcx, [0x1805ef468]
call fcn.1802680d0
lea rdx, [fcn.1801b28f0]
lea rcx, [rsp + 0x28]
call fcn.1801b1a30
movzx eax, word [rsp + 0x88]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1801b1c10
mov r8d, 0xa
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1801b299c
mov rcx, qword [rsp + 0x80]
call fcn.180053d60
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
jmp 0x1801b2a3c
lea rcx, [rsp + 0x28]
call fcn.1801b1c10
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1801b29e3
mov rcx, qword [rsp + 0x80]
call fcn.180053d60
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
jmp 0x1801b2a3c
lea rcx, [rsp + 0x28]
call fcn.1801b1c10
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call fcn.18002f2a0
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180484950]
call fcn.180267ea0
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1801b8820
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
lea rcx, [0x1805ef484]
call fcn.1802680d0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1801b8dc0
nop
lea rax, [0x1801b7930]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.1801b6780
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1802d1f80
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x1801b88c8
lea rcx, [rsp + 0x38]
call fcn.1801b67b0
nop
jmp 0x1801b88df
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180226b80
nop
lea rcx, [rsp + 0x38]
call fcn.1801b6720
nop
mov rcx, rsp
lea rdx, [0x180486550]
call fcn.180267ea0
add rsp, 0x60
pop rdi
ret

Function at 0x1801bb6a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
lea rcx, [0x1805ef682]
call fcn.1802680d0
nop
mov rcx, qword [rsp + 0x88]
call fcn.1801b1d90
movzx eax, al
test eax, eax
jne 0x1801bb70d
mov rcx, qword [rsp + 0x80]
call fcn.180079640
mov rax, qword [rsp + 0x80]
jmp 0x1801bb7da
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.1801b24e0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1801bb751
mov rcx, qword [rsp + 0x80]
call fcn.180079640
mov rax, qword [rsp + 0x80]
jmp 0x1801bb7da
mov edx, 8
mov rcx, qword [rsp + 0x28]
call fcn.1801bd8b0
lea r9, [rsp + 0x44]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call fcn.1801bfe10
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x44]
mov edx, 8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x58]
call fcn.1801bde70
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
call fcn.1801bdf40
nop
mov rax, qword [rsp + 0x80]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804876a0]
call fcn.180267ea0
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1801bb800
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
lea rcx, [0x1805ef682]
call fcn.1802680d0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1801bd8b0
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rsp + 0x58]
mov edx, 0x90
mov rcx, qword [rsp + 0x50]
call fcn.1803db0a0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
nop
mov rcx, rsp
lea rdx, [0x180487700]
call fcn.180267ea0
add rsp, 0x40
pop rdi
ret

Function at 0x1801bb910
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
lea rcx, [0x1805ef682]
call fcn.1802680d0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.1801bd8b0
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1803daa00
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
nop
mov rcx, rsp
lea rdx, [0x180487760]
call fcn.180267ea0
add rsp, 0x40
pop rdi
ret
Function at 0x1801bc6d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rcx, [0x1805ef682]
call fcn.1802680d0
mov qword [rsp + 0x20], 0
xor eax, eax
cmp eax, 1
je 0x1801bc7b1
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov r8d, 5
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1801bbac0
movzx eax, al
test eax, eax
je 0x1801bc749
xor eax, eax
jmp 0x1801bc7b1
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1801bc7ac
mov r8d, 5
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1801bbac0
movzx eax, al
test eax, eax
je 0x1801bc7a5
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1801bc7b1
mov rax, qword [rsp + 0x30]
jmp 0x1801bc7b1
jmp 0x1801bc6f4
add rsp, 0x40
pop rdi
ret

Function at 0x1801c1150
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
lea rcx, [0x1805ef772]
call fcn.1802680d0
mov eax, 0x1128
mov eax, eax
mov ecx, dword [0x18059ea9c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1801c1223
mov eax, 0x1128
mov eax, eax
mov ecx, dword [0x18059ea9c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x44], eax
mov eax, dword [0x18059ea9c]
mov rcx, qword gs:[0x58]
mov edx, 0x1128
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x44]
mov dword [rdx + rax], ecx
mov eax, 0x10a0
mov eax, eax
mov ecx, dword [0x18059ea9c]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, rax
call fcn.1801cb670
lea rcx, [0x1804075a0]
call fcn.180268ca0
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, 0x10a0
mov eax, eax
mov ecx, dword [0x18059ea9c]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.1801d7110
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x38]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180488eb0]
call fcn.180267ea0
mov rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x1801c1c70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x18057d580]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 0
lea rcx, [0x1805ef772]
call fcn.1802680d0
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1801c1d57
lea rcx, [rsp + 0x28]
call fcn.180053d60
nop
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1801c1d20
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1801c1d20
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.180060660
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.1800534c0
mov eax, dword [rsp + 0x70]
or eax, 1
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x28]
call fcn.18002ff60
mov rax, qword [rsp + 0x90]
jmp 0x1801c1d77
mov rcx, qword [rsp + 0x90]
call fcn.180053d60
mov eax, dword [rsp + 0x70]
or eax, 1
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x90]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180489150]
call fcn.180267ea0
mov rax, rdi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180268310
add rsp, 0x80
pop rdi
ret
Function at 0x1801d81a0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x18057d580]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xc0], 0
lea rcx, [0x1805ef861]
call fcn.1802680d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1801d9b30
nop
lea rcx, [rsp + 0x28]
call fcn.1801da000
movzx eax, al
test eax, eax
jne 0x1801d8255
mov rcx, qword [rsp + 0xe0]
call fcn.1801d9d10
mov eax, dword [rsp + 0xc0]
or eax, 1
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x28]
call fcn.1801d9e70
mov rax, qword [rsp + 0xe0]
jmp 0x1801d838b
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 0x1c
lea rcx, [rsp + 0x28]
call fcn.1801d9fd0
lea rdx, [rsp + 0x48]
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x1801d82be
mov rcx, qword [rsp + 0xe0]
call fcn.1801d9d10
mov eax, dword [rsp + 0xc0]
or eax, 1
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x28]
call fcn.1801d9e70
mov rax, qword [rsp + 0xe0]
jmp 0x1801d838b
lea rcx, [rsp + 0x88]
call fcn.1801d9d10
nop
mov eax, dword [rsp + 0x48]
cmp rax, 0x10
jae 0x1801d82e0
mov byte [rsp + 0xc4], 1
jmp 0x1801d82e8
mov byte [rsp + 0xc4], 0
movzx eax, byte [rsp + 0xc4]
mov byte [rsp + 0xb4], al
mov dword [rsp + 0x48], 0x1c
movzx eax, byte [rsp + 0xb4]
test eax, eax
je 0x1801d832a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x54], eax
jne 0x1801d832a
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.1801d9790
nop
lea rcx, [rsp + 0x28]
call fcn.1801d9fd0
lea rdx, [rsp + 0x48]
mov rcx, rax
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1801d82cc
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xe0]
call fcn.1801d9bb0
mov eax, dword [rsp + 0xc0]
or eax, 1
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x88]
call fcn.1801d9f10
nop
lea rcx, [rsp + 0x28]
call fcn.1801d9e70
mov rax, qword [rsp + 0xe0]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.180267ea0
mov rax, rdi
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.180268310
add rsp, 0xd0
pop rdi
ret

Function at 0x1801d86d0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805ef861]
call fcn.1802680d0
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x20]
cmp ecx, eax
je 0x1801d8715
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
nop
add rsp, 0x30
pop rdi
ret
Function at 0x1801d8730
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805ef861]
call fcn.1802680d0
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x20]
cmp ecx, eax
je 0x1801d8775
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
add rsp, 0x30
pop rdi
ret

Function at 0x1801df870
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
lea rdi, [rsp + 0x20]
mov ecx, 0x9c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov rax, qword [0x18057d580]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov dword [rsp + 0x280], 0
lea rcx, [0x1805ef9eb]
call fcn.1802680d0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rdx, [rsp + 0x160]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.boiii_
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call fcn.18002f230
mov eax, dword [rsp + 0x280]
or eax, 1
mov dword [rsp + 0x280], eax
mov rax, qword [rsp + 0x2a0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18048f370]
call fcn.180267ea0
mov rax, rdi
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.180268310
add rsp, 0x290
pop rdi
ret
Function at 0x1801df980
Capabilities:
Create process memory minidump
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x40]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [0x18057d580]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rcx, [0x1805ef9eb]
call fcn.1802680d0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x70]
call fcn.1801df870
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.180060a90
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000100
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x70]
call fcn.18002ff60
nop
call fcn.1801df840
mov dword [rsp + 0xa8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0xac], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0xac]
mov rcx, qword [rsp + 0xb0]
call sub.dbghelp.dll_MiniDumpWriteDump
test eax, eax
jne 0x1801dfadb
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Minidump_Error
lea rdx, str.There_was_an_error_creating_the_minidump__Hit_OK_to_close_the_program.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x7b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rax, qword [rsp + 0x68]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18048f3e0]
call fcn.180267ea0
mov rax, rdi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.180268310
add rsp, 0xc0
pop rdi
ret
Function at 0x1801dfb20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x20c0
call fcn.1802688f0
sub rsp, rax
lea rdi, [rsp + 0x30]
mov ecx, 0x824
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20d0]
mov rax, qword [0x18057d580]
xor rax, rsp
mov qword [rsp + 0x20b8], rax
mov dword [rsp + 0x20b0], 0
lea rcx, [0x1805ef9eb]
call fcn.1802680d0
mov rcx, qword [rsp + 0x20d8]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20d8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x38]
call fcn.180053d60
nop
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x74]
mov r8d, 0x2000
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x20d8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1801dfc11
mov rcx, qword [rsp + 0x20d0]
call fcn.180053d60
mov eax, dword [rsp + 0x20b0]
or eax, 1
mov dword [rsp + 0x20b0], eax
lea rcx, [rsp + 0x38]
call fcn.18002ff60
mov rax, qword [rsp + 0x20d0]
jmp 0x1801dfc70
mov eax, dword [rsp + 0x74]
mov r8d, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.1800606b0
nop
mov eax, dword [rsp + 0x74]
cmp rax, 0x2000
je 0x1801dfbb1
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x20d0]
call fcn.1800534c0
mov eax, dword [rsp + 0x20b0]
or eax, 1
mov dword [rsp + 0x20b0], eax
lea rcx, [rsp + 0x38]
call fcn.18002ff60
mov rax, qword [rsp + 0x20d0]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.180267ea0
mov rax, rdi
mov rcx, qword [rsp + 0x20b8]
xor rcx, rsp
call fcn.180268310
add rsp, 0x20c0
pop rdi
ret

Function at 0x1801dfca0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805efad2]
call fcn.1802680d0
nop
mov rcx, qword [rsp + 0x40]
call fcn.180033330
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x1801dfcd2
mov al, 1
jmp 0x1801dfcf4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1801dfce7
mov dword [rsp + 0x20], 1
jmp 0x1801dfcef
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret