joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f47f0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r8
test r8, r8
jne 0x1400f4806
mov al, 1
add rsp, 0x30
pop rdi
ret
test rcx, rcx
jne 0x1400f4813
xor al, al
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400f480b
test rdx, rdx
je 0x1400f480b
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x50]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1400f484a
cmp dword [rsp + 0x50], edi
jne 0x1400f484a
mov ebx, eax
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f955c
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 0x1400f9596
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f959b
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 0x1400f95e4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401eb3e0]
cmp byte [rcx + rax], 0
je 0x1400f95e4
dec r8
sub rdx, 1
jne 0x1400f95ca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400faed4
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140246400]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea rax, [0x1407c4158]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140010e70
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
call fcn.140010e60
mov qword [rsp + 0x38], rax
jmp 0x1400ff823
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
je 0x1400ff8ee
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x80]
call fcn.14000ffe0
lea rcx, [rsp + 0x80]
call fcn.14000b690
movzx eax, al
test eax, eax
jne 0x1400ff8be
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400ff7a0
mov rcx, rax
call fcn.140010e40
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004960
mov rcx, rax
call fcn.1400048d0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x80]
call fcn.1400048d0
mov qword [rsp + 0x48], rax
mov r9d, 0x10
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x60]
call fcn.1400048f0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1400ff8dc
call fcn.1400f3910
call fcn.1400f3b30
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rcx, [rsp + 0x80]
call fcn.140009f50
jmp 0x1400ff815
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400f9f90
add rsp, 0xb8
ret

Function at 0x1401042f0
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
sub rsp, 0x2a8
mov rax, qword [0x140246400]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov edx, 0x18
lea rcx, [rsp + 0x30]
call fcn.14001c6b0
lea rcx, [rsp + 0x30]
call fcn.140020b50
nop
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140104367
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x30]
call fcn.14000b530
movzx eax, byte [rsp + 0x21]
jmp 0x1401043d5
lea rcx, [rsp + 0x50]
call fcn.140104600
movzx eax, al
test eax, eax
je 0x140104387
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.14001c680
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140104367
lea rdx, [rsp + 0x30]
lea rcx, [0x140104400]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x1401043b8
mov byte [rsp + 0x20], 1
jmp 0x1401043bd
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x30]
call fcn.14000b530
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400f9f90
add rsp, 0x2a8
ret
Function at 0x140110340
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rcx, qword [rsp + 0xb0]
call fcn.140110400
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call fcn.140013840
mov rcx, rax
call fcn.1400048d0
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140110310
mov rcx, rax
call fcn.140004100
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140004960
mov rcx, rax
call fcn.1400048d0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rsp + 0x58]
call fcn.1400048f0
lea rcx, [rsp + 0x78]
call fcn.1400048f0
nop
add rsp, 0xa8
ret

Function at 0x140112eb0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rcx, qword [rsp + 0xb0]
call fcn.140112f80
mov rax, qword [rsp + 0xb0]
add rax, 0x1118
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call fcn.140013840
mov rcx, rax
call fcn.1400048d0
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140112e80
mov rcx, rax
call fcn.140004100
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140004960
mov rcx, rax
call fcn.1400048d0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rsp + 0x58]
call fcn.1400048f0
lea rcx, [rsp + 0x78]
call fcn.1400048f0
nop
add rsp, 0xa8
ret
Function at 0x14012f0d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14012f119
cmp dword [rsp + 0x20], 1
je 0x14012f168
cmp dword [rsp + 0x20], 2
je 0x14012f1bd
cmp dword [rsp + 0x20], 3
je 0x14012f212
jmp 0x14012f267
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x24]
call fcn.14012f0a0
mov rcx, rax
call fcn.1400040e0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140004960
mov rcx, rax
call fcn.1400048d0
mov rcx, qword [rsp + 0x140]
add rcx, 0x20
mov rdx, rax
call fcn.14000b6d0
lea rcx, [rsp + 0x70]
call fcn.1400048f0
jmp 0x14012f30f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x25]
call fcn.14012f070
mov rcx, rax
call fcn.140004100
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140004960
mov rcx, rax
call fcn.1400048d0
mov rcx, qword [rsp + 0x140]
add rcx, 0x20
mov rdx, rax
call fcn.14000b6d0
lea rcx, [rsp + 0x90]
call fcn.1400048f0
jmp 0x14012f30f
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x26]
call fcn.14012f040
mov rcx, rax
call fcn.1400040c0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004960
mov rcx, rax
call fcn.1400048d0
mov rcx, qword [rsp + 0x140]
add rcx, 0x20
mov rdx, rax
call fcn.14000b6d0
lea rcx, [rsp + 0xb0]
call fcn.1400048f0
jmp 0x14012f30f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x27]
call fcn.14012f010
mov rcx, rax
call fcn.1400040c0
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140004960
mov rcx, rax
call fcn.1400048d0
mov rcx, qword [rsp + 0x140]
add rcx, 0x20
mov rdx, rax
call fcn.14000b6d0
lea rcx, [rsp + 0xd0]
call fcn.1400048f0
jmp 0x14012f30f
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.14012efe0
mov rcx, rax
call fcn.140004080
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.140004960
mov rcx, rax
call fcn.1400048d0
mov rcx, qword [rsp + 0x140]
add rcx, 0x20
mov rdx, rax
call fcn.14000b6d0
lea rcx, [rsp + 0xf0]
call fcn.1400048f0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x29]
call fcn.14012ef80
mov rcx, rax
call fcn.1400041d0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x2a]
call fcn.14012efb0
mov rcx, rax
call fcn.140004040
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rax, qword [rsp + 0x140]
add rax, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x148]
call fcn.1400049c0
mov rax, qword [rsp + 0x148]
add rsp, 0x138
ret
Function at 0x14012f350
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14012f395
cmp dword [rsp + 0x20], 1
je 0x14012f3a3
cmp dword [rsp + 0x20], 2
je 0x14012f3d1
cmp dword [rsp + 0x20], 3
je 0x14012f43d
jmp 0x14012f446
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x48], 0
jmp 0x14012f446
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14012f3c6
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x48], 1
jmp 0x14012f3cf
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x48], 0
jmp 0x14012f446
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14012f43b
mov rax, qword [0x1407c4720]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
cmp rax, 0x96
jb 0x14012f43b
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x48]
test eax, eax
jne 0x14012f41a
mov dword [rsp + 0x24], 1
jmp 0x14012f422
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0x48], cl
mov rax, qword [rsp + 0x28]
mov qword [0x1407c4720], rax
jmp 0x14012f446
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x48], 1
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x48]
add rsp, 0x38
ret

Function at 0x14012f500
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rdx, [0x1401eb65f]
mov rcx, qword [rsp + 0x28]
call fcn.140004960
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov qword [rsp + 0x30], rax
lea rdx, [0x1401eb67f]
mov rcx, qword [rsp + 0x30]
call fcn.140004960
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x44], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x48], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x49], 1
cmp qword [rsp + 0x88], 0
je 0x14012f59a
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call fcn.14000b6d0
jmp 0x14012f5ef
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.14012f460
mov rcx, rax
call fcn.1400041d0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x21]
call fcn.14012f490
mov rcx, rax
call fcn.140004040
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x140173b40
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401f8600]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140173c44
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x140173c3f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140173c14
cmp qword [rsp + 0x38], 2
jb 0x140173c14
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140173c14
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140173c14
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140173b87
jmp 0x140173cd6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140173cd6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140173cac
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140173cac
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140173cac
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140173c44
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret

Function at 0x140173cf0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401f8600]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140173d7e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140173d22
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x14019a160
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14019a186
mov dword [rsp + 0x20], 1
jmp 0x14019a18e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1401a3a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3c18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
vmovss xmm0, dword [rax + 0x3c20]
vmovss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rsp + 0x24]
vdivss xmm0, xmm0, dword [rax + 0x14]
vmovss dword [rsp + 0x3c], xmm0
vxorps xmm2, xmm2, xmm2
vxorps xmm1, xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140002940
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jae 0x1401a3be3
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x1401a3ba5
vmovss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax]
call fcn.14019e8b0
mov rax, qword [rsp + 0x70]
vmovss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
vmovss dword [rax + 4], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1401a3ba0
jmp 0x1401a3be3
jmp 0x1401a3b15
cmp dword [rsp + 0x28], 0xd
jne 0x1401a3bb1
jmp 0x1401a3b15
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400768c0
vmulss xmm0, xmm0, dword [rsp + 0x3c]
vmovss dword [rsp + 0x40], xmm0
vmovss xmm0, dword [rsp + 0x20]
vaddss xmm0, xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
jmp 0x1401a3b15
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rsp + 0x20]
vcomiss xmm0, dword [rax]
jbe 0x1401a3c03
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rsp + 0x20]
vmovss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x1401a3c40
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rsp + 0x24]
vmovups xmm2, xmm0
vmovss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140002940
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
vmovss xmm0, dword [rsp + 0x20]
vcomiss xmm0, dword [0x1402208a8]
ja 0x1401a3c66
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 4]
vucomiss xmm0, dword [0x1402208a8]
jp 0x1401a3c80
jne 0x1401a3c80
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
vmovss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x1401a3c9b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x143b7a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x143b7a1df
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 0x143b7a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x143b7a06f
add dl, dl
jne 0x143b7a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x143b7a0f6
xor eax, eax
add dl, dl
jne 0x143b7a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x143b7a1ad
add dl, dl
jne 0x143b7a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x143b7a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x143b7a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x143b7a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x143b7a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x143b7a07e
mov eax, 1
add dl, dl
jne 0x143b7a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x143b7a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x143b7a0fb
sub eax, ebx
mov ebx, 1
jne 0x143b7a14c
mov ecx, 1
add dl, dl
jne 0x143b7a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x143b7a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x143b7a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x143b7a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x143b7a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x143b7a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x143b7a15d
cmp eax, 0x7d00
jae 0x143b7a19b
cmp eax, 0x500
jb 0x143b7a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x143b7a07e
cmp eax, 0x7f
ja 0x143b7a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x143b7a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x143b7a1d2
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 0x143b7a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180004b10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180004b38
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180004b5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180004b60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180004bb9
test ecx, ecx
jle 0x180004b99
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180004bb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180004bb9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x180004be0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180004c02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180004c18
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180004c34
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180004c36
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180004c72
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180004d0e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180004cad
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x180004cee
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x180004d0e
cmp rbx, rax
ja 0x180004cc0
test rbx, rbx
je 0x180004d0e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret