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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rbx
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r15d, r15d
mov ebx, ecx
cmp byte [0x14009bbec], r15b
je 0x140025c1d
lea rax, str.EmitBuildFinish
mov dword [rbp - 1], r15d
xorps xmm0, xmm0
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x19]
mov dword [rbp + 0x27], 0x32
movdqu xmmword [rbp + 0xf], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140025d9c
mov rax, qword [rbp - 0x19]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
add rax, qword [0x14009c200]
mov qword [rbp + 0x1f], rax
mov rcx, qword [0x14009bba8]
test rcx, rcx
jne 0x140025c36
cmp byte [0x14009c248], r15b
je 0x140025d76
mov qword [rsp + 0xb0], rsi
lea rcx, [0x14009bbb0]
mov qword [rsp + 0x80], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x14009babc]
lea rcx, [rbp - 0x11]
mov dword [rbp - 9], eax
mov edx, 0xc
inc eax
mov dword [rbp + 0x7f], ebx
mov dword [0x14009babc], eax
mov dword [rbp + 0x83], r15d
mov dword [rbp - 0x11], 0x19
mov dword [rbp - 0xd], 7
call fcn.140025590
cmp byte [0x14009c248], r15b
mov esi, 8
mov r14d, r15d
je 0x140025cf0
mov qword [rsp + 0x88], rdi
mov ebx, r15d
lea rdi, [rbp + 0x7f]
nop word [rax + rax]
mov rcx, qword [0x1400d1370]
lea r9, [rbp + 0x6f]
mov r8d, esi
mov dword [rbp + 0x6f], r15d
mov rdx, rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140025ce0
mov eax, dword [rbp + 0x6f]
add ebx, eax
add rdi, rax
cmp ebx, esi
jb 0x140025cb0
add dword [0x14009bbd8], esi
mov rdi, qword [rsp + 0x88]
jmp 0x140025d23
add dword [0x14009bbd8], esi
lea rbx, [rbp + 0x7f]
nop word [rax + rax]
mov r9, qword [0x14009bba8]
mov edx, 1
mov r8d, esi
mov rcx, rbx
call fcn.140058e40
movsxd rcx, eax
sub esi, eax
add rbx, rcx
test esi, esi
jg 0x140025d00
mov edx, 4
mov dword [rbp + 0x77], r14d
lea rcx, [rbp + 0x77]
call fcn.140025590
mov edx, dword [rbp + 0x77]
mov rcx, r15
call fcn.140025590
mov edx, 1
mov byte [rbp + 0x6f], r15b
lea rcx, [rbp + 0x6f]
call fcn.140025590
lea rcx, [0x14009bbb0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14009bba8]
mov r14, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xb0]
test rcx, rcx
je 0x140025d80
call fcn.140058a4c
lea rcx, [rbp - 1]
mov qword [0x14009bba8], r15
call fcn.140001370
add rsp, 0x90
pop r15
pop rbx
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
Function at 0x1400263f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xe8
cmp qword [0x14009bba8], 0
mov rbx, rcx
jne 0x140026419
cmp byte [0x14009c248], 0
je 0x14002663b
mov qword [rsp + 0xe0], rdi
lea rcx, [0x14009bbb0]
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xd0], r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx]
xor r15d, r15d
mov r9d, dword [0x14009bbd8]
add r9d, 0x18
mov ecx, dword [rax]
mov rax, qword [rbx + 8]
mov dword [rbp - 0x69], ecx
mov rcx, 0xffffffffffffffff
mov r8, qword [rax]
test r8, r8
jne 0x140026473
mov edx, r15d
mov dword [rbp - 0x49], r15d
mov eax, r15d
jmp 0x140026485
mov rdx, rcx
inc rdx
cmp byte [r8 + rdx], r15b
jne 0x140026476
mov dword [rbp - 0x49], edx
mov eax, r9d
mov dword [rbp - 0x65], eax
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x21], r8
lea r8d, [r9 + rdx]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1400264b0
mov ecx, r15d
mov dword [rbp - 0x45], r15d
mov eax, r15d
jmp 0x1400264c0
inc rcx
cmp byte [rdx + rcx], r15b
jne 0x1400264b0
mov dword [rbp - 0x45], ecx
lea eax, [r8 + 5]
add r8d, 0xa
mov qword [rbp - 0x19], rdx
add ecx, r8d
mov dword [rbp - 0x61], eax
mov r14d, 2
mov dword [rbp + 0x2f], ecx
lea rcx, [rbp - 0x49]
mov dword [rbp + 0x33], r14d
mov edx, r15d
mov r8d, r14d
nop word [rax + rax]
add edx, 5
add edx, dword [rcx]
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400264f0
lea eax, [rdx + 0x18]
mov dword [rbp - 0x55], 8
mov dword [rbp - 0x59], eax
lea rcx, [rbp - 0x59]
mov eax, dword [0x14009babc]
mov edi, 0xc
mov dword [rbp - 0x51], eax
mov edx, edi
inc eax
mov dword [0x14009babc], eax
call fcn.140025590
cmp byte [0x14009c248], r15b
je 0x140026590
mov qword [rsp + 0x100], rsi
mov ebx, r15d
lea rsi, [rbp - 0x69]
nop word [rax + rax]
mov rcx, qword [0x1400d1370]
lea r9, [rbp + 0x6f]
mov r8d, edi
mov dword [rbp + 0x6f], r15d
mov rdx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140026580
mov eax, dword [rbp + 0x6f]
add ebx, eax
add rsi, rax
cmp ebx, edi
jb 0x140026550
add dword [0x14009bbd8], edi
mov rsi, qword [rsp + 0x100]
jmp 0x1400265c3
add dword [0x14009bbd8], edi
lea rbx, [rbp - 0x69]
nop word [rax + rax]
mov r9, qword [0x14009bba8]
mov edx, 1
mov r8d, edi
mov rcx, rbx
call fcn.140058e40
movsxd rcx, eax
sub edi, eax
add rbx, rcx
test edi, edi
jg 0x1400265a0
mov r15, qword [rsp + 0xd0]
lea rbx, [rbp - 0x21]
lea rdi, [rbp - 0x49]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdi]
lea rcx, [rbp + 0x77]
mov edx, 4
mov dword [rbp + 0x77], eax
call fcn.140025590
mov edx, dword [rbp + 0x77]
mov rcx, qword [rbx]
call fcn.140025590
mov edx, 1
mov byte [rbp + 0x6f], 0
lea rcx, [rbp + 0x6f]
call fcn.140025590
lea rdi, [rdi + 4]
lea rbx, [rbx + 8]
sub r14, 1
jne 0x1400265e0
lea rcx, [0x14009bbb0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r14, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
add rsp, 0xe8
pop rbx
pop rbp
ret
Function at 0x14003a100
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14003a2c3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140039b60
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14003a28d
mov qword [rsp + 0x38], rbp
movabs rbp, 0x100000001b3
mov qword [rsp + 0x40], r14
movabs r14, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r8, qword [rsi + 0x30]
xor r9, r14
mov rdi, qword [rsi + 0x18]
mov rdx, qword [rdx]
imul r9, rbp
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rbp
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rbp
xor r9, rax
imul r9, rbp
and r8, r9
mov r11, r8
shl r8, 4
shl r11, 4
add rdi, r8
add r11, qword [rsi + 0x18]
cmp qword [r11], rbx
jne 0x14003a1fb
mov qword [r11], rcx
mov qword [rdi + 8], rcx
jmp 0x14003a277
mov rax, qword [rdi + 8]
mov r8d, dword [rax + 0x10]
cmp dword [rcx + 0x10], r8d
jne 0x14003a238
mov r8, qword [rax]
cmp r8, rcx
je 0x14003a232
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov rax, qword [rdx + 8]
mov qword [rax], r8
mov r9, qword [r8 + 8]
mov qword [r9], rcx
mov qword [r8 + 8], rax
mov qword [rdx + 8], r10
mov qword [rcx + 8], r9
mov qword [rdi + 8], rcx
jmp 0x14003a277
cmp qword [r11], rax
je 0x14003a253
mov r9d, dword [rcx + 0x10]
mov r8, qword [r11]
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
je 0x14003a29d
cmp r8, rax
jne 0x14003a244
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov qword [rax + 8], r8
mov qword [rdx + 8], r10
mov qword [rcx + 8], r9
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x14003a1a0
mov r14, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov rax, qword [rdx + 8]
mov qword [rax], r9
mov r8, qword [r9 + 8]
mov qword [r8], rcx
mov qword [r9 + 8], rax
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
jmp 0x14003a277
lea rcx, str.invalid_hash_bucket_count
call fcn.14004c1fc
int3
Function at 0x14003d170
Capabilities:
Check for time delay via queryperformancecounter
Get file size
Read file via mapping

Disassembly:
push rbx
push rdi
sub rsp, 0x78
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003d3aa
mov rax, qword [rsp + 0xa8]
lea rcx, [rsp + 0x48]
sub rax, qword [0x14009c1f8]
xor edx, edx
imul rax, rax, 0xf4240
mov qword [rsp + 0x90], rbp
div qword [0x14009c1f0]
mov qword [rsp + 0x70], r14
mov rdx, rbx
mov r14, rax
add r14, qword [0x14009c200]
call fcn.1400151a0
cmp qword [rax + 0x18], 8
jb 0x14003d1e0
mov rax, qword [rax]
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rax
mov dword [rsp + 0x20], 3
lea r8d, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, qword [rsp + 0x60]
mov rbx, rax
cmp rdx, 8
jb 0x14003d251
mov rcx, qword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14003d24c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003d3b7
mov rcx, r8
call fcn.14004d934
movdqa xmm0, xmmword [0x14008fee0]
mov word [rsp + 0x48], bp
movdqu xmmword [rsp + 0x58], xmm0
cmp rbx, 0xffffffffffffffff
je 0x14003d345
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x98], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [rsp + 0xa0]
xor edx, edx
mov eax, eax
mov rcx, rbx
shl rsi, 0x20
or rsi, rax
mov qword [rsp + 0x28], rbp
mov r9, rsi
mov dword [rsp + 0x20], esi
shr r9, 0x20
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbp, rax
test rax, rax
jne 0x14003d2e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateFileMapping___failed:__u
lea ecx, [rbp + 1]
call fcn.140014f80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003d33d
xor r9d, r9d
mov eax, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbp
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
jne 0x14003d32e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.MapViewOfFile___failed:__u
mov ecx, 1
mov r8d, eax
call fcn.140014f80
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003d33d
mov qword [rdi], rax
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbp
mov rsi, qword [rsp + 0x98]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003d39d
mov rax, qword [rsp + 0x40]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
sub rax, r14
add rax, qword [0x14009c200]
lock inc dword [0x14009baf0]
lock add qword [0x14009baf8], rax
mov rbp, qword [rsp + 0x90]
mov r14, qword [rsp + 0x70]
add rsp, 0x78
pop rdi
pop rbx
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
call fcn.140055668
int3
Function at 0x14003d3c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003d4ac
mov rax, qword [rsp + 0x38]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
mov qword [rsp + 0x48], rsi
div qword [0x14009c1f0]
mov rsi, rax
add rsi, qword [0x14009c200]
cmp qword [rdi], 0
je 0x14003d43f
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x14003d4b9
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
xor eax, eax
lea rcx, [rsp + 0x40]
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003d49f
mov rax, qword [rsp + 0x40]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
sub rax, rsi
add rax, qword [0x14009c200]
lock inc dword [0x14009baf0]
lock add qword [0x14009baf8], rax
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.UnMapViewOfFile___failed
call fcn.140014f00
int3
Function at 0x140043bd0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x4b0
mov r15, rcx
mov r8d, 1
lea rcx, [rsp + 0x220]
call fcn.140041d60
mov r12d, 0xffff
nop dword [rax]
movzx eax, word [rsp + 0x224]
movzx ecx, word [rsp + 0x226]
shr ax, 1
and ax, 1
cmp cx, ax
jbe 0x140043de1
add cx, r12w
mov word [rsp + 0x226], cx
je 0x140043de1
movzx r9d, cx
lea rdx, [rsp + 0x220]
dec r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.140042120
movzx edx, byte [rsp + 0x20]
lea r9, [rsp + 0x21]
mov r8d, 0x1505
test edx, edx
je 0x140043ca0
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x41]
cmp eax, 0x1a
lea ecx, [rdx + 0x20]
lea r9, [r9 + 1]
cmovb edx, ecx
imul r8d, r8d, 0x21
add r8d, edx
movzx edx, byte [r9 - 1]
test edx, edx
jne 0x140043c80
mov rax, qword [r15]
test r8d, r8d
mov edi, 1
cmovne edi, r8d
mov edx, dword [rax + 0x10]
test edx, edx
je 0x140043d08
mov rsi, qword [rax]
lea ebx, [rdx - 1]
mov r14, qword [rax + 8]
and ebx, edi
mov ecx, dword [rsi + rbx*4]
test ecx, ecx
je 0x140043d08
mov eax, ebx
lea ebp, [rdx - 1]
nop
cmp edi, ecx
jne 0x140043cf0
mov rcx, qword [r14 + rax*8]
lea rax, [rsp + 0x20]
cmp rcx, rax
je 0x140043cff
lea rdx, [rsp + 0x20]
call fcn.140008ed0
test eax, eax
je 0x140043cff
inc ebx
and ebx, ebp
mov eax, ebx
mov ecx, dword [rsi + rbx*4]
test ecx, ecx
jne 0x140043cd0
jmp 0x140043d08
cmp ebx, 0xffffffff
jne 0x140043c10
mov rax, qword [r15 + 8]
mov rbx, 0xffffffffffffffff
mov rsi, qword [rax]
lea rax, [rsp + 0x20]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140043d20
mov rax, qword [rsi + 8]
inc rbx
mov rdx, qword [rax + 0x18]
lea rcx, [rdx + rbx]
cmp rcx, qword [rax + 0x10]
jbe 0x140043d4b
mov rdx, rbx
mov rcx, rsi
call fcn.14003cf60
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + rbx]
lea r8, [rbx - 1]
mov rbp, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rbp, rdx
mov rax, qword [rsi + 8]
mov rcx, rbp
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov qword [rsi + 0x10], rdx
lea rdx, [rsp + 0x20]
call fcn.14004fbf0
mov byte [rbx + rbp - 1], 0
mov rbx, qword [r15]
mov esi, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x14]
mov r8d, dword [rbx + 0x10]
lea edx, [rsi + 1]
shl rdx, 8
shr rdx, cl
cmp rdx, 0x50
jbe 0x140043dad
mov rcx, rbx
call fcn.1400125f0
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx]
lea ecx, [r8 - 1]
and ecx, edi
cmp dword [rdx + rcx*4], 0
je 0x140043dcb
dec r8d
nop
inc ecx
and ecx, r8d
cmp dword [rdx + rcx*4], 0
jne 0x140043dc0
mov dword [rdx + rcx*4], edi
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rbp
lea eax, [rsi + 1]
mov dword [rbx + 0x18], eax
jmp 0x140043c10
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140044610
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
cmp dword [rsp + 0xa0], 0
mov r14, r9
mov rbp, qword [rsp + 0xb0]
mov edi, r8d
mov rsi, rdx
mov r13, rcx
jne 0x14004465d
mov r8, rdx
mov rcx, rbp
mov edx, edi
call fcn.140017350
cmp eax, 0xffffffff
jne 0x14004465d
mov r8, rsi
mov edx, edi
mov rcx, rbp
call fcn.14001a250
mov rbx, qword [rsp + 0xa8]
mov r8, rsi
mov rcx, rbx
mov edx, edi
call fcn.140017350
cmp eax, 0xffffffff
je 0x140044687
cdqe
shl rax, 4
add rax, qword [rbx + 0x28]
jne 0x140044862
mov ecx, dword [rbx + 0x14]
mov r8d, dword [rbx + 0x10]
mov qword [rsp + 0x88], r15
mov r15d, dword [rbx + 0x18]
lea edx, [r15 + 1]
shl rdx, 8
shr rdx, cl
cmp rdx, 0x50
jbe 0x1400446b7
mov rcx, rbx
call fcn.14001fbd0
mov r8d, dword [rbx + 0x10]
mov rcx, qword [rbx]
lea edx, [r8 - 1]
and edx, edi
cmp dword [rcx + rdx*4], 0
je 0x1400446db
dec r8d
nop dword [rax]
inc edx
and edx, r8d
cmp dword [rcx + rdx*4], 0
jne 0x1400446d0
mov dword [rcx + rdx*4], edi
lea r8, [rsi + 1]
mov rax, qword [rbx + 8]
mov r9d, 0x1505
movsxd rcx, edx
add rcx, rcx
mov qword [rax + rdx*8], rsi
lea eax, [r15 + 1]
mov dword [rbx + 0x18], eax
mov rax, qword [rbx + 0x28]
movups xmm0, xmmword [r13]
movups xmmword [rax + rcx*8], xmm0
movzx edx, byte [rsi]
test edx, edx
je 0x140044742
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x41]
lea ecx, [rdx + 0x20]
cmp eax, 0x1a
lea r8, [r8 + 1]
cmovb edx, ecx
imul r9, r9, 0x21
mov ecx, edx
movzx edx, byte [r8 - 1]
add r9, rcx
test edx, edx
jne 0x140044720
movsxd rcx, dword [r14 + 8]
lea rdx, [r14 + 8]
test r9, r9
lea r8, [rsp + 0x40]
mov eax, 1
cmovne rax, r9
add rcx, rdx
xor rax, qword [r13]
mov qword [rsp + 0x40], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x48], rax
xor eax, eax
sub eax, dword [rdx]
mov edx, dword [r14 + 4]
neg eax
sbb rax, rax
and rcx, rax
call fcn.1400068f0
test rax, rax
je 0x14004485a
movsxd r8, dword [r14 + 8]
lea rdx, [r14 + 8]
xor ecx, ecx
mov qword [rsp + 0x80], r12
sub ecx, dword [rdx]
lea r9, [r14 + 0xc]
add r8, rdx
neg ecx
sbb rcx, rcx
and r8, rcx
movsxd rcx, dword [r9]
sub rax, r8
add rcx, r9
sar rax, 4
movsxd rdi, eax
xor eax, eax
sub eax, dword [r9]
shl rdi, 4
neg eax
sbb rax, rax
and rcx, rax
add rdi, rcx
movsxd r12, dword [rdi + 8]
test r12, r12
jle 0x140044852
mov r15d, dword [rsp + 0xa0]
xor esi, esi
add rdi, 0xc
inc r15d
nop
movsxd rcx, dword [rdi]
xor eax, eax
sub eax, dword [rdi]
add rcx, rdi
neg eax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
sbb rax, rax
mov dword [rsp + 0x20], r15d
and rcx, rax
xor eax, eax
sub eax, dword [rdi]
lea r9, [rcx + rsi*8]
movsxd rdx, dword [r9]
movsxd rcx, dword [rdi]
add rcx, rdi
neg eax
sbb rax, rax
add rdx, r9
and rcx, rax
xor eax, eax
sub eax, dword [r9]
mov r9, r14
neg eax
mov r8d, dword [rcx + rsi*8 + 4]
sbb rax, rax
and rdx, rax
mov rcx, r13
call fcn.140044610
inc rsi
cmp rsi, r12
jl 0x1400447f0
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140049f20
Capabilities:
Hash data using djb2

