joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e2bc0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140127190]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400e2c07
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400caf00
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.1400cdc80
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400caf00
add rsp, 0x38
ret

Function at 0x1400e45e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0xb0
mov rax, qword [0x140127190]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov esi, ecx
mov r9d, 0x78
and ecx, 0x3ff
mov rbp, r8
mov ebx, edx
lea edx, [r9 - 0x77]
lea r8, [rsp + 0x20]
bts ecx, 0xa
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1400e46c9
movzx ecx, byte [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0xc8], rdi
test cl, cl
lea r8, [rsp + 0x20]
mov edi, edx
je 0x1400e467a
nop
lea eax, [rcx - 0x61]
add r8, 1
cmp al, 5
ja 0x1400e4660
add cl, 0xd9
jmp 0x1400e466a
lea eax, [rcx - 0x41]
cmp al, 5
ja 0x1400e466a
add cl, 0xf9
movsx eax, cl
mov cl, byte [r8]
add edi, edi
test cl, cl
lea edi, [rax + rdi*8 - 0x30]
jne 0x1400e4650
cmp esi, edi
je 0x1400e46bc
test ebx, ebx
je 0x1400e46bc
mov rdi, qword [rbp]
movzx eax, byte [rdi]
lea rcx, [rdi + 1]
nop
cmp al, 0x41
jl 0x1400e4698
cmp al, 0x5a
jle 0x1400e469e
sub al, 0x61
cmp al, 0x19
ja 0x1400e46a9
mov al, byte [rcx]
add edx, 1
add rcx, 1
jmp 0x1400e4690
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
cmp edx, ecx
je 0x1400e46c1
mov eax, 1
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400caf00
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x1400e5b60
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400d8200
xor ebx, ebx
cmp qword [0x14012cb30], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1400e5c8c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1400e5d9f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e5d9f
mov rcx, rax
call fcn.1400d8130
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14012cb30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400d8130
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14012cb38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400d8130
lea rcx, [rsp + 0x98]
mov qword [0x14012cb40], rax
call fcn.1400db130
test eax, eax
je 0x1400e5c3f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400c9f80
cmp dword [rsp + 0x98], 2
jne 0x1400e5c8c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400d8130
test rax, rax
mov qword [0x14012cb50], rax
je 0x1400e5c8c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400d8130
mov qword [0x14012cb48], rax
mov rcx, qword [0x14012cb48]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x1400e5d38
cmp qword [0x14012cb50], rbp
je 0x1400e5d38
call fcn.1400d82f0
mov rcx, qword [0x14012cb50]
mov rsi, rax
call fcn.1400d82f0
test rsi, rsi
mov r12, rax
je 0x1400e5d38
test rax, rax
je 0x1400e5d38
call rsi
test rax, rax
je 0x1400e5d03
lea rcx, [rsp + 0x34]
mov r9d, ntohl
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400e5d03
test byte [rsp + 0x40], 1
jne 0x1400e5d38
lea rcx, [rsp + 0x30]
call fcn.1400db180
test eax, eax
je 0x1400e5d25
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400c9f80
cmp dword [rsp + 0x30], 4
jb 0x1400e5d32
bts edi, 0x15
jmp 0x1400e5d76
bts edi, 0x12
jmp 0x1400e5d76
mov rcx, qword [0x14012cb38]
cmp rcx, rbp
je 0x1400e5d76
call fcn.1400d82f0
test rax, rax
je 0x1400e5d76
call rax
test rax, rax
mov rbx, rax
je 0x1400e5d76
mov rcx, qword [0x14012cb40]
cmp rcx, rbp
je 0x1400e5d76
call fcn.1400d82f0
test rax, rax
je 0x1400e5d76
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14012cb30]
call fcn.1400d82f0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1400e5d9f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400e5da1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e5e20
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x140127190]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x14012cb58]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x1400e5ea1
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400e5e84
mov dword [0x14012cb58], 1
jmp 0x1400e5ea6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1400e5e9b
mov dword [0x14012cb58], 2
jmp 0x1400e5ecb
mov eax, dword [0x14012cb58]
cmp eax, 1
jne 0x1400e5ebe
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1400e5fd2
cmp eax, 2
je 0x1400e5ecb
test eax, eax
jne 0x1400e5fd0
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x1400e5eda
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
movsxd r12, eax
je 0x1400e5fd0
jle 0x1400e5fd0
xor edx, edx
mov rax, 0xffffffffffffffe0
mov rcx, r12
div r12
cmp rax, 1
jb 0x1400e5fd0
add rcx, 0x10
cmp rcx, 0x400
ja 0x1400e5f58
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400e5f36
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400ebe00
sub rsp, rax
lea rbx, [rsp + 0x30]
test rbx, rbx
je 0x1400e5fd0
mov dword [rbx], 0xcccc
jmp 0x1400e5f6b
call fcn.1400cccc0
test rax, rax
mov rbx, rax
je 0x1400e5f6f
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x1400e5fd0
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1400e5fba
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
mov r8, rbx
test eax, eax
lea edx, [r9 + 2]
mov ecx, esi
jne 0x1400e5fa9
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x1400e5fb2
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x1400e5fcc
call fcn.1400cbb70
mov eax, edi
jmp 0x1400e5fd2
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400caf00
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400e6130
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x140127190]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x14012cb5c]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x1400e61e8
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400e6194
mov dword [0x14012cb5c], 1
jmp 0x1400e61f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1400e61e2
mov dword [0x14012cb5c], 2
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400caf00
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [0x14012cb5c]
cmp eax, 2
je 0x1400e61a9
test eax, eax
je 0x1400e61a9
cmp eax, 1
jne 0x1400e621e
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x1400e6205
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
movsxd r12, eax
jne 0x1400e6222
xor eax, eax
jmp 0x1400e61bc
jle 0x1400e621e
xor edx, edx
mov rax, 0xffffffffffffffe0
div r12
cmp rax, 2
jb 0x1400e621e
lea rcx, [r12 + r12 + 0x10]
cmp rcx, 0x400
ja 0x1400e6275
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400e6257
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400ebe00
sub rsp, rax
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400e621e
mov dword [rbx], 0xcccc
jmp 0x1400e6288
call fcn.1400cccc0
test rax, rax
mov rbx, rax
je 0x1400e628c
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x1400e621e
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400e62df
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
xor edx, edx
test eax, eax
mov qword [rsp + 0x38], rdi
mov r8, rbx
mov ecx, esi
mov qword [rsp + 0x30], rdi
jne 0x1400e62ce
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x1400e62d7
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x1400e62f1
call fcn.1400cbb70
mov eax, edi
jmp 0x1400e61bc
Function at 0x140002910
Capabilities:
Create thread
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x14003e008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
mov edi, ecx
call fcn.1400023a0
call fcn.140002260
mov rax, qword [sym.imp.python310.dll_Py_DebugFlag]
xor esi, esi
mov r8b, 1
mov qword [0x140047a90], rbx
mov rdx, rbx
mov ecx, edi
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_InspectFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_InteractiveFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_OptimizeFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_DontWriteBytecodeFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_NoUserSiteDirectory]
mov dword [rax], 1
mov rax, qword [sym.imp.python310.dll_Py_IgnoreEnvironmentFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_VerboseFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_BytesWarningFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_UTF8Mode]
mov dword [rax], esi
mov rax, qword [sym.imp.python310.dll_Py_FrozenFlag]
mov dword [rax], 1
mov rax, qword [sym.imp.python310.dll_Py_NoSiteFlag]
mov dword [rax], 1
call fcn.140002510
call qword [sym.imp.python310.dll_Py_Initialize]
call fcn.1400023d0
mov rax, qword [sym.imp.python310.dll_Py_NoSiteFlag]
xor r8d, r8d
mov rdx, rbx
mov ecx, edi
mov dword [rax], 1
call fcn.140002510
mov rdx, qword [0x140047a90]
mov ecx, edi
call qword [sym.imp.python310.dll_PySys_SetArgv]
call fcn.140009a70
call fcn.140001480
call fcn.1400019e0
call fcn.14000d540
call fcn.140002ea0
call fcn.1400157d0
call fcn.140004380
call fcn.140007650
call fcn.140019120
call fcn.14000e710
call fcn.14000d660
call fcn.140019960
call fcn.140019ab0
call fcn.140002680
call fcn.140011940
call fcn.140012c20
mov rcx, qword [sym.imp.python310.dll_PyImport_FrozenModules]
mov rax, qword [0x140047a98]
mov qword [rcx], rax
call fcn.140001610
call qword [sym.imp.python310.dll__PyWarnings_Init]
call fcn.140019580
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
mov r8d, 0x80
lea rcx, str.NUITKA_ONEFILE_PARENT
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x7d
ja 0x140002af6
lea rcx, [rsp + 0x30]
call fcn.14001c86c
xor r9d, r9d
mov qword [rsp + 0x28], rsi
lea r8, [0x140002610]
mov dword [0x1400479f8], eax
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.python310.dll_PyImport_GetModuleDict]
mov rcx, rax
lea rdx, str.__main__
call qword [sym.imp.python310.dll_PyDict_DelItemString]
call fcn.1400024a0
call fcn.140002400
mov ecx, eax
call qword [sym.imp.python310.dll_Py_Exit]
int3
Function at 0x14001a4d0
Capabilities:
Parse pe header

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

Function at 0x14001fef8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001fd24
Function at 0x14002b3c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002b3e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002b3e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000e790
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14001f380], rbx
je 0x14000e7f7
cmp rax, rbx
jne 0x14000e7ea
mov ebx, 1
mov esi, ebx
jmp 0x14000e7fc
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000e7cf
mov ebx, 1
mov eax, dword [0x14001f388]
cmp eax, ebx
jne 0x14000e814
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000e880
mov eax, dword [0x14001f388]
test eax, eax
jne 0x14000e875
mov dword [0x14001f388], ebx
lea r15, [0x140010b88]
lea rdi, [0x140010b70]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000e867
test eax, eax
jne 0x14000e86b
cmp qword [rdi], r14
je 0x14000e85c
mov rax, qword [rdi]
mov rcx, qword [0x140010b20]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000e83e
test eax, eax
je 0x14000e87b
mov eax, 0xff
jmp 0x14000e9d6
mov dword [0x14001ebf8], ebx
mov edi, 0x1f
mov eax, dword [0x14001f388]
cmp eax, ebx
jne 0x14000e8a7
lea rdx, [0x140010b68]
lea rcx, [0x140010b28]
call sub.msvcrt.dll__initterm
mov dword [0x14001f388], 2
test esi, esi
jne 0x14000e8b5
mov rax, r14
xchg qword [0x14001f380], rax
cmp qword [0x14001f3a0], r14
je 0x14000e8e8
lea rcx, [0x14001f3a0]
call fcn.14000f0a0
test eax, eax
je 0x14000e8e8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14001f3a0]
mov r9, qword [0x140010b20]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000e901
mov eax, 0xff
jmp 0x14000e9d6
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000e987
test ax, ax
je 0x14000e91c
test edx, edx
jne 0x14000e987
sub ax, bx
cmp ax, di
ja 0x14000e932
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000e91c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000b6e4
mov dword [0x14001ebf4], eax
cmp dword [0x14001ec18], r14d
jne 0x14000e970
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001ebf8], r14d
jne 0x14000e985
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001ebf4]
jmp 0x14000e9d6
cmp ax, 0x22
jne 0x14000e99b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000e90a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140104000
add rsp, 0x28
jmp 0x14000e790
Function at 0x140907058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409071df
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 0x140907089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14090706f
add dl, dl
jne 0x140907096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409070f6
xor eax, eax
add dl, dl
jne 0x1409070a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409071ad
add dl, dl
jne 0x1409070b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409070c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409070d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409070dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409070ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14090707e
mov eax, 1
add dl, dl
jne 0x140907106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140907113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409070fb
sub eax, ebx
mov ebx, 1
jne 0x14090714c
mov ecx, 1
add dl, dl
jne 0x14090712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14090713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140907123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140907168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140907175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14090715d
cmp eax, 0x7d00
jae 0x14090719b
cmp eax, 0x500
jb 0x140907196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090707e
cmp eax, 0x7f
ja 0x14090719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409071d2
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 0x14090707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14073d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14073d1df
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 0x14073d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14073d06f
add dl, dl
jne 0x14073d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14073d0f6
xor eax, eax
add dl, dl
jne 0x14073d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14073d1ad
add dl, dl
jne 0x14073d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14073d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14073d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14073d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14073d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14073d07e
mov eax, 1
add dl, dl
jne 0x14073d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14073d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14073d0fb
sub eax, ebx
mov ebx, 1
jne 0x14073d14c
mov ecx, 1
add dl, dl
jne 0x14073d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14073d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14073d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14073d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14073d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14073d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14073d15d
cmp eax, 0x7d00
jae 0x14073d19b
cmp eax, 0x500
jb 0x14073d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14073d07e
cmp eax, 0x7f
ja 0x14073d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14073d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14073d1d2
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 0x14073d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14017c7e8
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1402e88c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405af5dc]
call fcn.140183b6f
mov qword [rbp + 8], 0
jmp 0x1402e88fe
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1402e8954
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x1402e88f3
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14017cb62
Capabilities:
Get common file path

