joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
test r8d, r8d
je 0x14000116a
mov qword [rsi], rdi
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm0
mov r12, qword [rdi + 8]
mov r15d, dword [r12 + 0x18]
test r15, r15
je 0x14000117a
mov ebx, r8d
mov r13, qword [rdi]
mov eax, dword [r12 + 0x20]
mov r14d, dword [r13 + rax]
add r14, r13
mov rcx, r14
call fcn.1400101f0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rax
mov ecx, dword [r12 + 0x1c]
mov edx, dword [r12 + 0x24]
add rcx, r13
movzx edx, word [r13 + rdx]
mov ecx, dword [rcx + rdx*4]
add rcx, r13
mov qword [rsi + 0x20], rcx
mov r13, qword [rdi]
xor ebp, ebp
nop word cs:[rax + rax]
test rax, rax
je 0x140001110
mov edx, 0x36e181e
xor ecx, ecx
nop dword [rax]
movzx r8d, byte [r14 + rcx]
lea r9d, [r8 - 0x41]
lea r10d, [r8 + 0x20]
cmp r9b, 0x1a
movzx r9d, r10b
cmovae r9d, r8d
movsx r8d, r9b
lea r9d, [rcx + r8]
imul r9d, r9d, 0x8912812
lea r10d, [rcx + rdx]
add r10d, r8d
imul r10d, r10d, 0xce7b78ed
lea r11d, [r8 - 0x23813]
imul r11d, ecx
add r11d, r8d
lea r8d, [r10 + r11]
add r8d, 0x381487
xor r8d, r9d
add r8d, edx
inc rcx
mov edx, r8d
cmp rax, rcx
jne 0x1400010a0
cmp r8d, ebx
jne 0x14000111b
jmp 0x140001193
mov r8d, 0x36e181e
cmp r8d, ebx
je 0x140001193
mov eax, dword [r12 + 0x20]
add rax, r13
mov r14d, dword [rax + rbp*4]
add r14, r13
mov rcx, r14
call fcn.1400101f0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rax
mov ecx, dword [r12 + 0x1c]
mov edx, dword [r12 + 0x24]
add rcx, r13
add rdx, r13
movzx edx, word [rdx + rbp*2]
mov ecx, dword [rcx + rdx*4]
add rcx, r13
mov qword [rsi + 0x20], rcx
inc rbp
mov qword [rsi + 8], rbp
cmp rbp, r15
jne 0x140001090
jmp 0x14000117d
mov rax, qword [rdi + 8]
mov eax, dword [rax + 0x18]
mov qword [rsi], rdi
mov qword [rsi + 8], rax
jmp 0x140001184
xor r15d, r15d
mov qword [rsi], rdi
mov qword [rsi + 8], r15
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], 0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140001260
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
mov edi, edx
mov rsi, rcx
mov qword [rsp + 0x78], 0xfffffffffa0a1f00
lea r15, [rsp + 0x78]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x50], 0
lea rbx, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov ecx, 0xce77f0f3
mov rdx, rbx
call fcn.1400014e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 0x1fffff
xor edx, edx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x70], 0x100000
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
lea r14, [rsp + 0x48]
mov ecx, 0xce77f0f3
mov r8, r14
call fcn.1400014e0
mov dword [rsp + 0x6c], 0x40
mov dword [rsp + 0x68], 0x3000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x58]
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x64]
mov ecx, 0xdab74943
call fcn.140001680
lea rcx, [0x14002c4d0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x1400014af
mov r9, qword [rsp + 0x50]
mov r8d, edi
cmp edi, 8
jb 0x1400013c6
mov rax, r9
sub rax, rsi
cmp rax, 0x20
jb 0x1400013c6
cmp edi, 0x20
jae 0x140001387
xor r10d, r10d
jmp 0x1400013d1
mov r10d, r8d
and r10d, 0xffffffe0
xor eax, eax
movups xmm0, xmmword [rsi + rax]
movups xmm1, xmmword [rsi + rax + 0x10]
movups xmmword [r9 + rax], xmm0
movups xmmword [r9 + rax + 0x10], xmm1
add rax, 0x20
cmp r10, rax
jne 0x140001390
cmp r10, r8
je 0x1400014af
test r8b, 0x18
jne 0x1400013d1
and r8d, 0x1f
add r9, r10
add rsi, r10
mov rax, rsi
mov rcx, r9
mov rdx, r8
jmp 0x14000140a
mov r11d, r8d
and r11d, 0xfffffff8
lea rax, [rsi + r11]
lea rcx, [r9 + r11]
mov edx, r8d
and edx, 7
nop word cs:[rax + rax]
mov rdi, qword [rsi + r10]
mov qword [r9 + r10], rdi
add r10, 8
cmp r11, r10
jne 0x1400013f0
cmp r11, r8
je 0x1400014af
lea r8, [rdx - 1]
mov r10, rdx
and r10, 7
je 0x14000143a
xor r9d, r9d
nop word [rax + rax]
movzx r11d, byte [rax + r9]
mov byte [rcx + r9], r11b
inc r9
cmp r10, r9
jne 0x140001420
add rax, r9
add rcx, r9
sub rdx, r9
cmp r8, 7
jb 0x1400014af
xor r8d, r8d
nop word cs:[rax + rax]
movzx r9d, byte [rax + r8]
mov byte [rcx + r8], r9b
movzx r9d, byte [rax + r8 + 1]
mov byte [rcx + r8 + 1], r9b
movzx r9d, byte [rax + r8 + 2]
mov byte [rcx + r8 + 2], r9b
movzx r9d, byte [rax + r8 + 3]
mov byte [rcx + r8 + 3], r9b
movzx r9d, byte [rax + r8 + 4]
mov byte [rcx + r8 + 4], r9b
movzx r9d, byte [rax + r8 + 5]
mov byte [rcx + r8 + 5], r9b
movzx r9d, byte [rax + r8 + 6]
mov byte [rcx + r8 + 6], r9b
movzx r9d, byte [rax + r8 + 7]
mov byte [rcx + r8 + 7], r9b
add r8, 8
cmp rdx, r8
jne 0x140001450
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov ecx, 0xce77f0f3
call fcn.1400014e0
call qword [rsp + 0x50]
int3
Function at 0x1400039d0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x140003a66
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140003a6d
mov r15, rsi
jmp 0x140003a2b
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call fcn.140023890
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
test r15, r15
jle 0x140003a5e
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003a43
mov rax, qword [rbx + 0x50]
mov r14d, dword [rax]
test r14d, r14d
jg 0x140003a00
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003a5e
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x140003a2b
sub rsi, r15
jmp 0x140003b5a
xor esi, esi
jmp 0x140003b5a
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003ac0
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x140003ac0
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.140023890
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x140003ad1
jmp 0x140003b57
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x140003b57
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140003b00
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
nop dword [rax]
cmp r14, 0x1000
jb 0x140003b33
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.14000f408
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x140003b00
jmp 0x140003b57
test r14, r14
je 0x140003b54
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.14000f408
sub r14, rax
jmp 0x140003b57
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140004a90
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
cmp qword [0x140035328], 0
je 0x140004ab3
cmp qword [0x140035330], 0
jne 0x140004bea
mov rax, qword gs:[0x60]
mov r14, qword [rax + 0x18]
mov rax, qword [r14 + 0x10]
add r14, 0x10
mov r15, qword [rax]
cmp r15, r14
je 0x140004b3a
lea rsi, [rsp + 0x28]
lea rdi, [rsp + 0x38]
xor ebx, ebx
nop dword [rax]
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov ecx, dword [rax + 0x3c]
mov rcx, qword [rax + rcx + 0x88]
mov rdx, rcx
shr rdx, 0x20
je 0x140004b10
mov ecx, ecx
add rcx, rax
mov qword [rsp + 0x30], rcx
mov rcx, rsi
mov rdx, rdi
mov r8d, 0xdab74943
call section..text
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp qword [rsp + 0x40], rax
jne 0x140004b3e
mov r15, qword [r15]
cmp r15, r14
jne 0x140004ae0
jmp 0x140004b43
xor ebx, ebx
jmp 0x140004b43
mov rbx, qword [rsp + 0x58]
mov qword [0x140035328], rbx
mov rax, qword gs:[0x60]
mov r14, qword [rax + 0x18]
mov rax, qword [r14 + 0x10]
add r14, 0x10
mov r15, qword [rax]
cmp r15, r14
je 0x140004bda
lea rsi, [rsp + 0x28]
lea rdi, [rsp + 0x38]
xor ebx, ebx
nop word cs:[rax + rax]
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov ecx, dword [rax + 0x3c]
mov rcx, qword [rax + rcx + 0x88]
mov rdx, rcx
shr rdx, 0x20
je 0x140004bb0
mov ecx, ecx
add rcx, rax
mov qword [rsp + 0x30], rcx
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x4344a267
call section..text
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp qword [rsp + 0x40], rax
jne 0x140004bde
mov r15, qword [r15]
cmp r15, r14
jne 0x140004b80
jmp 0x140004be3
xor ebx, ebx
jmp 0x140004be3
mov rbx, qword [rsp + 0x58]
mov qword [0x140035330], rbx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140004c00
Capabilities:
Access peb ldr_data
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov r12, rcx
mov ebx, dword [rcx]
mov r14d, ebx
shr r14d, 0x10
mov edi, ebx
shr edi, 0x18
lea rcx, [0x1400352b8]
call sub.KERNEL32.dll_AcquireSRWLockShared
movzx eax, bl
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx esi, bh
xor rsi, rcx
imul rsi, rax
movzx edx, r14b
xor rdx, rsi
imul rdx, rax
xor rdx, rdi
imul rdx, rax
and rdx, qword [0x1400352f0]
mov r8, qword [0x1400352d8]
mov rax, rdx
shl rax, 4
mov rax, qword [r8 + rax + 8]
mov rcx, qword [0x1400352c8]
cmp rax, rcx
je 0x140004cde
cmp dword [rax + 0x10], ebx
je 0x140004cbe
add rdx, rdx
mov rdx, qword [r8 + rdx*8]
nop word cs:[rax + rax]
cmp rax, rdx
je 0x140004cde
mov rax, qword [rax + 8]
cmp dword [rax + 0x10], ebx
jne 0x140004cb0
cmp rax, rcx
je 0x140004cde
mov r15, qword [rax + 0x18]
lea rcx, [0x1400352b8]
call sub.KERNEL32.dll_ReleaseSRWLockShared
test r15, r15
jne 0x140004db8
jmp 0x140004cea
lea rcx, [0x1400352b8]
call sub.KERNEL32.dll_ReleaseSRWLockShared
mov rsi, r12
mov edi, dword [r12]
mov rax, qword gs:[0x60]
mov r12, qword [rax + 0x18]
mov rax, qword [r12 + 0x10]
add r12, 0x10
mov r13, qword [rax]
cmp r13, r12
je 0x140004d73
lea rbx, [rbp - 0x18]
lea r14, [rbp - 0x40]
xor r15d, r15d
nop word [rax + rax]
mov rax, qword [r13 + 0x30]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
mov ecx, dword [rax + 0x3c]
mov rcx, qword [rax + rcx + 0x88]
mov rdx, rcx
shr rdx, 0x20
je 0x140004d4d
mov ecx, ecx
add rcx, rax
mov qword [rbp - 0x10], rcx
mov rcx, rbx
mov rdx, r14
mov r8d, edi
call section..text
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x18]
cmp qword [rbp - 0x38], rax
jne 0x140004d78
mov r13, qword [r13]
cmp r13, r12
jne 0x140004d20
jmp 0x140004d7c
xor r15d, r15d
jmp 0x140004d7c
mov r15, qword [rbp - 0x20]
mov r12, rsi
mov eax, dword [rsi]
mov qword [rbp - 0x18], r15
mov dword [rbp - 4], eax
lea rcx, [0x1400352b8]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
lea rcx, [0x1400352c0]
lea rdx, [rbp - 0x40]
lea r8, [rbp - 4]
lea r9, [rbp - 0x18]
call fcn.140004e20
lea rcx, [0x1400352b8]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov eax, dword [r15 + 4]
mov dword [r12 + 4], eax
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140004e20
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx r15d, byte [r8 + 3]
xor r15, rcx
imul r15, rax
mov rcx, qword [rdi + 0x30]
and rcx, r15
mov rdx, qword [rdi + 0x18]
mov rax, rcx
shl rax, 4
mov r13, qword [rdx + rax + 8]
cmp r13, qword [rdi + 8]
je 0x140004ed6
mov eax, dword [r14]
cmp eax, dword [r13 + 0x10]
je 0x140004ecf
add rcx, rcx
mov r12, qword [rdx + rcx*8]
nop dword [rax]
cmp r13, r12
je 0x140004ed9
mov r13, qword [r13 + 8]
cmp eax, dword [r13 + 0x10]
jne 0x140004ec0
xor eax, eax
jmp 0x140005077
mov r12, r13
movabs rax, 0x7ffffffffffffff
cmp qword [rdi + 0x10], rax
je 0x140005091
mov ecx, 0x20
call fcn.140006fd8
mov r13, rax
mov r14d, dword [r14]
mov dword [rax + 0x10], r14d
mov rax, qword [rbx]
mov qword [r13 + 0x18], rax
mov rax, qword [rdi + 0x10]
inc rax
js 0x140004f18
cvtsi2ss xmm0, rax
jmp 0x140004f2d
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov rbx, qword [rdi + 0x38]
test rbx, rbx
js 0x140004f41
cvtsi2ss xmm2, rbx
jmp 0x140004f58
mov rax, rbx
shr rax, 1
mov ecx, ebx
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x140005020
divss xmm0, xmm1
call fcn.14000e988
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140025018]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp rbx, rax
mov qword [rbp - 8], r13
jae 0x140004fc3
lea rcx, [rbx*8]
cmp rcx, rax
cmovb rcx, rax
cmp rbx, 0x200
cmovae rcx, rax
mov rbx, rcx
mov rcx, rdi
mov rdx, rbx
call fcn.1400050e0
mov rax, qword [rdi + 0x30]
and rax, r15
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r12, qword [rcx + rdx + 8]
cmp r12, qword [rdi + 8]
je 0x140005017
cmp r14d, dword [r12 + 0x10]
mov r13, qword [rbp - 8]
je 0x140005011
add rax, rax
mov rax, qword [rcx + rax*8]
nop dword [rax]
cmp r12, rax
je 0x14000501d
mov r12, qword [r12 + 8]
cmp r14d, dword [r12 + 0x10]
jne 0x140005000
mov r12, qword [r12]
jmp 0x140005020
mov r13, qword [rbp - 8]
jmp 0x140005020
mov r12, rax
mov rcx, qword [r12 + 8]
inc qword [rdi + 0x10]
mov qword [r13], r12
mov qword [r13 + 8], rcx
mov qword [rcx], r13
mov qword [r12 + 8], r13
mov rax, qword [rdi + 0x18]
and r15, qword [rdi + 0x30]
shl r15, 4
lea rdx, [rax + r15]
lea r8, [rax + r15]
add r8, 8
mov rax, qword [rax + r15]
cmp rax, qword [rdi + 8]
je 0x14000506c
cmp rax, r12
je 0x140005072
mov al, 1
mov rdx, r8
cmp qword [r8], rcx
jne 0x140005077
jmp 0x140005072
mov qword [rdx], r13
mov rdx, r8
mov qword [rdx], r13
mov al, 1
mov qword [rsi], r13
mov byte [rsi + 8], al
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140007a9c
int3
Function at 0x1400050e0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x14000528f
mov rsi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.140002d90
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 8]
mov rax, qword [rax]
cmp rax, rdi
je 0x140005282
movabs rcx, 0xcbf29ce484222325
movabs rdx, 0x100000001b3
jmp 0x140005181
mov qword [r9 + r10*8], r8
mov qword [r9 + rbx*8], r8
cmp rax, rdi
je 0x140005282
mov r8, rax
mov rax, qword [rax]
movzx r9d, byte [r8 + 0x10]
xor r9, rcx
imul r9, rdx
movzx r10d, byte [r8 + 0x11]
xor r10, r9
imul r10, rdx
movzx r9d, byte [r8 + 0x12]
xor r9, r10
imul r9, rdx
movzx r11d, byte [r8 + 0x13]
xor r11, r9
imul r11, rdx
and r11, qword [rsi + 0x30]
mov r9, qword [rsi + 0x18]
lea r10, [r11 + r11]
lea rbx, [r11*2 + 1]
shl r11, 4
mov r11, qword [r9 + r11]
cmp r11, rdi
je 0x140005170
mov r14, qword [r9 + rbx*8]
mov ebp, dword [r8 + 0x10]
cmp ebp, dword [r14 + 0x10]
jne 0x140005220
mov r10, qword [r14]
cmp r10, r8
je 0x140005174
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov r14, qword [rax + 8]
mov qword [r14], r10
mov r15, qword [r10 + 8]
mov qword [r15], r8
mov qword [r10 + 8], r14
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
jmp 0x140005174
cmp r11, r14
je 0x140005258
mov r14, qword [r14 + 8]
cmp ebp, dword [r14 + 0x10]
jne 0x140005220
mov r9, qword [r14]
mov r10, qword [r8 + 8]
mov qword [r10], rax
mov r11, qword [rax + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], r8
mov qword [r9 + 8], r11
mov qword [rax + 8], r10
mov qword [r8 + 8], rbx
jmp 0x140005178
mov rbx, qword [r8 + 8]
mov qword [rbx], rax
mov r14, qword [rax + 8]
mov qword [r14], r11
mov r15, qword [r11 + 8]
mov qword [r15], r8
mov qword [r11 + 8], r14
mov qword [rax + 8], rbx
mov qword [r8 + 8], r15
mov qword [r9 + r10*8], r8
jmp 0x140005178
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140007a9c
int3

Function at 0x14000877c
Capabilities:
Parse pe header

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

Function at 0x14000b360
Capabilities:
Parse pe header

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

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000b4a8
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 0x14000b517
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b517
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b517
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b517
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b517
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b517
cmp dword [rcx + 0xf8], 0
je 0x14000b517
mov ecx, ebx
call fcn.14000b3e0
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.14000b63c
nop
cmp dword [rbp + 0x20], 0
je 0x14000b565
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000b474
int3

Function at 0x140010620
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010648
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140010648
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140019954
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140013dcc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400199f5
cmp ebx, dword [rsp + 0x30]
je 0x1400199ee
test esi, esi
je 0x1400199ee
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400199c9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400199d6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400199b3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400199da
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400199f7
mov eax, 1
jmp 0x1400199f7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001a96c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140008d90
sub rsp, rax
mov rax, qword [0x140034500]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140016fb8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001a9bb
mov rax, rbp
jmp 0x14001aac3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x36610]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001a69c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x36610]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001aabf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001aabf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001a69c
test rax, rax
js 0x14001aabf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001aabf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001aab1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001aab1
cmp byte [rcx], 0xd
jne 0x14001aa97
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001aaa6
cmp byte [rcx + 1], 0xa
jne 0x14001aaa6
inc rcx
jmp 0x14001aaa6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x35080]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001aa79
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001aac3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140007060
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b314
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001b344
xor eax, eax
jmp 0x14001b407
mov rbp, rbx
cmp word [rax], si
je 0x14001b369
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001b350
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001b34c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140013c8c
movsxd r14, eax
test eax, eax
jne 0x14001b3a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001b33d
mov rcx, r14
call fcn.140013b9c
mov rdi, rax
test rax, rax
jne 0x14001b3c0
xor ecx, ecx
call fcn.140013b60
jmp 0x14001b39c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140013c8c
test eax, eax
jne 0x14001b3f1
mov rcx, rdi
call fcn.140013b60
jmp 0x14001b3fb
xor ecx, ecx
call fcn.140013b60
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001ceac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001cec2
mov al, 1
jmp 0x14001cf22
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001ced3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001cf20
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001b424
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001cf20
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001cf20
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001cf20
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001cf22
xor al, al
add rsp, 0x20
pop rbx
ret