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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x180079f6f
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.Size___0
call fcn.1800d7f98
movss xmm0, dword [rbx + 0x120]
lea r10, [0x180102800]
movsxd rcx, dword [rbx + 0x100]
mov rax, qword [rbx + 0x108]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0x124]
subss xmm2, xmm0
movss xmm3, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm3, xmm1
movss xmm4, dword [rdi + 8]
not r9d
movzx ecx, r9b
subss xmm4, xmm0
movss xmm0, dword [rdi + 0xc]
shr r9d, 8
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp + 0x20], xmm2
movzx eax, byte [rsp + 0x20]
xor rcx, rax
movss dword [rsp + 0x24], xmm3
mov eax, r8d
movss dword [rsp + 0x28], xmm4
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 + 0x2c], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x24]
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 + 0x28]
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
mov rbx, qword [rsp + 0x40]
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 + 0x2c]
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, 0x30
pop rdi
ret
Function at 0x18007e0e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9, qword [0x18021d828]
mov r14, r8
mov ebp, edx
mov rsi, rcx
mov rdi, r9
mov rbx, qword [r9 + 0x4000]
test edx, edx
jne 0x18007e148
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.id___0
call fcn.1800d7f98
mov r9, qword [0x18021d828]
or dword [rdi + 0x4a00], 0x100
mov dword [rdi + 0x4a38], 1
mov rdx, qword [r9 + 0x4000]
cmp qword [rdx + 0x1b8], 0
jne 0x18007e17c
cmp qword [r9 + 0x4e18], 0
mov eax, 0x260
je 0x18007e181
mov eax, 0x230
movss xmm2, dword [rdx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rdx + rax + 4]
subss xmm3, dword [rdx + 0x114]
subss xmm2, dword [rdx + 0x110]
mov rdx, qword [r14]
call fcn.180089580
or dword [r9 + 0x4a00], 2
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rsp + 0x30]
xor edx, edx
movsd qword [r9 + 0x4a20], xmm0
mov dword [r9 + 0x4a08], 1
mov r9, qword [rbx + 8]
test rsi, rsi
je 0x18007e1f2
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rsi
call fcn.180076bd0
jmp 0x18007e202
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.180076bd0
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3918]
mov r8d, 0x1000107
call fcn.180081840
mov rsi, qword [rdi + 0x4000]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x18007e24c
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x1800fdd39]
not r9d
lea r10, [0x180102800]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18007e279
cmp byte [rdx], r8b
jne 0x18007e279
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18007e266
not ebx
cmp dword [rdi + 0x4064], ebx
jne 0x18007e2a9
xor edx, edx
xor ecx, ecx
call fcn.18007a270
cmp dword [rdi + 0x4b38], ebp
jne 0x18007e2ee
cmp word [rsi + 0x16c], 0
jne 0x18007e2c4
cmp byte [rsi + 0x172], 0
je 0x18007e2ee
xor edx, edx
mov rcx, rsi
call fcn.180084640
xor edx, edx
mov rcx, rsi
call fcn.18008cdd0
mov rdx, rsi
mov ecx, ebx
call fcn.18007a270
mov eax, dword [rdi + 0x4b64]
mov dword [rdi + 0x4090], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800c35e0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret
Function at 0x18008a730
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18021d828]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x18008a791
cmp byte [rbx + 0x4d4e], 0
jne 0x18008a791
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180076b50
test dil, 2
je 0x18008a8bf
jmp 0x18008a81c
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x18010a960]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x18010a948]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x18010a87c]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
movsx r9d, word [rbx + 0x5eb8]
call fcn.180076b50
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18008a870
lea r11, [0x180102800]
nop dword [rax]
cmp r9b, 0x23
jne 0x18008a853
cmp byte [r8], r9b
jne 0x18008a853
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 0x18008a840
not ecx
call fcn.18007e630
test rax, rax
je 0x18008a8bf
cmp byte [rax + 0xbe], 0
je 0x18008a8bf
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.180076b50
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.180081840
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c35e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180091200
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18021d828]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180091263
mov qword [rsp], rbx
lea rbx, [0x180102800]
nop dword [rax]
cmp r9b, 0x23
jne 0x180091243
cmp byte [r8], r9b
jne 0x180091243
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 0x180091230
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18009128f
cmp dword [r8 + 8], eax
je 0x180091296
add r8, 0x48
cmp r8, rcx
jne 0x180091280
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1800a72c0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [0x18021d828]
mov rdi, rcx
test rbx, rbx
jne 0x1800a7305
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800d7f98
mov rbx, qword [0x18021d828]
cmp qword [rbx + 0x90], 0
je 0x1800a7325
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.io.BackendPlatformUserData__nullptr___Already_initialized_a_platform_backend__
call fcn.1800d7f98
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800a7494
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800a7494
mov ecx, 0x30
mov qword [rsp + 0x60], rsi
call fcn.1800d80a4
mov r9, qword [0x18021d828]
xor esi, esi
mov r8, rax
test r9, r9
je 0x1800a73ca
movsx rdx, word [r9 + 0x60f0]
lea rax, [r9 + 0x60f4]
mov r10d, dword [r9 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r10d
je 0x1800a73bf
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 [r9 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r9
mov dword [rax], r10d
mov dword [rax + 4], esi
inc word [rax + 4]
inc dword [r9 + 0x60e8]
test r8, r8
je 0x1800a73e2
xorps xmm0, xmm0
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
jmp 0x1800a73e5
mov r8, rsi
or dword [rbx + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x90], r8
mov qword [r8], rdi
mov rax, qword [rsp + 0x30]
mov qword [r8 + 0x20], rax
mov rax, qword [rsp + 0x38]
mov qword [r8 + 0x18], rax
mov dword [r8 + 0x28], 9
test r9, r9
je 0x1800a7429
mov rbx, qword [r9 + 0x90]
jmp 0x1800a742c
mov rbx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1800a7457
mov dword [rbx + 0x2c], esi
mov rbx, qword [0x18021d828]
mov rsi, qword [rsp + 0x60]
cmp dword [rbx + 0x4b08], 0
jg 0x1800a7482
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.i___0__i___Size
call fcn.1800d7f98
mov rax, qword [rbx + 0x4b10]
mov rcx, qword [rax]
mov al, 1
mov qword [rcx + 0x28], rdi
jmp 0x1800a7496
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800c35e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1800a7720
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18021d828]
mov edx, 0x210
call fcn.180085640
cmp byte [rax], 0
je 0x1800a77c1
mov rcx, qword [0x18021d828]
mov edx, 0x210
call fcn.180075af0
cmp byte [rax + 8], 0
jne 0x1800a77c1
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800a77c1
cmp qword [0x18021d828], 0
jne 0x1800a7789
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800d7f98
mov rbx, qword [0x18021d828]
cmp byte [rbx + 0x38d1], 0
je 0x1800a77ad
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.1800760c0
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x18021d828]
mov edx, 0x214
call fcn.180085640
cmp byte [rax], 0
je 0x1800a785c
mov rcx, qword [0x18021d828]
mov edx, 0x214
call fcn.180075af0
cmp byte [rax + 8], 0
jne 0x1800a785c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800a785c
cmp qword [0x18021d828], 0
jne 0x1800a7824
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800d7f98
mov rbx, qword [0x18021d828]
cmp byte [rbx + 0x38d1], 0
je 0x1800a7848
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.1800760c0
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x18021d828]
mov edx, 0x212
call fcn.180085640
cmp byte [rax], 0
je 0x1800a78f7
mov rcx, qword [0x18021d828]
mov edx, 0x212
call fcn.180075af0
cmp byte [rax + 8], 0
jne 0x1800a78f7
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800a78f7
cmp qword [0x18021d828], 0
jne 0x1800a78bf
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800d7f98
mov rbx, qword [0x18021d828]
cmp byte [rbx + 0x38d1], 0
je 0x1800a78e3
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.1800760c0
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x18021d828]
mov edx, 0x216
call fcn.180085640
cmp byte [rax], 0
je 0x1800a7994
mov rcx, qword [0x18021d828]
mov edx, 0x216
call fcn.180075af0
cmp byte [rax + 8], 0
jne 0x1800a7994
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800a7994
mov rbx, qword [0x18021d828]
test rbx, rbx
jne 0x1800a7963
xor r8d, r8d
lea rdx, [0x1800fca28]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800d7f98
mov rbx, qword [0x18021d828]
cmp byte [rbx + 0x38d1], 0
je 0x1800a7980
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.1800760c0
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1800c99a0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800c9a0f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800c9a0f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800c9a0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800c9a0f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800c9a0f
cmp dword [rcx + 0x84], 0xe
jbe 0x1800c9a0f
cmp dword [rcx + 0xf8], 0
je 0x1800c9a0f
mov ecx, ebx
call fcn.1800c9ac0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800c989c
nop
cmp dword [rbp + 0x20], 0
je 0x1800c9a5d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800c9a68
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800c99a0

Function at 0x1800c9b5c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800c9a0f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800c9a0f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800c9a0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800c9a0f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800c9a0f
cmp dword [rcx + 0x84], 0xe
jbe 0x1800c9a0f
cmp dword [rcx + 0xf8], 0
je 0x1800c9a0f
mov ecx, ebx
call fcn.1800c9ac0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800c989c
nop
cmp dword [rbp + 0x20], 0
je 0x1800c9a5d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800c9a68
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800c99a0
Function at 0x1800dd50c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800dd522
mov al, 1
jmp 0x1800dd582
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800dd533
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800dd580
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800e2778
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800dd580
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800dd580
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800dd580
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800dd582
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800dff14
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 0x1800dff44
xor eax, eax
jmp 0x1800e0007
mov rbp, rbx
cmp word [rax], si
je 0x1800dff69
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800dff50
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800dff4c
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.1800dfe34
movsxd r14, eax
test eax, eax
jne 0x1800dffa7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800dff3d
mov rcx, r14
call fcn.1800d9d38
mov rdi, rax
test rax, rax
jne 0x1800dffc0
xor ecx, ecx
call fcn.1800d9cfc
jmp 0x1800dff9c
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.1800dfe34
test eax, eax
jne 0x1800dfff1
mov rcx, rdi
call fcn.1800d9cfc
jmp 0x1800dfffb
xor ecx, ecx
call fcn.1800d9cfc
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 0x1800e4970
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800e4998
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800e4998
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x141978058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1419781df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141978089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14197806f
add dl, dl
jne 0x141978096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419780f6
xor eax, eax
add dl, dl
jne 0x1419780a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419781ad
add dl, dl
jne 0x1419780b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419780c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419780d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419780dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1419780ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14197807e
mov eax, 1
add dl, dl
jne 0x141978106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141978113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419780fb
sub eax, ebx
mov ebx, 1
jne 0x14197814c
mov ecx, 1
add dl, dl
jne 0x14197812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14197813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141978123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14197807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141978168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141978175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14197815d
cmp eax, 0x7d00
jae 0x14197819b
cmp eax, 0x500
jb 0x141978196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14197807e
cmp eax, 0x7f
ja 0x14197819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14197807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1419781d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14197807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140d28160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140d282e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d28191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d28177
add dl, dl
jne 0x140d2819e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d281fe
xor eax, eax
add dl, dl
jne 0x140d281ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d282b5
add dl, dl
jne 0x140d281be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d281cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d281d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d281e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d281f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d28186
mov eax, 1
add dl, dl
jne 0x140d2820e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d2821b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d28203
sub eax, ebx
mov ebx, 1
jne 0x140d28254
mov ecx, 1
add dl, dl
jne 0x140d28236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d28243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d2822b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d28186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d28270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d2827d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d28265
cmp eax, 0x7d00
jae 0x140d282a3
cmp eax, 0x500
jb 0x140d2829e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d28186
cmp eax, 0x7f
ja 0x140d282a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d28186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d282da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140d28186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20