joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073290
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400732aa
mov qword [r8], 0
lea rdx, [0x1400c1c0c]
call fcn.140073160
mov rbx, rax
test rax, rax
jne 0x1400732ca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400733a1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400733a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400733a1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400733a1
cmp rdi, 0xffffffffffffffff
je 0x1400733a1
mov rax, qword [0x14013b790]
test rax, rax
je 0x14007333e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400733a1
mov r9, rbx
mov r8, rdi
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, rdi
je 0x14007338e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14013b790]
test rax, rax
je 0x140073383
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400733aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14007339c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400733ac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140075850
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400bcd80]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x14013b790]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x1400758e6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140087d40
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140081f50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14013b790]
mov edi, ecx
cmp byte [rbx + 0x423d], 0
jne 0x140081fb1
cmp byte [rbx + 0x423e], 0
jne 0x140081fb1
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140072f70
test dil, 1
je 0x1400820d8
jmp 0x14008203a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400cfc2c]
mulss xmm1, dword [0x1400cfc08]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fa8], rax
mov dword [rbx + 0x3f94], 1
movss dword [rbx + 0x3fa0], xmm0
movss dword [rbx + 0x3fa4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400cfaf4]
or dword [rbx + 0x3f90], 0x41
movss dword [rbx + 0x3ff0], xmm0
call fcn.140072f70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140082090
lea r11, [0x1400bcd80]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140082073
cmp byte [r8], r9b
jne 0x140082073
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140082060
not ecx
call fcn.14007adf0
test rax, rax
je 0x1400820d8
cmp byte [rax + 0x96], 0
je 0x1400820d8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.140072f70
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14007d560
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b3750
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400869f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140086a97
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140086a4a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400888d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400737b0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14013b77e]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140086a9f
mov rcx, rbx
call fcn.1400737b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140087010
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14013b790]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140087073
mov qword [rsp], rbx
lea rbx, [0x1400bcd80]
nop dword [rax]
cmp r9b, 0x23
jne 0x140087053
cmp byte [r8], r9b
jne 0x140087053
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140087040
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400870a7
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400870ae
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140087094
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400b2a74
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 0x1400b2aae
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400b2ab3
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 0x1400b2afc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400b9e40]
cmp byte [rcx + rax], 0
je 0x1400b2afc
dec r8
sub rdx, 1
jne 0x1400b2ae2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400b32c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400b2b8c
mov ebx, eax
test eax, eax
jne 0x1400b32f0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400b3353
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b334a
test al, 0x10
je 0x1400b334a
bt eax, 0xa
jae 0x1400b3343
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400b3364
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400b333f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400b333f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400b334a
and dword [rsp + 0x3c], 0
jmp 0x1400b334f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b4454
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b449e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b449e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b449e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b449e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b449e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b44a0
xor al, al
add rsp, 0x28
ret
Function at 0x1400019b0
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 case.default.0x1400019d1
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 0x1400019fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001a00
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001a59
test ecx, ecx
jle 0x140001a39
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 0x140001a59
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001a59
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 0x140001a80
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 0x140001aa2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001ab1
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 0x140001ad4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001ad6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001b12
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 0x140001bae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001b4d
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 0x140001b8e
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 0x140001bae
cmp rbx, rax
ja 0x140001b60
test rbx, rbx
je 0x140001bae
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 0x140001fd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140001ffd
xor eax, eax
jmp 0x140002169
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002037
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002037
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 0x140002169
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000215c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000207a
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 0x1400020a5
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 0x140002161
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 0x140002114
sub eax, 1
je 0x140002114
cmp eax, 2
jne 0x14000215c
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 0x140002161
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002142
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 0x14000215c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002161
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002a00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400023f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400024c3
cmp byte [rcx + 0x71], 0
je 0x1400024c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400024bf
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 0x140002484
sub eax, 1
je 0x140002488
cmp eax, 2
jne 0x1400024bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002a00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400024b6
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 0x1400024bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000246c
xor al, al
jmp 0x14000246c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002a00
add rsp, 0x60
pop rbx
ret

Function at 0x140003394
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400033de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400033de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400033de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400033de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400033de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400033e0
xor al, al
add rsp, 0x28
ret

Function at 0x140001a34
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a7e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a7e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a7e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a7e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a7e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a80
xor al, al
add rsp, 0x28
ret
Function at 0x1800014f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
add rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x20]
mov rsi, rdx
mov qword [rsp + 0x50], rax
mov eax, 0xda9dddcd
xor ebx, ebx
jmp 0x180001550
mov eax, 0xc6226948
xor r14d, r14d
nop word [rax + rax]
cmp eax, 0xee6fae80
jle 0x1800015a0
cmp eax, 0x2b5ff3f3
jle 0x1800015e0
cmp eax, 0x2b5ff3f4
je 0x18000167d
cmp eax, 0x5977b748
je 0x18000169f
cmp eax, 0x78dc70a8
jne 0x180001550
cmp r13d, 2
mov eax, 0xc6226948
mov ecx, 0xd7e094b1
cmove eax, ecx
mov r14, rdi
jmp 0x180001550
cmp eax, 0xd7e094b0
jg 0x180001640
cmp eax, 0xa4abe0a9
je 0x1800016b4
cmp eax, 0xcbc6ba18
jne 0x1800016fe
mov ebx, dword [rsp + 0x2c]
add ebx, 1
mov rbp, qword [rsp + 0x48]
mov eax, 0xda9dddcd
jmp 0x180001550
cmp eax, 0xee6fae81
je 0x1800016c6
cmp eax, 0x2a98b0af
jne 0x180001550
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rax + rcx*2]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1c]
add rcx, qword [rsp + 0x20]
mov r12d, dword [rcx + rax*4]
add r12, qword [rsp + 0x20]
mov eax, 0x2b5ff3f4
mov r15d, 1
jmp 0x180001550
cmp eax, 0xd7e094b1
je 0x180001542
cmp eax, 0xda9dddcd
jne 0x180001550
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x2c], ebx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x2c]
cmp ecx, dword [rax + 0x18]
mov eax, 0x5977b748
mov ecx, 0xee6fae81
cmovb eax, ecx
jmp 0x180001550
mov qword [rsp + 0x48], r12
test r15d, r15d
mov eax, 0x78dc70a8
mov ecx, 0xcbc6ba18
cmove eax, ecx
mov rdi, qword [rsp + 0x48]
mov r13d, r15d
jmp 0x180001550
mov eax, 0x78dc70a8
mov r13d, 2
mov rdi, qword [rsp + 0x40]
jmp 0x180001550
mov eax, 0x2b5ff3f4
xor r15d, r15d
mov r12, qword [rsp + 0x40]
jmp 0x180001550
movsxd rax, dword [rsp + 0x2c]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rax + rcx*4]
add rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.18000a280
test eax, eax
mov eax, 0xa4abe0a9
mov ecx, 0x2a98b0af
cmove eax, ecx
jmp 0x180001550
cmp eax, 0xc6226948
jne 0x180001550
mov rax, r14
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180005bc0
Capabilities:
Parse pe header

Disassembly:
push rsi
sub rsp, 0x18
test rcx, rcx
mov eax, 0x6d3f5d1f
mov r11d, 0xf649dd10
cmove r11d, eax
mov edx, 0x9096e4d
jmp 0x180005bf0
mov edx, 0x1e325225
mov rax, r8
nop word cs:[rax + rax]
mov esi, edx
cmp edx, 0x9096e4c
jle 0x180005c40
cmp esi, 0x1e325224
jle 0x180005ca0
cmp esi, 0x5d6ee02f
jle 0x180005d0f
cmp esi, 0x5d6ee030
je 0x180005d28
mov edx, esi
cmp esi, 0x6d3f5d1f
jne 0x180005bf0
mov edx, 0x1e325225
xor eax, eax
jmp 0x180005bf0
cmp esi, 0xe6bc4c71
jg 0x180005ce0
cmp esi, 0xb9636669
je 0x180005bde
cmp esi, 0xc560053d
je 0x180005d35
mov edx, esi
cmp esi, 0xdc90e82f
jne 0x180005bf0
movsxd rdx, dword [rsp + 4]
add rdx, rcx
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x10]
cmp dword [rdx], 0x4550
mov edx, 0x14697bc6
je 0x180005bf0
mov edx, 0xf69aefa
jmp 0x180005bf0
mov edx, r11d
cmp esi, 0x9096e4d
je 0x180005bf0
cmp esi, 0xf69aefa
je 0x180005d42
mov edx, esi
cmp esi, 0x14697bc6
jne 0x180005bf0
mov edx, 0xc560053d
mov r10, qword [rsp + 0x10]
jmp 0x180005bf0
cmp esi, 0xe6bc4c72
je 0x180005d4f
cmp esi, 0xf649dd10
je 0x180005d7a
mov edx, esi
cmp esi, 0x748604e
jne 0x180005bf0
mov edx, 0x5d6ee030
xor r9d, r9d
jmp 0x180005bf0
cmp esi, 0x4734e101
jne 0x180005da2
mov edx, 0xb9636669
xor r8d, r8d
jmp 0x180005bf0
mov edx, 0xb9636669
mov r8, r9
jmp 0x180005bf0
mov edx, 0x5d6ee030
mov r9, r10
jmp 0x180005bf0
mov edx, 0xc560053d
xor r10d, r10d
jmp 0x180005bf0
mov rdx, qword [rsp + 8]
mov edx, dword [rdx + 0x3c]
mov dword [rsp + 4], edx
mov esi, dword [rsp + 4]
mov edx, 0x748604e
cmp esi, 0x400
jg 0x180005bf0
mov edx, 0xdc90e82f
jmp 0x180005bf0
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 8]
movzx esi, word [rdx]
mov edx, 0xe6bc4c72
cmp esi, 0x5a4d
je 0x180005bf0
mov edx, 0x4734e101
jmp 0x180005bf0
mov edx, esi
cmp esi, 0x1e325225
jne 0x180005bf0
add rsp, 0x18
pop rsi
ret
Function at 0x18000f958
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000f988
xor eax, eax
jmp 0x18000fa4b
mov rbp, rbx
cmp word [rax], si
je 0x18000f9ad
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000f994
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000f990
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000f878
movsxd r14, eax
test eax, eax
jne 0x18000f9eb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000f981
mov rcx, r14
call fcn.18000fb6c
mov rdi, rax
test rax, rax
jne 0x18000fa04
xor ecx, ecx
call fcn.18000df10
jmp 0x18000f9e0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000f878
test eax, eax
jne 0x18000fa35
mov rcx, rdi
call fcn.18000df10
jmp 0x18000fa3f
xor ecx, ecx
call fcn.18000df10
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000b900]
mov dword [rax], 1
mov rax, qword [0x14000b910]
mov dword [rax], 1
mov rax, qword [0x14000b920]
mov dword [rax], 1
mov rax, qword [0x14000b8c0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret