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

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rdi
push r14
push r15
sub rsp, 0x28
test byte [0x1400167ec], 0x20
lea r15, [rax + 0x18]
mov ebx, 2
mov edi, ecx
lea r14d, [rbx + 2]
je 0x140003e8b
mov eax, 0x10624dd3
mul edx
shr edx, 6
cmp edx, r14d
je 0x140003f64
call fcn.140004044
test edi, edi
je 0x140003eac
mov rdx, qword [0x140027490]
lea rcx, str._s__u__:
mov r8d, edi
call fcn.14000c40c
jmp 0x140003eb8
lea rcx, str.NMAKE_:
call fcn.14000c40c
mov eax, 0x10624dd3
mul dword [rsp + 0x58]
mov edi, edx
shr edi, 6
mov eax, edi
sub eax, 1
je 0x140003ee9
sub eax, 1
je 0x140003ee2
cmp eax, ebx
jne 0x140003eff
mov ecx, 0x16
call fcn.140003f70
jmp 0x140003eff
mov ecx, 0x15
jmp 0x140003edb
mov ecx, 0x14
call fcn.140003f70
cmp dword [rsp + 0x58], 0x41b
cmove ebx, r14d
mov edx, dword [rsp + 0x58]
lea rcx, str._U_04d:
call fcn.14000c40c
mov ecx, dword [rsp + 0x58]
call fcn.14000c1b4
mov rcx, rax
mov rdx, r15
call fcn.14000c4cc
call fcn.14000c434
cmp byte [0x140038092], 0
jne 0x140003f45
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
cmp edi, 1
jne 0x140003f64
lea rcx, str.Stop._n
call fcn.14000c40c
call fcn.14000c110
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rbx
ret
Function at 0x14000c1b4
Capabilities:
Extract resource via kernel32 functions
Resolve path using msvcrt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x680
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x670], rax
xor ebx, ebx
mov esi, ecx
cmp byte [0x14003e920], bl
jne 0x14000c2a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x260]
mov edi, pe_nt_image_headers64
lea r8d, [rbx + 3]
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea r9, [rsp + 0x260]
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea edx, [rdi + 4]
lea rcx, [rsp + 0x460]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmakepath_s]
or r9, 0xffffffffffffffff
lea r8, str.UI.DLL
mov edx, edi
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
test eax, eax
jne 0x14000c28e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x460]
call fcn.14000a074
test eax, eax
js 0x14000c28e
mov rdi, qword [0x14003e928]
jmp 0x14000c298
mov rdi, rbx
mov qword [0x14003e928], rbx
mov byte [0x14003e920], 1
jmp 0x14000c2a8
mov rdi, qword [0x14003e928]
movzx r9d, word [0x14003e930]
mov eax, esi
shr eax, 4
mov edx, 6
inc ax
mov rcx, rdi
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14000c308
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
test rax, rax
je 0x14000c308
and esi, 0xf
je 0x14000c2f8
movzx eax, word [rcx]
lea rcx, [rcx + rax*2]
add rcx, 2
add esi, 0xffffffff
jne 0x14000c2e8
movzx eax, word [rcx]
add rcx, 2
neg ax
sbb rbx, rbx
and rbx, rcx
mov rax, rbx
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.1400106c0
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007d4bf
Capabilities:
Write file on windows

Disassembly:
jmp 0x140154330
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, [0x1402224c3]
call fcn.14008004d
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140154387
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 0x140154493
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 0x14015442c
cmp qword [rbp + 0x28], 0
jle 0x14015442c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1401543cc
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.14007fd1e
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 0x140154482
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140154482
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 0x14007d564
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
jmp 0x140089430
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140207278]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140222121]
call fcn.14008004d
mov qword [rbp + 8], 0
mov dword [rbp + 0x28], 0x4c415354
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x2c], eax
mov dword [rbp + 0x30], 0x900000
mov qword [rbp + 0x38], 5
lea rax, [rbp + 8]
mov qword [rbp + 0x40], rax
lea r9, [rbp + 0x2c]
mov r8d, 0x28
lea rdx, [rbp + 0x28]
mov ecx, 0x4c
call fcn.14007f436
mov rax, qword [rbp + 0x38]
imul rax, qword [rbp + 0x38]
cmp qword [rbp + 8], rax
jne 0x1400894db
mov dword [rbp + 0x114], 1
jmp 0x1400894e5
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.XINPUT1_4.dll_Ordinal_2
call fcn.14007f855
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14007e739
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x14007d901
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140159440
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 rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x140207278]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x140222791]
call fcn.14008004d
mov dword [rbp + 8], 0x4c415354
mov dword [rbp + 0x10], 0x300000
mov rax, qword [rbp + 0x120]
mov eax, dword [rax]
mov dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 0xc
lea r9, [rbp + 0xc]
mov r8d, 0x28
lea rdx, [rbp + 8]
mov ecx, 0x4c
call fcn.14007f436
lea rcx, [rbp - 0x20]
lea rdx, [0x1401ba6f0]
call fcn.14007f855
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14007e739
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14007d929
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140160d30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x140222798]
call fcn.14008004d
mov dword [rbp + 4], 0x811c9dc5
xor edx, edx
mov rcx, qword [rbp + 0x140]
call fcn.14007ff3a
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x48], 0
jmp 0x140160d7d
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x48], rax
jae 0x140160dad
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x140]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rbp + 4], eax
jmp 0x140160d72
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14007defb
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140089560
mov dword [rsp + 0x20], r9d
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 rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x140207278]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x140222121]
call fcn.14008004d
mov dword [rbp + 8], 0x4c415354
mov dword [rbp + 0x10], 0x200000
mov rax, qword [rbp + 0x120]
mov eax, dword [rax]
mov dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x20], rax
mov eax, dword [rbp + 0x138]
mov dword [rbp + 0x28], eax
lea r9, [rbp + 0xc]
mov r8d, 0x28
lea rdx, [rbp + 8]
mov ecx, 0x4c
call fcn.14007f436
lea rcx, [rbp - 0x20]
lea rdx, [0x140185190]
call fcn.14007f855
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14007e739
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14007e2fc
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400ba6d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
lea rcx, [0x1402221cd]
call fcn.14008004d
mov rax, qword [0x140207bb8]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
xorps xmm0, xmm0
movss dword [rax + 0x2ee8], xmm0
cmp qword [rbp + 0x160], 0
jne 0x1400ba72e
jmp 0x1400ba784
mov qword [rbp + 0x28], 0
lea rcx, [rbp + 0x28]
call fcn.1400803e0
mov qword [rbp + 0x48], rax
lea rdx, [0x14018eee0]
mov rcx, qword [rbp + 0x160]
call fcn.14007e41e
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400ba763
jmp 0x1400ba784
mov r9, qword [rbp + 0x68]
mov r8, qword [rbp + 0x28]
mov edx, 1
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_fclose]
lea rcx, [rbp - 0x20]
lea rdx, [0x140186d60]
call fcn.14007f855
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14007e428
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140158e30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x180
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140207278]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x140222791]
call fcn.14008004d
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rbp + 0x68], 0x4c415354
mov dword [rbp + 0x70], 0x200000
mov rax, qword [rbp + 0x180]
mov eax, dword [rax]
mov dword [rbp + 0x6c], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x78], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x88], 0x40
lea r9, [rbp + 0x6c]
mov r8d, 0x28
lea rdx, [rbp + 0x68]
mov ecx, 0x4c
call fcn.14007f436
lea rax, [rbp + 0x10]
mov rdi, qword [rbp + 0x188]
mov rsi, rax
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x188]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.XINPUT1_4.dll_Ordinal_2
call fcn.14007f855
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14007e739
lea rsp, [rbp + 0x160]
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007e766
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140158d00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140207278]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x140222791]
call fcn.14008004d
lea rcx, [rbp + 8]
call fcn.14007e720
mov dword [rbp + 0x38], 0x4c415354
mov dword [rbp + 0x40], 0x200000
mov rax, qword [rbp + 0x150]
mov eax, dword [rax]
mov dword [rbp + 0x3c], eax
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 8]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 0xc
lea r9, [rbp + 0x3c]
mov r8d, 0x28
lea rdx, [rbp + 0x38]
mov ecx, 0x4c
call fcn.14007f436
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x158]
call fcn.14007ee9b
mov rax, qword [rbp + 0x158]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.XINPUT1_4.dll_Ordinal_2
call fcn.14007f855
mov rax, rdi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.14007e739
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14007eaf4
Capabilities:
Terminate process