Disassembly:
mov rax, rsp
push rbx
push rbp
push r14
sub rsp, 0x240
mov qword [rax + 0x10], rdi
mov rbp, r9
movzx edi, word [0x14009b836]
mov rbx, r8
mov qword [rax + 0x18], r15
mov r14, rdx
mov r15, rcx
test di, di
jne 0x140049f6c
movzx eax, word [0x14009b834]
cmp word [r8 + 4], ax
jne 0x14004a006
xor eax, eax
mov word [r8 + 4], ax
jmp 0x14004a006
cmp word [r8 + 6], di
jb 0x14004a006
mov qword [rsp + 0x260], rsi
cmp edi, 1
jbe 0x140049f9a
lea rdx, [0x14009b830]
movsxd rcx, edi
movzx esi, word [rdx + rdi*2 + 8]
sub si, word [rdx + rcx*2 + 6]
jmp 0x140049fa1
movzx esi, word [0x14009b83a]
mov r8, rdi
lea rcx, [rbx + 0xa]
add r8, r8
lea rdx, [0x14009b83a]
call fcn.140050840
test eax, eax
jne 0x140049ffe
movzx r8d, si
lea rcx, [rbx + 0x8a]
lea rdx, [0x14009b8ba]
call fcn.140050840
test eax, eax
jne 0x140049ffe
movzx r9d, word [rbx + 6]
lea rcx, [rsp + 0x40]
dec r9d
mov r8d, edi
mov rdx, rbx
call fcn.140042120
mov r8d, dword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140041d60
mov rsi, qword [rsp + 0x260]
movzx r9d, word [rbx + 6]
xor r8d, r8d
dec r9d
mov rdx, rbx
mov rcx, rbp
call fcn.140042120
movzx edx, byte [rbp]
lea r9, [rbp + 1]
mov rdi, qword [rsp + 0x268]
mov r8d, 0x1505
test edx, edx
je 0x14004a060
nop word [rax + rax]
lea eax, [rdx - 0x41]
cmp eax, 0x1a
lea ecx, [rdx + 0x20]
lea r9, [r9 + 1]
cmovb edx, ecx
imul r8d, r8d, 0x21
add r8d, edx
movzx edx, byte [r9 - 1]
test edx, edx
jne 0x14004a040
test r8d, r8d
lea rcx, [rsp + 0x20]
mov ebx, 1
mov rdx, r15
cmovne ebx, r8d
mov r8, rbp
mov r9d, ebx
call fcn.14004afb0
mov r15, qword [rsp + 0x270]
mov eax, dword [rax]
test al, 1
jne 0x14004a0b7
mov r8, rbp
mov edx, ebx
mov rcx, r14
call fcn.1400145f0
mov rcx, qword [rsp + 0x280]
test rax, rax
mov qword [rcx], rax
setne al
add rsp, 0x240
pop r14
pop rbp
pop rbx
ret
mov al, 1
add rsp, 0x240
pop r14
pop rbp
pop rbx
ret
Function at 0x14004c338
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14004c3bc
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14007b720]
cmp byte [rcx + rax], 0
je 0x14004c3bc
dec r8
sub rdx, 1
jne 0x14004c3a2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14004e3f4
Capabilities:
Parse pe header

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

Function at 0x1400595cc
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 0x14005942b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005942b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005942b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005942b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005942b
cmp dword [rcx + 0x84], 0xe
jbe 0x14005942b
cmp dword [rcx + 0xf8], 0
je 0x14005942b
mov ecx, ebx
call fcn.1400594e8
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.1400592b8
nop
cmp dword [rbp + 0x20], 0
je 0x140059479
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140059484
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400593bc