joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065d70
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x1400c4b50]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14006a1b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400df000]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400e6080]
mov edi, ecx
cmp byte [rbx + 0x4d3d], 0
jne 0x14006a211
cmp byte [rbx + 0x4d3e], 0
jne 0x14006a211
movsx r9d, word [rbx + 0x5eb0]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140057ce0
test dil, 2
je 0x14006a33f
jmp 0x14006a29c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400cb5a0]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400cb590]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a30], rax
mov dword [rbx + 0x4a1c], 1
movss dword [rbx + 0x4a28], xmm0
movss dword [rbx + 0x4a2c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1400cb514]
or dword [rbx + 0x4a18], 0x41
movss dword [rbx + 0x4a78], xmm0
call fcn.140057ce0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14006a2f0
lea r11, [0x1400c4b50]
nop dword [rax]
cmp r9b, 0x23
jne 0x14006a2d3
cmp byte [r8], r9b
jne 0x14006a2d3
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 0x14006a2c0
not ecx
call fcn.14005fac0
test rax, rax
je 0x14006a33f
cmp byte [rax + 0xca], 0
je 0x14006a33f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb0]
movsx r9d, word [rbx + 0x5eb0]
call fcn.140057ce0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140062770
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14009eb70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14006f3e0
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 + 0x6008], 0
lea rbx, [rcx + 0x6010]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14006f487
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14006f43a
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.140055b50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400588a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6008]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6018]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400e5e9c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14006f48f
mov rcx, rbx
call fcn.1400588a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14006f7c0
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
mov rbx, qword [0x1400e6080]
xor ebp, ebp
cmp byte [rbx + 0x5f60], bpl
jne 0x14006f89f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14006f898
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140058160
mov rsi, rax
test rax, rax
je 0x14006f898
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14006f824
mov rcx, rax
call fcn.14006f9f0
mov r8, qword [0x1400e6080]
test r8, r8
je 0x14006f88f
movsx rdx, word [r8 + 0x60e8]
lea rcx, [r8 + 0x60ec]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006f884
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ec]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f60], 1
movss xmm0, dword [rbx + 0x5f64]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14006f92e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f64], xmm0
jb 0x14006f92e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14006f921
mov rax, qword [0x1400e6080]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f64], ebp
call fcn.14006fc50
lea rdx, [0x1400cb050]
mov rcx, rdi
mov rsi, rax
call fcn.140057fb0
mov rdi, rax
test rax, rax
je 0x14006f928
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14006f928
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f64], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14006f950
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400e6080]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14006f9b3
mov qword [rsp], rbx
lea rbx, [0x1400c4b50]
nop dword [rax]
cmp r9b, 0x23
jne 0x14006f993
cmp byte [r8], r9b
jne 0x14006f993
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 0x14006f980
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f78]
not eax
mov r8, qword [r10 + 0x5f80]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14006f9df
cmp dword [r8 + 8], eax
je 0x14006f9e6
add r8, 0x48
cmp r8, rcx
jne 0x14006f9d0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400925f0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x1400e4e88], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140092649
mov rcx, qword [rbx + 0x360]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [0x1400e4e78], xmm0
movsd qword [0x1400e4e80], xmm1
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x140092666
cmp eax, 0x34004
je 0x140092666
mov rcx, qword [0x1400e4ea8]
jmp 0x140092685
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x140092675
mov rcx, qword [rcx + 8]
jmp 0x140092685
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.140094120
mov rcx, rbx
call fcn.140091c10
cmp dword [rbx + 0x208], 0
je 0x1400926e2
mov rax, qword [rbx + 0x360]
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400926e2
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140097500
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400926f0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140092732
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140097500
add rsp, 0x38
ret
Function at 0x140092740
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x208], 0
mov rbx, rcx
je 0x140092790
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140092790
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140097500
xor ecx, ecx
mov qword [0x1400e4e88], 0
call qword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si ecx, qword [0x1400e4e78]
mov qword [0x1400e4e90], 0
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x1400e4e80]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x3a0], ecx
mov rcx, qword [rbx + 0x360]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x3a4], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x140092819
cmp eax, 0x34004
je 0x140092819
mov rcx, qword [0x1400e4ea8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x140092832
mov rcx, qword [rcx + 8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]

Function at 0x140092850
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x360]
mov edx, 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140092892
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140097500
add rsp, 0x38
ret

Function at 0x140092940
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, send
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, reloc.WS2_32.dll_select
or edi, 2
test ax, ax
cmovns edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, edi
mov ecx, 0x5c
or esi, 4
test ax, ax
cmovns esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, socket
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
test al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
test al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x140096750
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x140096780
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.14008ee90
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1400978b0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1400df000]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x1400e47a2]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1d0], rdi
sub r14, 0x480
lea rbp, [0x1400e4528]
xor r12d, r12d
lea r15, [0x1400e4842]
mov ebx, 0x20
movsx esi, word [rbp]
cmp esi, 0xffffffff
je 0x140097a68
cmp ebx, 0x140
jb 0x1400979cf
cmp ebx, 0x14e
ja 0x1400979cf
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], WSAGetLastError
mov dword [rsp + 0x64], WSAGetLastError
mov dword [rsp + 0x68], WSAStartup
mov dword [rsp + 0x6c], reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x70], WSAGetLastError
mov dword [rsp + 0x74], WSAStartup
mov dword [rsp + 0x78], WSAGetLastError
mov edi, dword [r14]
jmp 0x1400979de
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x140097a31
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x140097a68
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x80]
mov qword [rsp + 0x30], r12
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r15, 5
add r14, 4
add rbp, 2
cmp ebx, 0x15c
jle 0x140097931
mov rdi, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14009eb70
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14009bc80
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
cmp qword [0x1400e4020], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x14009bcb9
mov eax, 1
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x1400e4020], rax
mov rcx, rax
test rax, rax
jne 0x14009bce4
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x14009bcc0
mov rbx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14009bd06
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.14008ee90
xor eax, eax
add rsp, 0x48
ret
lea rdx, str.OSMesaCreateContextExt
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1400e4020]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x1400e4028], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1400e4020]
lea rdx, str.OSMesaDestroyContext
mov qword [0x1400e4030], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1400e4020]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x1400e4038], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1400e4020]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x1400e4040], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1400e4020]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x1400e4048], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1400e4020]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x1400e4050], rax
call sub.KERNEL32.dll_GetProcAddress
cmp qword [0x1400e4028], 0
mov qword [0x1400e4058], rax
je 0x14009bdf0
cmp qword [0x1400e4038], 0
je 0x14009bdf0
cmp qword [0x1400e4040], 0
je 0x14009bdf0
cmp qword [0x1400e4048], 0
je 0x14009bdf0
cmp qword [0x1400e4050], 0
je 0x14009bdf0
test rax, rax
jne 0x14009bcaf
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.14008ee90
mov rcx, qword [0x1400e4020]
test rcx, rcx
je 0x14009be1d
call fcn.14009c6b0
mov qword [0x1400e4020], 0
xor eax, eax
add rsp, 0x48
ret

Function at 0x14009eab4
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 0x14009eaee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14009eaf3
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 0x14009eb3c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400c0990]
cmp byte [rcx + rax], 0
je 0x14009eb3c
dec r8
sub rdx, 1
jne 0x14009eb22
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14009f8d4
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x9a
call fcn.1800010d0
lea r8, [0x180017850]
mov edx, 0x9a
mov rcx, rax
mov rbx, rax
call fcn.1800057d0
lea r8, str.ersh
mov edx, 0x9a
mov rcx, rbx
call fcn.180005830
lea r8, str.ell.exe__windowstyle_h__command_sal_callit__iE
mov edx, 0x9a
mov rcx, rbx
call fcn.180005830
lea r8, str.x___sal__env:os_iWr__ca
mov edx, 0x9a
mov rcx, rbx
call fcn.180005830
lea r8, str.lliT_WINDOWS_NT_ti__nyu__rl.c__om_yeykydun___usebasicparsing_
mov edx, 0x9a
mov rcx, rbx
call fcn.180005830
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WinExec]
mov rcx, rbx
call fcn.1800010d8
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x18000926c
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 0x18000929c
xor eax, eax
jmp 0x18000935f
mov rbp, rbx
cmp word [rax], si
je 0x1800092c1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800092a8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800092a4
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.18000918c
movsxd r14, eax
test eax, eax
jne 0x1800092ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180009295
mov rcx, r14
call fcn.180006f6c
mov rdi, rax
test rax, rax
jne 0x180009318
xor ecx, ecx
call fcn.180006fcc
jmp 0x1800092f4
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.18000918c
test eax, eax
jne 0x180009349
mov rcx, rdi
call fcn.180006fcc
jmp 0x180009353
xor ecx, ecx
call fcn.180006fcc
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 0x18000e9d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000e9f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000e9f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x416c00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416d8b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004350c0
xorps xmm15, xmm15
mov r14, qword [0x006461f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416c65
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416c74
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416c93
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416ca3
cmp rbx, 0x1000
jae 0x416c6b
jmp 0x416d0d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416cb5
xor edx, edx
jmp 0x416d04
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004350c0
xorps xmm15, xmm15
mov r14, qword [0x006461f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x416c99
jmp 0x416c88
call fcn.00468740
xorps xmm15, xmm15
mov r14, qword [0x006461f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00439200
lea rax, [0x004ec7a1]
mov ebx, 0x18
nop dword [rax]
call fcn.00439a80
mov rax, qword [rsp + 0x38]
call fcn.004397c0
lea rax, [0x004ece01]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00439a80
mov rax, qword [rsp + 0x30]
call fcn.004397c0
call fcn.00439440
call fcn.00439260
lea rax, [0x004ef5a0]
mov ebx, 0x21
call fcn.00437760
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416c00