Disassembly:
jmp 0x140176dd0
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 0x14007f062
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x1400892f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x150
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140207278]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x140222121]
call fcn.14008004d
mov dword [rbp + 8], 0x4c415354
mov rax, qword [rbp + 0x150]
mov eax, dword [rax]
mov dword [rbp + 0xc], eax
mov dword [rbp + 0x10], 0x600000
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x50], 0
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0x48]
mov qword [rbp + 0x20], rax
lea r9, [rbp + 0xc]
mov r8d, 0x28
lea rdx, [rbp + 8]
mov ecx, 0x4c
call fcn.14007f436
lea rax, [rbp + 0x48]
mov rdi, qword [rbp + 0x158]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x158]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.XINPUT1_4.dll_Ordinal_2
call fcn.14007f855
mov rax, rdi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.14007e739
lea rsp, [rbp + 0x130]
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007f0da
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1400a4bf0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1402221cd]
call fcn.14008004d
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x140185500]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1400a4d28
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1400a4c89
mov dword [rbp + 0x160], 1
jmp 0x1400a4c93
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1400a4d23
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x64], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1400a4cfd
cmp qword [rbp + 0x198], 2
jb 0x1400a4cfd
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400a4cfd
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400a4cfd
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400a4c54
jmp 0x1400a4db5
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x84], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1400a4db5
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1400a4d8c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400a4d8c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400a4d8c
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400a4d28
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14007f17a
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400a4330
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1402221cd]
call fcn.14008004d
cmp qword [rbp + 0x160], 0
je 0x1400a4372
cmp qword [rbp + 0x168], 0
jne 0x1400a4393
mov eax, dword [0x1401d701c]
inc eax
mov r8d, eax
lea rdx, str.C:UsersuserDownloadsdayz_external_mainimguiimgui.cpp
lea rcx, str.filename__file_open_mode
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
cmp qword [rbp + 0x170], 0
je 0x1400a43ab
mov rax, qword [rbp + 0x170]
mov qword [rax], 0
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call fcn.14007e41e
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400a43d0
xor eax, eax
jmp 0x1400a44dc
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
jne 0x1400a440c
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_ftell]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
je 0x1400a440c
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
je 0x1400a441d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
xor eax, eax
jmp 0x1400a44dc
movsxd rax, dword [rbp + 0x24]
mov qword [rbp + 0x48], rax
movsxd rax, dword [rbp + 0x178]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14007de79
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400a445a
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
xor eax, eax
jmp 0x1400a44dc
mov r9, qword [rbp + 8]
mov r8, qword [rbp + 0x48]
mov edx, 1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_fread]
cmp rax, qword [rbp + 0x48]
je 0x1400a448e
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rcx, qword [rbp + 0x68]
call fcn.14007f9c2
xor eax, eax
jmp 0x1400a44dc
cmp dword [rbp + 0x178], 0
jle 0x1400a44b6
movsxd rax, dword [rbp + 0x178]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x68]
add rdx, rcx
mov rcx, rdx
mov r8, rax
xor edx, edx
call fcn.14007f4c2
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
cmp qword [rbp + 0x170], 0
je 0x1400a44d8
mov rax, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x48]
mov qword [rax], rcx
mov rax, qword [rbp + 0x68]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14007f1ed
Capabilities:
Parse pe header

Disassembly:
jmp 0x140178d10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140178d30
xor al, al
jmp 0x140178db1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140178d43
xor al, al
jmp 0x140178db1
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 0x140178d6d
xor al, al
jmp 0x140178db1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140178d81
xor al, al
jmp 0x140178db1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140178d93
xor al, al
jmp 0x140178db1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140178daf
xor al, al
jmp 0x140178db1
mov al, 1
add rsp, 0x38
ret
Function at 0x14007f378
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140158f80
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x250
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x140207278]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x140222791]
call fcn.14008004d
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
mov dword [rbp + 0x138], 0x4c415354
mov dword [rbp + 0x140], 0x200000
mov rax, qword [rbp + 0x250]
mov eax, dword [rax]
mov dword [rbp + 0x13c], eax
mov rax, qword [rbp + 0x260]
mov qword [rbp + 0x148], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x150], rax
mov dword [rbp + 0x158], 0x108
lea r9, [rbp + 0x13c]
mov r8d, 0x28
lea rdx, [rbp + 0x138]
mov ecx, 0x4c
call fcn.14007f436
lea rax, [rbp + 0x10]
mov rdi, qword [rbp + 0x258]
mov rsi, rax
mov ecx, 0x108
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x258]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.XINPUT1_4.dll_Ordinal_2
call fcn.14007f855
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.14007e739
lea rsp, [rbp + 0x230]
pop rdi
pop rsi
pop rbp
ret