Disassembly:
jmp 0x1401bc6e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3e8]
mov rax, qword [0x14057bc48]
xor rax, rbp
mov qword [rbp + 0x380], rax
lea rcx, [0x1405af050]
call fcn.140183b6f
lea r9, [rbp + 8]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14050a5a8]
call fcn.14017e98f
test eax, eax
jl 0x1401bc77a
mov rax, qword [rbp + 0x3b0]
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.140183615
mov rax, qword [rbp + 0x3b0]
mov rdx, qword [rbp + 0x3b8]
mov rcx, rax
call fcn.140181595
mov rcx, qword [rbp + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp + 0x3b0]
mov rcx, rax
call fcn.14017bac8
movzx eax, al
test eax, eax
je 0x1401bc8c1
lea rax, [rbp + 0x1a4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rbp + 0x1a4]
mov byte [rbp + 0x2c4], al
movzx eax, byte [rbp + 0x2c4]
mov byte [rbp + 0x304], al
movzx eax, byte [rbp + 0x304]
mov byte [rbp + 0x344], al
mov rax, qword [rbp + 0x3b0]
add rax, 0x28
mov rdx, rax
lea rcx, [rbp + 0x1c8]
call fcn.14017f0f6
mov rax, qword [rax]
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 0x328], rax
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x218], rax
mov rdi, qword [rbp + 0x218]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x218]
call fcn.14017b07d
mov qword [rbp + 0x358], rax
mov rax, qword [rbp + 0x358]
mov qword [rbp + 0x360], rax
mov rax, qword [rbp + 0x360]
mov qword [rbp + 0x368], rax
lea rax, [rbp + 0x238]
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x3b0]
mov rdx, rax
mov rcx, qword [rbp + 0x268]
call fcn.140183b2e
mov qword [rbp + 0x370], rax
mov rax, qword [rbp + 0x370]
mov qword [rbp + 0x378], rax
movzx eax, byte [rbp + 0x344]
mov byte [rsp + 0x20], al
mov r9, qword [rbp + 0x328]
mov r8, qword [rbp + 0x368]
mov rdx, qword [rbp + 0x378]
lea rcx, [rbp + 0x288]
call fcn.1401aab70
nop
mov rcx, qword [rbp + 0x3b8]
call fcn.14017c98c
lea rcx, [rbp - 0x30]
lea rdx, [0x1404953e0]
call fcn.1401822e2
mov rcx, qword [rbp + 0x380]
xor rcx, rbp
call fcn.14017f2db
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret