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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140004258
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000427e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004280
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400042d9
test ecx, ecx
jle 0x1400042b9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400042d9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400042d9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140004300
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140004322
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140004338
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004354
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004356
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004392
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000442e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400043cd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000440e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000442e
cmp rbx, rax
ja 0x1400043e0
test rbx, rbx
je 0x14000442e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140004890
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400048bd
xor eax, eax
jmp 0x140004a29
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400048f7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400048f7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004a29
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004a1c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000493a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004965
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004a21
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400049d4
sub eax, 1
je 0x1400049d4
cmp eax, 2
jne 0x140004a1c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004a21
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004a02
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140004a1c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004a21
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400070f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004f10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004fe3
cmp byte [rcx + 0x71], 0
je 0x140004fe3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004fdf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004fa4
sub eax, 1
je 0x140004fa8
cmp eax, 2
jne 0x140004fdf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400070f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004fd6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140004fdf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004f8c
xor al, al
jmp 0x140004f8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400070f0
add rsp, 0x60
pop rbx
ret

Function at 0x1400069ec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140006a26
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140006a2b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140006a74
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140009560]
cmp byte [rcx + rax], 0
je 0x140006a74
dec r8
sub rdx, 1
jne 0x140006a5a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140007ca0
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14001f730
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, [0x14003a0ed]
call fcn.140011a5a
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001f787
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 0x14001f893
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 0x14001f82c
cmp qword [rbp + 0x28], 0
jle 0x14001f82c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001f7cc
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.1400119bf
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]
cmp qword [rbp + 0x130], 0
jle 0x14001f882
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001f882
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 0x140011267
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x140019570
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x14003a0fd]
call fcn.140011a5a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call fcn.1400113f7
mov qword [rbp + 0x28], rax
mov r9d, 0x18
lea r8, [rbp + 0x48]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.1400112d0
mov rdx, qword [rbp + 0x48]
lea rcx, str.Base_Address:_0x_llu_n
call fcn.1400114a1
mov rdx, qword [rbp + 0x48]
lea rcx, str.Base_Address:_0x_llu_n
call fcn.1400114a1
mov edx, dword [rbp + 0x50]
lea rcx, str.Image_Size:____u_n
call fcn.1400114a1
mov rdx, qword [rbp + 0x58]
lea rcx, str.Entry_Point:__0x_llu_n
call fcn.1400114a1
lea rcx, [0x14002cacc]
call fcn.1400114a1
mov rax, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x48]
mov qword [rax], rcx
mov eax, dword [rbp + 0x50]
mov rcx, qword [rbp + 0x178]
mov qword [rcx], rax
mov eax, dword [rbp + 0x50]
lea r9, [rbp + 0x74]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002b200]
call fcn.140011893
mov eax, edi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400114c9
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1400113f7
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
jmp 0x1400193a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14003a0fd]
call fcn.140011a5a
mov qword [rbp + 8], 0
lea r9, [rbp + 0x64]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x1c0]
call fcn.140011104
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
je 0x14001941b
cmp dword [rbp + 0x64], 0
jne 0x140019432
lea rcx, str.____Error_enumerating_process_modules_n
call fcn.1400114a1
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [rbp + 0x64]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140019464
lea rcx, str.____Error_allocating_memory_to_store_process_modules_handles_n
call fcn.1400114a1
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [rbp + 0x64]
xor edx, edx
mov ecx, 8
div rcx
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x28], rax
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x1c0]
call fcn.140011104
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
jne 0x1400194bd
lea rcx, str.____Error_enumerating_process_modules_n
call fcn.1400114a1
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx + rax]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002b130]
call fcn.140011893
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.1400114c9
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140011523
Capabilities:
Terminate process

Disassembly:
jmp 0x140019090
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14003a0fd]
call fcn.140011a5a
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 8]
call fcn.140011267
cmp qword [rbp + 0x28], 0
ja 0x140019119
lea rcx, str.____Error_detecting_main_module_size
call fcn.1400114a1
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov qword [rbp + 0x48], 0
mov ecx, 0x40
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, str.Starting_search_from:_0x_llu_n
call fcn.1400114a1
mov rax, qword [rbp + 0x28]
sub rax, 8
cmp qword [rbp + 0x48], rax
jae 0x1400192b2
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
xor eax, eax
test eax, eax
je 0x140019198
mov rdx, qword [rbp + 0xa8]
lea rcx, str.Searching_at_0x_llu_n
call fcn.1400114a1
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 8
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0xa8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1400191dd
lea rcx, str.____Error_reading_from_memory_n
call fcn.1400114a1
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
cmp qword [rbp + 0x88], 8
je 0x1400191f8
lea rcx, str.____Error_reading_from_memory_n
call fcn.1400114a1
jmp 0x14001914d
xor eax, eax
test eax, eax
je 0x140019253
mov dword [rbp + 0xc4], 0
jmp 0x140019218
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
movsxd rax, dword [rbp + 0xc4]
cmp rax, qword [rbp + 0x88]
jae 0x140019247
movsxd rax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0x68]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, str._02x
call fcn.1400114a1
jmp 0x14001920a
lea rcx, [0x14002cacc]
call fcn.1400114a1
mov r8d, 8
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x1c0]
call fcn.140011393
test eax, eax
jne 0x1400192ad
mov rdx, qword [rbp + 0xa8]
lea rcx, str.Found_at__llu_n
call fcn.1400114a1
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 8
mov r8, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0xa8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x14001914d
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, str.Ended_search_at:___0x_llu_n
call fcn.1400114a1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_free]
lea rcx, [rbp - 0x30]
lea rdx, [0x14002b330]
call fcn.140011893
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.1400114c9
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret

Function at 0x140011582
Capabilities:
Create thread

Disassembly:
jmp 0x14001ffe3
jmp qword [sym.imp.ntdll.dll_NtCreateThreadEx]
Function at 0x1400115b4
Capabilities:
Terminate process

Disassembly:
jmp 0x140022960
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011744
Capabilities:
Parse pe header

Disassembly:
jmp 0x140023490
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400234b0
xor al, al
jmp 0x140023531
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400234c3
xor al, al
jmp 0x140023531
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400234ed
xor al, al
jmp 0x140023531
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140023501
xor al, al
jmp 0x140023531
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140023513
xor al, al
jmp 0x140023531
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002352f
xor al, al
jmp 0x140023531
mov al, 1
add rsp, 0x38
ret
Function at 0x140011a37
Capabilities:
Write file on windows

Disassembly:
jmp 0x140019db0
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 [0x140032040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14003a0ed]
call fcn.140011a5a
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140019e16
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140019e1d
mov al, 1
jmp 0x140019f6d
call fcn.1400112bc
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.1400112bc
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011834
movzx eax, al
test eax, eax
je 0x140019e6e
xor al, al
jmp 0x140019f6d
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 0x140019ed3
cmp dword [rbp + 0x154], 1
je 0x140019ede
cmp dword [rbp + 0x154], 3
je 0x140019f5c
jmp 0x140019f6b
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 0x140019f2e
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 0x140019f2e
xor al, al
jmp 0x140019f6d
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140019f49
mov dword [rbp + 0x154], 1
jmp 0x140019f53
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140019f6d
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140019f6d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002c0d0]
call fcn.140011893
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400114c9
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret

Function at 0x140c6b4dc
Capabilities:
Encode data using xor

Disassembly:
popfq
lea rsp, [rsp + 0x40]
call fcn.140ce676d
pop rbx
invalid
jbe 0x1406f6357
call fcn.14072dab2
mov rdx, qword [rsp + 0x20]
and rsi, 0x6b923d35
cmp si, 0x547c
lea rsi, [rsi + rsi*2 + 0x103a2f75]
mov esi, 0x1c12429
mov rsi, qword [rsp + 8]
call fcn.1407a8e8f
mov ebx, 0x58cd5002
xchg edx, eax
or al, 0x52
loope 0x140c6b551
cmc
xchg esp, eax
invalid
movabs al, byte [0x1fe69a087d2cdfdd]
movabs byte [0xa44592c88380cef], al
invalid
Function at 0x140005e20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140005e39
mov qword [r8], 0
lea rdx, [0x140037ad8]
call fcn.140005c30
mov rbx, rax
test rax, rax
jne 0x140005e58
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005f18
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140005f18
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005f18
mov rax, qword [0x140042928]
mov rbp, rsi
test rax, rax
je 0x140005eb5
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140005f18
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140005f05
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140042928]
test rax, rax
je 0x140005efa
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140005f21
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140005f13
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140005f23
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret