joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005bc50
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
mov r14, qword [0x1400db108]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x50], rax
test r9, r9
je 0x14005bd44
mov ebp, dword [rsp + 0xc0]
test ebp, ebp
je 0x14005bd44
mov rbx, r9
mov edi, r8d
movzx eax, byte [0x140109038]
test al, al
je 0x14005bd8b
mov r13d, ebp
xor r12d, r12d
mov rax, rbx
sub rax, r13
cmovae r12, rax
cmp r12, 0x100001
mov eax, 0x100000
cmovb r12, rax
cmp r13, rbx
cmova r12, rax
mov r15d, dword [0x14010b224]
movzx eax, byte [0x140109040]
test al, al
je 0x14005bdc5
mov rcx, qword [0x14010b228]
xor eax, eax
mov rdx, rbx
add rdx, r13
cmovae rax, rdx
cmp rcx, rax
cmovb rax, rcx
add rbx, r13
cmovb rax, rcx
mov edx, edi
cmp rax, rdx
jb 0x14005bd44
mov r8, r12
neg r8
lea rcx, [r15 - 1]
and rcx, r8
add rcx, r12
xor r8d, r8d
sub rax, rdx
cmovae r8, rax
neg r15
and r15, r8
sub r15, rcx
jbe 0x14005bd44
test rcx, rcx
je 0x14005bd76
cmp r15, 0xffffffffffffffff
je 0x14005bd76
mov qword [rsi], r15
mov qword [rsi + 8], rcx
mov byte [rsi + 0x10], 1
jmp 0x14005bd52
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rax, qword [rsp + 0x50]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14005bd86
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [0], 0x336
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
call fcn.1400addd0
lea rcx, [0x140109038]
call fcn.1400ac804
test eax, eax
je 0x14005bca2
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov dword [0x14010b224], eax
lea rcx, [0x140109038]
call fcn.1400ac8df
jmp 0x14005bca2
lea rcx, [0x140109040]
call fcn.1400ac804
test eax, eax
je 0x14005bcdf
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x30]
mov qword [0x14010b228], rax
lea rcx, [0x140109040]
call fcn.1400ac8df
jmp 0x14005bcdf
Function at 0x14005c440
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, qword [0x1400db108]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x68], rax
test edx, edx
je 0x14005c4c9
mov rsi, rcx
cmp qword [rcx], 0
jne 0x14005c4c4
mov rdi, r8
mov ebp, edx
movzx eax, byte [0x140109038]
test al, al
je 0x14005c4ed
mov ecx, dword [0x14010b224]
xor ebx, ebx
mov eax, ebp
xor edx, edx
div ecx
sub ecx, edx
test edx, edx
cmove ecx, edx
add ecx, ebp
mov dword [rsi + 8], ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, dword [rsi + 8]
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
mov rcx, rsi
mov rdx, rax
call fcn.14005c530
mov qword [rsi], rax
test rax, rax
je 0x14005c4cb
mov ebx, dword [rsi + 8]
jmp 0x14005c4cb
xor ebx, ebx
mov rax, qword [rsp + 0x68]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14005c4e8
mov eax, ebx
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.1400addd0
lea rcx, [0x140109038]
call fcn.1400ac804
test eax, eax
je 0x14005c479
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x60]
mov dword [0x14010b224], eax
lea rcx, [0x140109038]
call fcn.1400ac8df
jmp 0x14005c479
Function at 0x14005c890
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r13, qword [0x1400db108]
mov rax, qword [r13]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x140109038]
test al, al
je 0x14005caf0
xor eax, eax
test rsi, rsi
je 0x14005cac8
mov rbp, qword [rsp + 0xf0]
cmp rbp, rbx
jbe 0x14005cac8
mov r15d, dword [0x14010b224]
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x44]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand_s]
mov rax, rbp
sub rax, rbx
sub rax, rsi
mov rcx, rax
shr rcx, 0x20
je 0x14005c923
xor edx, edx
div r15
mov rcx, rax
jmp 0x14005c92a
xor edx, edx
div r15d
mov ecx, eax
mov r14d, dword [rsp + 0x44]
inc rcx
cmp r14, rcx
jb 0x14005c941
mov eax, r14d
xor edx, edx
div ecx
mov r14d, edx
mov qword [rsp + 0x38], r15
imul r14, r15
add r14, rbx
sub rbp, rsi
cmp r14, rbp
jbe 0x14005ca03
cmp r14, rbx
mov r13, qword [0x1400db108]
jbe 0x14005cac0
dec qword [rsp + 0x38]
lea r12, [rsp + 0x78]
lea r15, [rsp + 0x48]
jmp 0x14005c98c
add rbx, rcx
cmp rbx, r14
jae 0x14005cac0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0x30
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x14005cab2
cmp qword [rsp + 0x78], 0x30
jne 0x14005cac0
cmp dword [rsp + 0x68], 0x10000
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
jne 0x14005c980
mov rdx, rcx
neg rdx
and rdx, qword [rsp + 0x38]
lea r8, [rdx + rcx]
mov rax, rbx
sub rax, rdx
cmp rax, rsi
mov eax, 0
cmovae rax, r8
cmp rbx, rdx
jb 0x14005c980
test rax, rax
je 0x14005c980
jmp 0x14005cac8
mov rax, qword [rsp + 0x38]
lea r12, [rax - 1]
lea r13, [rsp + 0x78]
lea r15, [rsp + 0x48]
mov rdx, r14
jmp 0x14005ca2c
add rdx, rcx
cmp rdx, rbp
ja 0x14005c959
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0x30
mov rcx, rdi
xor r8d, r8d
mov r9, r15
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x14005ca93
cmp qword [rsp + 0x78], 0x30
jne 0x14005caa1
cmp dword [rsp + 0x68], 0x10000
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
jne 0x14005ca20
mov r8, rcx
neg r8
and r8, r12
lea r9, [r8 + rcx]
mov rax, rdx
sub rax, r8
cmp rax, rsi
mov eax, 0
cmovae rax, r9
cmp rdx, r8
jb 0x14005ca20
test rax, rax
je 0x14005ca20
jmp 0x14005caa9
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov r13, qword [0x1400db108]
jmp 0x14005cac8
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
mov rdx, qword [r13]
cmp rdx, rcx
jne 0x14005cb2a
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140109038]
call fcn.1400ac804
test eax, eax
je 0x14005c8d1
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x70]
mov dword [0x14010b224], eax
lea rcx, [0x140109038]
call fcn.1400ac8df
jmp 0x14005c8d1
call fcn.1400addd0
int3
Function at 0x14005cb90
Capabilities:
Allocate or change rwx memory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1400db108]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebx, dword [rdx + 0x10]
shl ebx, 7
mov rcx, rdx
mov edx, ebx
mov r8d, 0x80
call fcn.14005ccd0
test al, al
je 0x14005cc55
mov ecx, ebx
add rcx, qword [rdi]
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0x80
mov byte [rsp + 0x5c], 1
mov edx, 0x80
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14005cc22
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
test rcx, rcx
je 0x14005cc69
mov r8, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x30]
movzx edx, byte [rsp + 0x5c]
test r8, r8
je 0x14005cc7b
test rax, rax
je 0x14005cc7b
test r9d, r9d
je 0x14005cc7b
test dl, dl
jne 0x14005cc78
jmp 0x14005cc7b
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
jmp 0x14005cca1
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
movzx edx, byte [rsp + 0x5c]
inc dword [rdi + 0x10]
mov qword [rsi], rcx
mov dword [rsi + 8], r9d
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x20], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rsi + 0x30], eax
mov byte [rsi + 0x34], dl
mov byte [rsi + 0x38], 1
mov rax, qword [rsp + 0x60]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14005ccbe
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400addd0
int3
Function at 0x14005ccd0
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, qword [0x1400db108]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx]
test rbx, rbx
je 0x14005cd4f
mov rdi, rcx
lea ecx, [rdx + r8]
dec ecx
mov eax, dword [rdi + 0xc]
mov sil, 1
cmp ecx, eax
jb 0x14005cd51
cmp eax, dword [rdi + 8]
jae 0x14005cd4f
add rbx, rax
movzx eax, byte [0x140109030]
test al, al
je 0x14005cd72
mov edx, dword [0x14010b220]
mov rcx, rbx
mov r8d, 0x1000
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14005cd4f
movzx eax, byte [0x140109030]
test al, al
je 0x14005cda8
mov eax, dword [0x14010b220]
add dword [rdi + 0xc], eax
jmp 0x14005cd51
xor esi, esi
mov rax, qword [rsp + 0x50]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14005cd6d
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400addd0
lea rcx, [0x140109030]
call fcn.1400ac804
test eax, eax
je 0x14005cd19
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov dword [0x14010b220], eax
lea rcx, [0x140109030]
call fcn.1400ac8df
jmp 0x14005cd19
lea rcx, [0x140109030]
call fcn.1400ac804
test eax, eax
je 0x14005cd44
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov dword [0x14010b220], eax
lea rcx, [0x140109030]
call fcn.1400ac8df
jmp 0x14005cd44
Function at 0x14005e900
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov r15, qword [0x1400db108]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx eax, byte [0x140109030]
test al, al
je 0x14005e9b6
mov rdi, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
test r12, r12
je 0x14005e97d
shl r12, 4
add r12, rdi
mov ebx, dword [0x14010b220]
lea r14, [rsp + 0x28]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [rax]
mov rcx, qword [rdi]
mov r8d, dword [rdi + 8]
mov rdx, rbx
mov r9, r14
call r13
add rdi, 0x10
cmp rdi, r12
jne 0x14005e960
mov rdi, qword [rsi + 8]
mov qword [rsi + 0x10], 0
add rsi, 0x20
cmp rdi, rsi
je 0x14005e996
mov rcx, rdi
call sub.mozglue.dll_free
mov rax, qword [rsp + 0x58]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x14005e9f0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140109030]
call fcn.1400ac804
test eax, eax
je 0x14005e933
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov dword [0x14010b220], eax
lea rcx, [0x140109030]
call fcn.1400ac8df
jmp 0x14005e933
call fcn.1400addd0
int3
Function at 0x140074bb0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
xor edi, edi
cmp qword [rcx + 0x78], 0
je 0x140074cf9
mov rsi, rcx
mov rcx, qword [rcx + 0x80]
test rcx, rcx
je 0x140074d7f
mov eax, dword [rsi + 0x9c]
test al, 0x10
jne 0x140074c14
test al, 8
je 0x140074cf9
mov rax, qword [rsi + 0x90]
mov qword [rsp + 0x30], rax
cmp byte [rsi + 0xa2], 0
je 0x140074cb2
mov rbx, qword [rsi + 0x20]
sub rbx, qword [rsi + 0x18]
jmp 0x140074cd8
mov rax, qword [rsi + 0x30]
cmp rax, qword [rsi + 0x28]
je 0x140074c3a
mov rax, qword [rsi]
mov edi, 0xffffffff
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x68]
cmp eax, 0xffffffff
je 0x140074cf9
lea rdi, [rsi + 0x88]
lea r15, [rsp + 0x30]
nop word cs:[rax + rax]
mov r8, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x80]
mov r9, qword [rsi + 0x60]
add r9, r8
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
call qword [rax + 0x28]
mov ebx, eax
mov r14, qword [rsp + 0x30]
mov rcx, qword [rsi + 0x40]
mov r9, qword [rsi + 0x78]
sub r14, rcx
mov edx, 1
mov r8, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp rax, r14
jne 0x140074cf4
cmp ebx, 1
je 0x140074c50
cmp ebx, 2
je 0x140074cf4
mov rcx, qword [rsi + 0x78]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
mov edi, 0
test eax, eax
jne 0x140074cf4
jmp 0x140074cf9
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r9, qword [rsi + 0x48]
mov rbx, qword [rsi + 0x50]
sub rbx, r9
test eax, eax
jle 0x140074d40
mov rcx, qword [rsi + 0x20]
sub rcx, qword [rsi + 0x18]
mov eax, eax
imul rcx, rax
add rbx, rcx
xor ebp, ebp
mov rcx, qword [rsi + 0x78]
neg rbx
mov rdx, rbx
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
je 0x140074d08
mov edi, 0xffffffff
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
test bpl, bpl
je 0x140074d19
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x88], rax
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x48], rax
mov dword [rsi + 0x9c], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], 0
jmp 0x140074cf9
mov rax, qword [rsi + 0x18]
cmp rax, qword [rsi + 0x20]
je 0x140074cd8
mov r8, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x80]
sub rax, qword [rsi + 0x10]
mov r10, qword [rcx]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
call qword [r10 + 0x40]
cdqe
add rbx, qword [rsi + 0x48]
add rax, qword [rsi + 0x40]
sub rbx, rax
mov bpl, 1
jmp 0x140074cda
call fcn.140074640
int3

Function at 0x1400ad440
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.1400b65f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3
Function at 0x1400addd0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
lea rdx, str._stack_smashing_detected_:_terminated_n
mov ecx, 2
mov r8d, 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1400ade00
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3

Function at 0x1400b5eb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rdi
lea rcx, str.libcabi:
mov edx, 0xb
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov ecx, 2
call rdi
mov r8, qword [rsp + 0x20]
mov rcx, rax
mov rdx, rsi
call fcn.1400b65f0
mov ecx, 2
call rdi
mov ecx, 0xa
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3

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

Disassembly:
mov rax, qword [0x1400db010]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x1400b63ac
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1400b63ac
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x1400b63ac
movzx edx, word [rax + 6]
test edx, edx
je 0x1400b63ac
sub rcx, qword [0x1400db010]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x1400b6398
add rax, 0x28
dec edx
je 0x1400b63ac
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x1400b6390
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x1400b6390
jmp 0x1400b63ae
xor eax, eax
ret

Function at 0x1400b63b0
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x1400db010]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x1400b63e5
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x1400b63e5
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x1400b63e5
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400b6460
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400db010]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400b648c
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400b648c
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400b648e
xor eax, eax
ret

Function at 0x1400b6c20
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.1400b70a0
test al, al
je 0x1400b6c5d
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0llx__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.1400b6200
mov rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1400b7190
Function at 0x1400b6cd0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400b70a0
test al, al
je 0x1400b6d05
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.libunwind:__Unwind_SetIP_context_p__value0x_0llx__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.1400b6200
mov rcx, rdi
mov edx, 0xffffffff
mov r8, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400b7190

Function at 0x1400b6ee0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rdx
mov rsi, rcx
cmp byte [0x14010af4a], 1
jne 0x1400b6f05
cmp byte [0x14010af49], 0
jne 0x1400b6f24
jmp 0x1400b6f44
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
mov byte [0x14010af4a], 1
test rax, rax
setne byte [0x14010af49]
je 0x1400b6f44
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.libunwind:___unw_init_local_cursor_p__context_p__n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call fcn.1400b6200
lea rax, [0x1400e5be8]
mov qword [rsi], rax
lea rax, [0x14010ad10]
mov qword [rsi + 8], rax
xorps xmm0, xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x40], xmm0
mov qword [rsi + 0x50], 0
lea rax, [rsi + 0x580]
lea rcx, [rsi + 0xb0]
movaps xmmword [rsi + 0x580], xmm0
movaps xmmword [rsi + 0x590], xmm0
movaps xmmword [rsi + 0x5a0], xmm0
movaps xmmword [rsi + 0x5b0], xmm0
movaps xmmword [rsi + 0x5c0], xmm0
movaps xmmword [rsi + 0x5d0], xmm0
movaps xmmword [rsi + 0x5e0], xmm0
movaps xmmword [rsi + 0x5f0], xmm0
movaps xmmword [rsi + 0x600], xmm0
movaps xmmword [rsi + 0x610], xmm0
movaps xmmword [rsi + 0x620], xmm0
movaps xmmword [rsi + 0x630], xmm0
movaps xmmword [rsi + 0x640], xmm0
movups xmmword [rsi + 0x649], xmm0
mov qword [rsi + 0x80], rcx
mov qword [rsi + 0x98], rax
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi + 0x80]
movups xmm0, xmmword [rdi + 0x10]
movdqu xmm1, xmmword [rdi + 0x30]
pshufd xmm1, xmm1, 0x4e
movdqu xmm2, xmmword [rdi + 0x20]
pshufd xmm2, xmm2, 0x4e
movups xmm3, xmmword [rdi + 0x40]
movups xmm4, xmmword [rdi + 0x50]
movups xmm5, xmmword [rdi + 0x60]
movups xmm6, xmmword [rdi + 0x70]
mov dword [rsi + 0xe0], 0x10000b
mov qword [rsi + 0x128], rax
movaps xmmword [rsi + 0x130], xmm0
mov qword [rsi + 0x140], rcx
movdqu xmmword [rsi + 0x148], xmm1
movdqu xmmword [rsi + 0x158], xmm2
movups xmmword [rsi + 0x168], xmm3
movups xmmword [rsi + 0x178], xmm4
movups xmmword [rsi + 0x188], xmm5
movups xmmword [rsi + 0x198], xmm6
mov qword [rsi + 0x1a8], rdx
test rdx, rdx
je 0x1400b708b
mov rcx, rsi
call fcn.1400afb10
test al, al
jne 0x1400b7092
mov byte [rsi + 0x658], 1
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1400b70a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x14010af4a], 1
jne 0x1400b70bc
cmp byte [0x14010af49], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
test rax, rax
setne al
setne byte [0x14010af49]
mov byte [0x14010af4a], 1
add rsp, 0x28
ret

Function at 0x1400b70f0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x14010af4a], 1
jne 0x1400b7113
cmp byte [0x14010af49], 0
jne 0x1400b7132
jmp 0x1400b7157
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
mov byte [0x14010af4a], 1
test rax, rax
setne byte [0x14010af49]
je 0x1400b7157
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.1400b6200
mov rax, qword [rbx]
mov rcx, rbx
mov edx, edi
call qword [rax + 0x10]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x1400b717d
mov rax, qword [rbx]
mov rcx, rbx
mov edx, edi
call qword [rax + 0x18]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400b7190
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x14010af4a], 1
jne 0x1400b71b4
cmp byte [0x14010af49], 0
jne 0x1400b71d3
jmp 0x1400b71f8
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
mov byte [0x14010af4a], 1
test rax, rax
setne byte [0x14010af49]
je 0x1400b71f8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x20], rbx
lea rdx, str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_llx__n
mov rcx, rax
mov r8, rsi
mov r9d, edi
call fcn.1400b6200
mov rax, qword [rsi]
mov rcx, rsi
mov edx, edi
call qword [rax + 0x10]
mov ebp, 0xffffe672
test al, al
je 0x1400b7269
mov rax, qword [rsi]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [rax + 0x20]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x1400b7269
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + 0x48]
mov rax, qword [rsi]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [rax + 0x68]
cmp qword [rsp + 0x50], 0
je 0x1400b7269
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [rax + 0x18]
add rax, qword [rsp + 0x50]
mov r9, qword [rsi]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
call qword [r9 + 0x20]
mov eax, ebp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
ret