joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001843
Capabilities:
Write file on windows

Disassembly:
jmp 0x14000deb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400340f7]
call fcn.140001861
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14000df17
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000df1e
mov al, 1
jmp 0x14000e06e
call fcn.140001217
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140001217
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1400016a4
movzx eax, al
test eax, eax
je 0x14000df6f
xor al, al
jmp 0x14000e06e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14000dfd4
cmp dword [rbp + 0x154], 1
je 0x14000dfdf
cmp dword [rbp + 0x154], 3
je 0x14000e05d
jmp 0x14000e06c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14000e02f
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14000e02f
xor al, al
jmp 0x14000e06e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000e04a
mov dword [rbp + 0x154], 1
jmp 0x14000e054
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14000e06e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000e06e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140024570]
call fcn.1400016e5
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400013e8
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14000a510
Capabilities:
Create process on windows
Terminate process

Disassembly:
jmp 0x14000a510
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x808
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x15e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x828]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x7a0], rax
lea rcx, [0x140034108]
call fcn.140001861
nop
mov edx, 0x68
lea rcx, [rbp + 0x10]
call fcn.1400015dc
nop
mov dword [rbp + 0x10], 0x68
mov edx, 0x18
lea rcx, [rbp + 0x98]
call fcn.1400015dc
nop
mov r8d, 0x200
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rbp + 0x4e4], eax
lea rax, [rbp + 0x748]
mov qword [rbp + 0x788], rax
mov rdx, qword [rbp + 0x788]
lea rcx, [0x14002cd20]
call fcn.1400017e9
mov qword [rbp + 0x798], rax
mov rcx, qword [rbp + 0x798]
call fcn.140001627
nop
mov rcx, qword [0x14002c8e0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x140024870]
call fcn.1400016e5
mov rcx, qword [rbp + 0x7a0]
xor rcx, rbp
call fcn.1400013e8
lea rsp, [rbp + 0x7b8]
pop rdi
pop rbp
ret
Function at 0x14000deb0
Capabilities:
Write file on windows

Disassembly:
jmp 0x14000deb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400340f7]
call fcn.140001861
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14000df17
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000df1e
mov al, 1
jmp 0x14000e06e
call fcn.140001217
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140001217
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1400016a4
movzx eax, al
test eax, eax
je 0x14000df6f
xor al, al
jmp 0x14000e06e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14000dfd4
cmp dword [rbp + 0x154], 1
je 0x14000dfdf
cmp dword [rbp + 0x154], 3
je 0x14000e05d
jmp 0x14000e06c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14000e02f
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14000e02f
xor al, al
jmp 0x14000e06e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000e04a
mov dword [rbp + 0x154], 1
jmp 0x14000e054
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14000e06e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000e06e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140024570]
call fcn.1400016e5
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400013e8
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140017d30
Capabilities:
Write file on windows

Disassembly:
jmp 0x140017d30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400340f7]
call fcn.140001861
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140017d88
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140017e9a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140017e33
cmp qword [rbp + 0x28], 0
jle 0x140017e33
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140017dd1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400017f3
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140017e89
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140017e89
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140019980
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400018ac
movzx eax, al
test eax, eax
jne 0x1400199a0
mov ecx, 7
call fcn.1400016fe
nop
mov byte [rsp + 0x20], 0
call fcn.14000173a
mov byte [rsp + 0x21], al
cmp dword [0x14002cf58], 1
jne 0x1400199c4
mov ecx, 7
call fcn.1400016fe
nop
jmp 0x140019a1c
cmp dword [0x14002cf58], 0
jne 0x140019a17
mov dword [0x14002cf58], 1
lea rdx, [0x140022890]
lea rcx, [0x140022560]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x1400199f8
mov eax, 0xff
jmp 0x140019b21
lea rdx, [0x140022450]
lea rcx, [section..rdata]
call sub.ucrtbased.dll__initterm
mov dword [0x14002cf58], 2
jmp 0x140019a1c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400016e0
call fcn.140001604
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140019a79
mov rcx, qword [rsp + 0x30]
call fcn.1400012fd
movzx eax, al
test eax, eax
je 0x140019a79
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140035020]
nop
call fcn.14000165e
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140019aad
mov rcx, qword [rsp + 0x38]
call fcn.1400012fd
movzx eax, al
test eax, eax
je 0x140019aad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.140019bd0
mov dword [rsp + 0x28], eax
call fcn.1400015c3
movzx eax, al
test eax, eax
jne 0x140019acc
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140019adb
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.1400012c1
mov eax, dword [rsp + 0x28]
jmp 0x140019b21
add rsp, 0x68
ret
Function at 0x140001cd0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001d1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001d1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001d1a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001d1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001d1c
xor al, al
add rsp, 0x28
ret
Function at 0x1400027c9
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, rdx
mov rsi, rdx
call sub.msvcrt.dll_strlen
mov rcx, rsi
mov r9, rbx
mov edx, 1
mov r8, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400146e8

Function at 0x140005574
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov ecx, 2
call qword [fcn.140014110]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.1400146e8

Function at 0x1400055b3
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x14003d0f0], 0
jne 0x1400055cb
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140005574
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.1400054f8
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x14003d0f0]
test rbx, rbx
je 0x1400055fc
test byte [rbx + 7], 0x40
jne 0x1400055fc
mov rcx, rbx
call fcn.1400038d0
lea rcx, [0x1400152a0]
call fcn.14000ee70
cmp byte [rax], 0
je 0x140005634
mov byte [rax], 0
lea rcx, [0x1400151e0]
call fcn.14000ee70
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003e2d
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x14000598a
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x14003d0c0]
xor ebx, ebx
lea r14, [0x1400152a0]
mov rsi, rcx
mov rdi, rdx
lea r13, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [fcn.140014110]
mov ecx, 1
cmp rbx, rdi
jl 0x140005a10
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14001737b]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.1400146e8
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movups xmmword [rsp + 0x20], xmm0
call fcn.1400058a0
mov rcx, r14
call fcn.14000ee70
cmp byte [rax], 0
jne 0x140005a42
inc rbx
jmp 0x1400059c3
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14000baa1
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x140015420], 0
je 0x14000bac0
mov edx, 1
jmp 0x14000bbff
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
xor edx, edx
mov rcx, qword [rax + 0x10]
xor eax, eax
mov r11, qword [rcx + 0x30]
test r11, r11
je 0x14000bb24
movsxd rdx, dword [r11 + 0x3c]
mov edx, dword [r11 + rdx + 0x88]
test edx, edx
je 0x14000bb1c
lea rax, [rdx + r11]
mov edx, dword [rax + 0xc]
add rdx, r11
mov r8d, dword [rdx]
or r8d, 0x20202020
cmp r8d, 0x6c64746e
jne 0x14000bb1c
mov edx, dword [rdx + 4]
or edx, 0x20202020
cmp edx, 0x6c642e6c
je 0x14000bb27
mov rcx, qword [rcx]
mov rdx, r11
jmp 0x14000bad5
mov r11, rdx
xor edx, edx
test rax, rax
je 0x14000bbff
mov ebp, dword [rax + 0x1c]
mov esi, dword [rax + 0x24]
xor r10d, r10d
lea r13, [0x140015424]
mov edx, dword [rax + 0x18]
mov eax, dword [rax + 0x20]
add rsi, r11
add rbp, r11
lea ebx, [rdx - 1]
add rax, r11
lea rdi, [rax + rbx*4]
add rbx, rbx
add rbx, rsi
mov ecx, dword [rdi]
add rcx, r11
cmp word [rcx], 0x775a
jne 0x14000bb93
mov eax, r10d
inc r10d
lea r12, [r13 + rax*8]
call fcn.14000ba79
mov dword [r12], eax
movzx eax, word [rbx]
mov eax, dword [rbp + rax*4]
mov dword [r12 + 4], eax
cmp r10d, 0x1f4
je 0x14000bba5
sub rdi, 4
lea rax, [rbx - 2]
cmp rsi, rbx
je 0x14000bba5
mov rbx, rax
jmp 0x14000bb5e
mov dword [0x140015420], r10d
lea r11, [0x140015424]
dec r10d
test r10d, r10d
je 0x14000bab6
lea rax, [0x140015420]
xor edx, edx
lea ecx, [rdx + 1]
mov r8d, dword [rax + 8]
mov rdx, rcx
lea rcx, [r11 + rcx*8]
mov r9d, dword [rcx + 4]
cmp r9d, r8d
jae 0x14000bbf1
mov ebx, dword [rax + 4]
mov esi, dword [rcx]
mov dword [rax + 8], r9d
mov dword [rax + 4], esi
mov dword [rcx], ebx
mov dword [rcx + 4], r8d
add rax, 8
cmp edx, r10d
jb 0x14000bbc8
dec r10d
jmp 0x14000bbb6
mov eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x14000bcd9
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3950907
call fcn.14000bc0e
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
nop
syscall
ret

Function at 0x14000bd1c
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8b19978d
call fcn.14000bc0e
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
nop
syscall
ret

Function at 0x14000bd5f
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x88a6285
call fcn.14000bc0e
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
nop
syscall
ret
Function at 0x14000c704
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14000c742
cmp word [rcx], 0x5a4d
jne 0x14000c742
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x14000c742
call fcn.140006be5
mov rcx, qword [0x1400395d0]
mov rbx, rax
call fcn.14000ee70
cmp byte [rax], 0
jne 0x14000c742
cmp dword [rbx], 0x4550
je 0x14000c744
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14000c797
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x19991f17
call fcn.14000bc0e
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
nop
syscall
ret

Function at 0x14000ce6f
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc85e88a6
call fcn.14000bc0e
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
nop
syscall
ret

Function at 0x14000ceb2
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8a92015
call fcn.14000bc0e
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
nop
syscall
ret

Function at 0x14000df80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140014110
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140014110
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000dff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14003d834]
mov rbx, rcx
test esi, esi
jle 0x14000e120
mov rax, qword [0x14003d838]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000e03b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000e0c5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000e020
mov rcx, rbx
call fcn.14000ea60
mov rdi, rax
test rax, rax
je 0x14000e142
mov rax, qword [0x14003d838]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000eba0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14003d838]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000e127
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000e0be
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000e0d0
add dword [0x14003d834], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14003d838]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000e0be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000df80
nop dword [rax]
xor esi, esi
jmp 0x14000e048
mov rax, qword [0x14003d838]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000df80
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000df80
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000e6d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14003d8a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14003d880]
test rbx, rbx
je 0x14000e72c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000e723
test eax, eax
jne 0x14000e723
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000e708
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000ea60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140039590]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000ea80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000ea88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000ea80
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000eadd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000ead4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000ea80
add rax, 0x28
cmp rax, r9
jne 0x14000eac0
xor eax, eax
ret

Function at 0x14000eae0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140039590]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000eaff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000eb08
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000eaff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000eba0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140039590]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000ebbf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000ebc8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret