joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2f45a8990
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x2f45a8a90
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.2f45a72f0
cmp esi, dword [rbx + 0x48]
jae 0x2f45a8a10
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.2f45a7330
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x2f45a8a9d
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x2f45a8a9d
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x2f45a89df
call fcn.2f45a7bc0
mov rbx, rax
jmp 0x2f45a89ca
mov rcx, r13
call fcn.2f45a7330
mov eax, 0xc
jmp 0x2f45a89fd

Function at 0x2f45a8b20
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x2f45a8b48
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.2f45a7bc0
test rax, rax
jne 0x2f45a8b3a
add rsp, 0x28
ret

Function at 0x2f45a8bb0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x2f45a8bd8
add rax, 0x18
add rsp, 0x28
ret
call fcn.2f45a7bc0
test rax, rax
jne 0x2f45a8bca
jmp 0x2f45a8bce

Function at 0x2f45a8cf0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x2f46f3cb8]
test eax, eax
jne 0x2f45a8d08
xor eax, eax
add rsp, 0x28
ret
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x2f45a8d38
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x2f45a8cfe
test byte [rax + 0x40], 3
je 0x2f45a8cfe
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x2f45a8d00
call fcn.2f45a7bc0
test rax, rax
jne 0x2f45a8d1e
jmp 0x2f45a8cfe

Function at 0x2f45a8d50
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x2f45a8d90
test ebx, ebx
jle 0x2f45a8d80
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.2f45a7bc0
test rax, rax
jne 0x2f45a8d6d
add rsp, 0x20
pop rbx
ret
Function at 0x2f45a8e80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x2f45a8ef8
test byte [rbx + 0x40], 0xc
jne 0x2f45a8eaf
mov eax, dword [0x2f46f3cb8]
test eax, eax
jne 0x2f45a8ec0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.2f45a6cf0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x2f45a8ee3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x2f45a8ee3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x2f45a8f0c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.2f45a6fe0
call fcn.2f45a7bc0
mov rbx, rax
test rax, rax
jne 0x2f45a8e9f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x2f45a8f2a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.2f45a6fe0
call fcn.2f45a8da0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x2f45a8fb0
call fcn.2f45a6a80
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x2f45a8fe8
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x2f45a9040
test esi, esi
je 0x2f45a8fc6
call fcn.2f45a8e80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x2f45a9020
mov edx, edi
call fcn.2f45a6b50
call fcn.2f45a8e80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x2f45a9030
call fcn.2f45a8e80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.2f45a8e80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x2f45a8f85
call fcn.2f45a7bc0
mov rbx, rax
jmp 0x2f45a8f85
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2f45a8f9e
call fcn.2f45a7bc0
jmp 0x2f45a8fc6
call fcn.2f45a7bc0
mov rbx, rax
jmp 0x2f45a8f81
Function at 0x2f45a8f40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x2f45a8ef8
test byte [rbx + 0x40], 0xc
jne 0x2f45a8eaf
mov eax, dword [0x2f46f3cb8]
test eax, eax
jne 0x2f45a8ec0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.2f45a6cf0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x2f45a8ee3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x2f45a8ee3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x2f45a8f0c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.2f45a6fe0
call fcn.2f45a7bc0
mov rbx, rax
test rax, rax
jne 0x2f45a8e9f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x2f45a8f2a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.2f45a6fe0
call fcn.2f45a8da0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x2f45a8fb0
call fcn.2f45a6a80
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x2f45a8fe8
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x2f45a9040
test esi, esi
je 0x2f45a8fc6
call fcn.2f45a8e80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x2f45a9020
mov edx, edi
call fcn.2f45a6b50
call fcn.2f45a8e80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x2f45a9030
call fcn.2f45a8e80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.2f45a8e80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x2f45a8f85
call fcn.2f45a7bc0
mov rbx, rax
jmp 0x2f45a8f85
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2f45a8f9e
call fcn.2f45a7bc0
jmp 0x2f45a8fc6
call fcn.2f45a7bc0
mov rbx, rax
jmp 0x2f45a8f81

Function at 0x2f45a9050
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.2f45a7b10
mov ecx, dword [0x2f46c18d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x2f45a90c0
test esi, esi
je 0x2f45a90a0
call fcn.2f45a8e80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x2f45a90d0
mov edx, esi
call fcn.2f45a6b50
call fcn.2f45a8e80
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.2f45a8e80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.2f45a8e80
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.2f45a7bc0
mov rbx, rax
jmp 0x2f45a9071
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2f45a908a
Function at 0x2f45ab410
Capabilities:
Create thread
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x2f45ab440
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp qword [sym.imp.msvcrt.dll__beginthreadex]
Function at 0x2f460d060
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x2f460d0a8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x2f460d07a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [str.x__]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [str.t__]
mov dword [rax], 1
mov rax, qword [str.p__]
mov dword [rax], 1
mov rax, qword [0x1402a0dd0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1402a0e10]
mov dword [0x1402a400c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1402a0ee0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1402a0ec0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1402a0d80]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140124600
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140124670
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1402a40a4]
mov rbx, rcx
test esi, esi
jle 0x1401247a0
mov rax, qword [0x1402a40a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1401246bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140124745
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401246a0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1401247c2
mov rax, qword [0x1402a40a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1402a40a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401247a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14012473e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140124750
add dword [0x1402a40a4], 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 [0x1402a40a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14012473e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1401246c8
mov rax, qword [0x1402a40a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140124d30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1402a4100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402a40e0]
test rbx, rbx
je 0x140124d8c
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 eax, eax
jne 0x140124d83
test rsi, rsi
je 0x140124d83
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140124d68
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 0x140124fa0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140124fb8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140124fc0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140124fd0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14012501d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140125014
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14012501f
add rax, 0x28
cmp rax, r9
jne 0x140125000
xor eax, eax
ret

Function at 0x140125020
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1401250b0
mov rdx, qword [0x1402a0dd0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14012509e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14012509e
cmp word [rax + 0x18], 0x20b
jne 0x14012509e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1401250b0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140125089
add rbx, 0x28
cmp rbx, rdi
je 0x1401250b0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140125080
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1401250c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402a0dd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401250e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401250e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401250e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14012513d
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 0x140125134
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401250e0
add rax, 0x28
cmp rax, r9
jne 0x140125120
xor eax, eax
ret

Function at 0x140125140
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402a0dd0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14012515f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140125168
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14012515f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140125180
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1402a0dd0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1401251a0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1401251a8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1401251a0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1401251f0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1401251e7
test rcx, rcx
je 0x1401251a0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1401251d8
xor eax, eax
ret

Function at 0x140125200
Capabilities:
Parse pe header

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

Function at 0x140125240
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402a0dd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140125260
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140125268
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140125260
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140125260
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1401252b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1401252c0
add rdx, 0x28
cmp r9, rdx
jne 0x1401252a0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1401252d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1402a0dd0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1401252f2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140125300
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401252f2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1401252f2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1401252f2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140125355
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140125368
add rdx, 0x28
cmp rdx, r10
jne 0x140125340
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140125377
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140125387
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14012535e
test ecx, ecx
jg 0x140125370
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14001e030
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x2f], dl
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x40], ecx
mov byte [rsp + 0x47], dl
mov edx, 8
call fcn.140019dc0
mov ecx, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x3c], 0xff
mov edx, dword [rsp + 0x3c]
call fcn.140019c10
mov dl, byte [rsp + 0x2f]
xor al, dl
movzx eax, al
mov qword [rsp + 0x30], rax
cmp rax, 0x100
setb al
test al, 1
jne 0x14001e084
jmp 0x14001e0aa
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
lea rax, [0x141bc6950]
mov eax, dword [rax + rdx*4]
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
call fcn.140019c30
nop
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x30]
lea r8, [0x141bc6920]
mov edx, pe_nt_image_headers64
call fcn.140083fb0
int3
Function at 0x140041ec0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x28], r8
mov rax, rdx
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
xor eax, 0xffffffff
mov dword [rsp + 0x3c], eax
call fcn.140040950
mov rcx, rax
call fcn.1400411c0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rcx, [rsp + 0x40]
call fcn.140041270
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x140041f3e
mov eax, dword [rsp + 0x3c]
xor eax, 0xffffffff
add rsp, 0x78
ret
mov rax, qword [rsp + 0x50]
mov cl, byte [rax]
mov byte [rsp + 0x77], cl
mov eax, dword [rsp + 0x3c]
xor al, cl
movzx eax, al
mov qword [rsp + 0x20], rax
cmp rax, 0x100
setb al
test al, 1
jne 0x140041f66
jmp 0x140041f84
mov rcx, qword [rsp + 0x20]
lea rax, [0x141bcbf0c]
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x3c]
shr ecx, 8
xor eax, ecx
mov dword [rsp + 0x3c], eax
jmp 0x140041f09
mov rcx, qword [rsp + 0x20]
lea r8, [0x141bcbed8]
mov edx, pe_nt_image_headers64
call fcn.140083fb0
int3
Function at 0x14004a210
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x14004a2b0
jmp 0x14004a29f
jae 0x14004a370
cmp r8, 0x201
jae 0x14004a2b0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14004a308
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14004a2df
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140083140
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14004a331
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14004a3d8
mov r8d, r14d
cmp r15, r8
jne 0x14004a290
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14004a405
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14004a29f
jmp 0x14004a2b0
cmp rsi, r8
jb 0x14004a41f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14004de10
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x14004a3c1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400179b0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x14004a3a9
jmp 0x14004a3c1
lea rcx, [0x141bd0890]
lea r8, [0x141bd3318]
mov edx, 0x28
call fcn.140083f10
jmp 0x14004a434
lea rax, [0x141bd3300]
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140084460
ud2