joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1425a2766
Capabilities:
Encode data using xor

Disassembly:
sbb dl, ch
dec edi
mov qword [rsp + rcx*4 - 0x1c0000], 0x67ac0296
bswap esi
shr dx, 9
mov qword [rsp + rcx - 0x70000], r8
jbe 0x14255404b
Function at 0x140001fa4
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140017850
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400113cf
Capabilities:
Create thread

Disassembly:
jmp 0x140014e00
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x4f0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xd0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x518]
mov rax, qword [0x140024018]
xor rax, rbp
mov qword [rbp + 0x4b8], rax
lea rcx, [0x14002a0f7]
call fcn.140011555
lea rax, [rbp + 0x10]
lea rcx, [0x140020150]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1cd
rep movsb byte [rdi], byte [rsi]
mov dword [rbp + 0x1f4], 0x1cd
mov ecx, 0x64
call fcn.140011258
mov qword [rbp + 0x488], rax
mov rax, qword [rbp + 0x488]
mov qword [rbp + 0x218], rax
mov rdx, qword [rbp + 0x218]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140011514
mov r8, qword [rbp + 0x218]
mov edx, dword [rbp + 0x1f4]
lea rcx, [rbp + 0x10]
call fcn.1400113c5
mov dword [rbp + 0x294], 0
mov eax, dword [rbp + 0x1f4]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x238], rax
mov eax, dword [rbp + 0x1f4]
mov r8d, eax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x238]
call fcn.1400115af
mov eax, dword [rbp + 0x1f4]
lea r9, [rbp + 0x294]
mov r8d, 0x20
mov edx, eax
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x254], eax
cmp dword [rbp + 0x254], 0
je 0x140014fff
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x238]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x278], rax
mov ecx, 0x14
call fcn.140011258
mov qword [rbp + 0x4a8], rax
mov rax, qword [rbp + 0x4a8]
mov qword [rbp + 0x2b8], rax
lea rax, [rbp + 0x2d8]
lea rcx, str.MarkdownInThePage
mov rdi, rax
mov rsi, rcx
mov ecx, 0x12
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rbp + 0x2b8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140011514
lea rdx, [rbp + 0x2d8]
mov rcx, qword [rbp + 0x2b8]
call fcn.1400115eb
test eax, eax
je 0x140014fea
lea rdx, str.Wrong__please_try_again.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110aa
mov rdx, qword [rbp + 0x2b8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140011514
jmp 0x140014fab
lea rdx, str.Success.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110aa
jmp 0x140015012
lea rdx, str.Error_starting_the_program.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110aa
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ff50]
call fcn.140011492
mov eax, edi
mov rcx, qword [rbp + 0x4b8]
xor rcx, rbp
call fcn.14001129e
lea rsp, [rbp + 0x4c0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400113e3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018380
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400183a0
xor al, al
jmp 0x140018421
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400183b3
xor al, al
jmp 0x140018421
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400183dd
xor al, al
jmp 0x140018421
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400183f1
xor al, al
jmp 0x140018421
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018403
xor al, al
jmp 0x140018421
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001841f
xor al, al
jmp 0x140018421
mov al, 1
add rsp, 0x38
ret
Function at 0x140002452
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140002471
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001cfe0

Function at 0x140005186
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov ecx, 2
call qword [fcn.14001ca10]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14001cfe0

Function at 0x1400051c5
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x14008d0f0], 0
jne 0x1400051dd
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140005186
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005124
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x14008d0f0]
test rbx, rbx
je 0x14000520e
test byte [rbx + 7], 0x40
jne 0x14000520e
mov rcx, rbx
call fcn.1400034dc
lea rcx, [0x14001e320]
call fcn.1400177f0
cmp byte [rax], 0
je 0x140005246
mov byte [rax], 0
lea rcx, [0x14001e220]
call fcn.1400177f0
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003a48
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x140005870
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x14008d0c0]
xor ebx, ebx
lea r14, [0x14001e320]
mov rsi, rcx
mov rdi, rdx
lea r13, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [fcn.14001ca10]
mov ecx, 1
cmp rbx, rdi
jl 0x1400058f6
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x1400202db]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.14001cfe0
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movups xmmword [rsp + 0x20], xmm0
call fcn.14000574a
mov rcx, r14
call fcn.1400177f0
cmp byte [rax], 0
jne 0x140005928
inc rbx
jmp 0x1400058a9
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400168c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14001ca10
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001ca10
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140016930
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14008d8b4]
mov rbx, rcx
test esi, esi
jle 0x140016a60
mov rax, qword [0x14008d8b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001697b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140016a05
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140016960
mov rcx, rbx
call fcn.140017380
mov rdi, rax
test rax, rax
je 0x140016a82
mov rax, qword [0x14008d8b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400174c0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14008d8b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140016a67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400169fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140016a10
add dword [0x14008d8b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14008d8b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400169fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400168c0
nop dword [rax]
xor esi, esi
jmp 0x140016988
mov rax, qword [0x14008d8b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400168c0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400168c0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140016ff0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14008d920]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14008d900]
test rbx, rbx
je 0x14001704c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140017043
test rsi, rsi
je 0x140017043
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140017028
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140017380
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140087c40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400173a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400173a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400173a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400173fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400173f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400173a0
add rax, 0x28
cmp rax, r9
jne 0x1400173e0
xor eax, eax
ret

Function at 0x140017400
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140087c40]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001741f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140017428
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001741f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400174c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140087c40]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400174df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400174e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140017790
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x14008d9a0], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14008d9a8], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400177e0
lea rdx, [0x1400176a0]
mov ecx, eax
mov dword [0x14008d998], eax
call fcn.14001d130
test eax, eax
jne 0x1400177e8
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400177d7
call sub.msvcrt.dll_abort
nop
nop
Function at 0x1400177f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x140087bb0]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x140017828
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140017890
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x1400178a0
mov esi, dword [0x14008d998]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x140017910
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x140017958
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x140017817
mov rcx, rbx
call fcn.1400176f0
mov qword [rsi + r12*8 + 8], rax
jmp 0x140017817
call fcn.1400176f0
mov qword [rbx + 0x10], rax
jmp 0x140017817
mov r10d, dword [rsi]
test r10d, r10d
je 0x1400179ba
mov r9d, dword [0x14001f650]
test r9d, r9d
je 0x1400179e8
lock add dword [0x14008d9a0], 1
jne 0x140017a1c
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x1400179c7
mov eax, dword [rsi]
test eax, eax
je 0x140017831
lock sub dword [0x14008d9a0], 1
js 0x140017831
mov rcx, qword [0x14008d9a8]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x140017831
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x140017a43
mov qword [rax], rdi
mov ecx, dword [0x14008d998]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14001786b
call r13
jmp 0x14001786b
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sub.msvcrt.dll_realloc
mov rsi, rax
test rax, rax
je 0x140017a43
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sub.msvcrt.dll_memset
jmp 0x140017933
call fcn.140017790
mov dword [0x14001f650], 1
mov edx, dword [rsi]
test edx, edx
jne 0x1400178bc
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x140017831
mov rax, qword [0x14008d990]
lea r12, [rax + 1]
mov qword [0x14008d990], r12
mov qword [rbx + 0x10], r12
jmp 0x1400178d7
lock add dword [0x14001f654], 1
je 0x1400179a1
mov r8d, dword [0x14001f650]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x14001f650]
test r8d, r8d
jne 0x1400179b0
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x140017a10
jmp 0x1400179b0
mov rcx, qword [0x14008d9a8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400178ca
lock sub dword [0x14008d9a0], 1
jmp 0x1400178ca
call sub.msvcrt.dll_abort
nop
nop dword [rax]
cmp qword [rcx], rdx
jae 0x140017a60
mov qword [rcx], rdx
mov qword [rcx + 0x18], 0
cmp qword [rcx + 8], r8
jae 0x140017a6a
mov qword [rcx + 8], r8
test r9, r9
je 0x140017a74
cmp qword [rcx], rdx
je 0x140017a78
ret
mov qword [rcx + 0x18], r9
ret
Function at 0x140009ed0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 8
lea r9, [rcx + rdx]
mov r8, rcx
cmp rdx, 0x10
jb 0x140009f7f
mov qword [rsp + 0x10], rbx
mov eax, 0x61c8864f
mov qword [rsp], rdi
xor ebx, ebx
lea rdi, [r9 - 0x10]
mov r10d, 0x24234428
mov r11d, 0x85ebca77
imul ecx, dword [r8], 0x7a143589
sub r10d, ecx
imul ecx, dword [r8 + 4], 0x7a143589
rol r10d, 0xd
imul r10d, r10d, 0x9e3779b1
sub r11d, ecx
imul ecx, dword [r8 + 8], 0x7a143589
rol r11d, 0xd
imul r11d, r11d, 0x9e3779b1
sub ebx, ecx
imul ecx, dword [r8 + 0xc], 0x7a143589
rol ebx, 0xd
add r8, 0x10
imul ebx, ebx, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp r8, rdi
jbe 0x140009f05
mov rdi, qword [rsp]
rol eax, 0x12
rol ebx, 0xc
add eax, ebx
rol r11d, 7
mov rbx, qword [rsp + 0x10]
add eax, r11d
rol r10d, 1
add eax, r10d
jmp 0x140009f84
mov eax, 0x165667b1
add eax, edx
lea rdx, [r8 + 4]
cmp rdx, r9
ja 0x140009fae
nop
imul ecx, dword [r8], 0x3d4d51c3
mov r8, rdx
add rdx, 4
sub eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp rdx, r9
jbe 0x140009f90
cmp r8, r9
jae 0x140009fdd
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
imul edx, ecx, 0x165667b1
add edx, eax
rol edx, 0xb
imul eax, edx, 0x9e3779b1
cmp r8, r9
jb 0x140009fc0
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul edx, ecx, 0xc2b2ae3d
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 8
ret

Function at 0x140028820
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx edx, byte [rsp + 0x20]
mov ecx, 0x53b2070f
call fcn.140028850
add rsp, 0x30
pop rdi
ret

Function at 0x140028cb0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
movsx eax, byte [rsp + 0x10]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov rcx, qword [rsp + 8]
mov dword [rcx], eax
ret

Function at 0x140029b60
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140028990
mov dword [rsp + 0x20], 0
jmp 0x140029b8c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140028c40
mov rcx, rax
call fcn.140028930
cmp eax, 0xf8f45725
jne 0x140029bb9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140028a20
jmp 0x140029bbb
jmp 0x140029b82
add rsp, 0x48
ret

Function at 0x14066d1b1
Capabilities:
Encode data using xor

Disassembly:
call fcn.14067299d
lea rsp, [rsp + 0x10]
je 0x140665910
push 0x749421b1
mov qword [rsp], r8
push r10
mov r8d, 0x3a83adbf
lea r10, [r8 + r8*4 - 0x707148f8]
not r10w
lea r8, [0x14066a830]
movzx r10d, byte [r11]
push 0xffffffffdf25020d
xor r10d, ecx
and r10d, 0xff
mov r10d, dword [r8 + r10*4]
shr ecx, 8
xor ecx, r10d
inc r11
xor ecx, 0x411bbc8e
sal byte [rsp + 5], 0xc3
dec rdx
lea rsp, [rsp + 8]
jne 0x14066d1e0
pop r10
mov r8d, 0x6714b5a1
call fcn.140665903
Function at 0x140b83058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b831df
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 0x140b83089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b8306f
add dl, dl
jne 0x140b83096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b830f6
xor eax, eax
add dl, dl
jne 0x140b830a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b831ad
add dl, dl
jne 0x140b830b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b830c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b830d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b830dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b830ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b8307e
mov eax, 1
add dl, dl
jne 0x140b83106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b83113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b830fb
sub eax, ebx
mov ebx, 1
jne 0x140b8314c
mov ecx, 1
add dl, dl
jne 0x140b8312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b8313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b83123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b83168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b83175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b8315d
cmp eax, 0x7d00
jae 0x140b8319b
cmp eax, 0x500
jb 0x140b83196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8307e
cmp eax, 0x7f
ja 0x140b8319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b831d2
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 0x140b8307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005348
Capabilities:
Parse pe header

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

Function at 0x140005640
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 0x14000567a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000567f
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 0x1400056c8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006420]
cmp byte [rcx + rax], 0
je 0x1400056c8
dec r8
sub rdx, 1
jne 0x1400056ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret