joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b128
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, 0x67
xor ecx, ecx
lea r8d, [rdx - 0x5d]
call qword [sym.imp.KERNEL32.DLL_FindResourceW]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_LoadResource]
mov rdx, rbx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
mov rcx, rdi
mov ebp, eax
call qword [sym.imp.KERNEL32.DLL_LockResource]
mov ecx, ebp
mov esi, ebp
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, ebp
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memcpy
test ebp, ebp
je 0x14000b1af
mov rdx, rdi
mov cl, byte [rdx]
mov al, cl
shl cl, 7
shr al, 1
or al, cl
mov byte [rdx], al
inc rdx
sub rsi, 1
jne 0x14000b199
mov edx, ebp
mov rcx, rdi
call fcn.1400153bc
mov qword [0x140046de0], rax
call fcn.14000a884
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c054
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rcx
mov rsi, rcx
movq rcx, xmm1
movabs rax, 0x7fffffffffffffff
bt rcx, 0x3f
jb 0x14000c09b
test rax, rcx
jne 0x14000c0a6
mov word [rbx], 0x2e30
mov byte [rbx + 2], 0x30
lea rax, [rbx + 3]
jmp 0x14000c2c5
mov byte [rbx], 0x2d
inc rbx
and rcx, rax
jmp 0x14000c087
movabs rax, 0x7ff8000000000000
cmp rcx, rax
jne 0x14000c0c0
mov word [rbx], 0x616e
mov byte [rbx + 2], 0x6e
jmp 0x14000c092
movabs rax, 0x7ff0000000000000
cmp rcx, rax
jne 0x14000c0da
mov word [rbx], 0x6e69
mov byte [rbx + 2], 0x66
jmp 0x14000c092
mov rax, rcx
movabs rdx, 0xfffffffffffff
and rax, rdx
shr rcx, 0x34
movabs r10, 0x10000000000000
and ecx, 0x7ff
jne 0x14000c10d
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 0xfffffbce
jmp 0x14000c11d
add rax, r10
mov qword [rbp - 0x30], rax
lea eax, [rcx - 0x433]
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x30]
movups xmm3, xmmword [rax]
movups xmm0, xmm3
movq rcx, xmm0
psrldq xmm0, 8
movd r9d, xmm0
lea r8, [rcx*2 + 1]
lea edx, [r9 - 1]
mov dword [rbp - 0x28], edx
mov eax, edx
jmp 0x14000c159
mov rax, qword [rbp - 0x10]
lea r8, [rax + rax]
mov eax, dword [rbp - 8]
dec eax
mov dword [rbp - 0x28], eax
bt r8, 0x35
mov qword [rbp - 0x30], r8
movups xmm0, xmmword [rbp - 0x30]
movdqu xmmword [rbp - 0x10], xmm0
jae 0x14000c149
shl r8, 0xa
lea edi, [rax - 0xa]
cmp rcx, r10
jne 0x14000c190
movabs rax, 0x3fffffffffffff
mov qword [rbp - 0x30], rax
lea eax, [r9 - 2]
mov dword [rbp - 0x28], eax
jmp 0x14000c19f
lea rax, [rcx*2 - 1]
mov dword [rbp - 0x28], edx
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x30]
movups xmm2, xmmword [rax]
lea eax, [rdi + 0x3d]
movd xmm1, eax
xor eax, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x140041f50]
cvttsd2si ecx, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
seta al
lea edx, [rax + 0x15b]
mov eax, 0x154
add edx, ecx
mov ecx, edx
and ecx, 0xfffffff8
sub eax, ecx
lea rcx, [0x1400181e0]
mov dword [rbp + 0x38], eax
movsxd rax, edx
sar rax, 3
add rax, rax
movups xmm0, xmmword [rcx + rax*8]
mov ecx, 0x3f
movq rax, xmm3
bsr rdx, rax
movq r9, xmm0
psrldq xmm0, 8
sub ecx, edx
shl rax, cl
mul r9
mov r10, rax
mov r11, rdx
mov rax, r8
shr r10, 0x3f
mul r9
movd r8d, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 8
movd ecx, xmm0
add r8d, 0x40
shr rax, 0x3f
add r8d, edi
mov dword [rbp - 0x28], r8d
sub ecx, edi
lea r8, [rdx - 1]
add r8, rax
movq rax, xmm2
shl rax, cl
mov rcx, rbx
mul r9
mov qword [rbp - 0x30], r8
mov r9, r8
movaps xmm0, xmmword [rbp - 0x30]
sub r8, r10
shr rax, 0x3f
sub r8, r11
sub r9, rax
movdqa xmmword [rbp - 0x30], xmm0
sub r9, rdx
lea rax, [rbp + 0x38]
dec r9
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x30]
call fcn.14000ca04
mov r8d, dword [rbp + 0x38]
mov r9d, 0x144
mov edx, eax
mov rcx, rbx
call fcn.14000c828
lea rcx, [rsi + 1]
cmp rax, rcx
jbe 0x14000c2c5
cmp byte [rax - 1], 0x30
jne 0x14000c2c5
lea rcx, [rax - 2]
cmp byte [rcx], 0x2e
cmove rax, rcx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c5bc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x14000c608
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbp, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
lea r12, [rsi + 0x18]
bsr rcx, rax
mov ebx, 1
mov r8, rbp
inc ecx
shl rbx, cl
mov rcx, r12
lea rdx, [rbx + rbx]
call fcn.14000c47c
lea rax, [rbx - 1]
mov qword [rsi + 0x38], rbx
mov qword [rsi + 0x30], rax
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x14000c79f
mov rdi, qword [rdi]
lea r14, [rbx + 0x10]
mov rax, qword [r14 + 0x18]
mov r8, r14
mov r13, qword [r14 + 0x10]
cmp rax, 0xf
jbe 0x14000c66f
mov r8, qword [r14]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r13, r13
je 0x14000c6a2
movzx eax, byte [rdx + r8]
movabs r9, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r9
cmp rdx, r13
jb 0x14000c680
mov rax, qword [r14 + 0x18]
mov r15, qword [rsi + 0x30]
mov r12, qword [r12]
and r15, rcx
add r15, r15
cmp qword [r12 + r15*8], rbp
jne 0x14000c6c4
mov qword [r12 + r15*8], rbx
mov qword [r12 + r15*8 + 8], rbx
jmp 0x14000c78f
mov rsi, qword [r12 + r15*8 + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x14000c6db
mov rdx, qword [rdx]
mov rcx, r14
cmp rax, 0xf
jbe 0x14000c6e7
mov rcx, qword [r14]
cmp r13, r8
jne 0x14000c75f
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000c75b
mov rax, qword [rsi]
cmp rax, rbx
je 0x14000c721
mov r8, qword [rbx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov qword [rax + 8], rdx
mov qword [rdi + 8], r8
mov qword [rbx + 8], rcx
mov qword [r12 + r15*8 + 8], rbx
jmp 0x14000c78a
mov rsi, qword [rsi + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x14000c73e
mov rdx, qword [rdx]
mov rcx, r14
cmp rax, 0xf
jbe 0x14000c74a
mov rcx, qword [r14]
cmp r13, r8
jne 0x14000c75f
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000c7bc
mov rax, qword [r14 + 0x18]
cmp qword [r12 + r15*8], rsi
jne 0x14000c728
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r15*8], rbx
mov rsi, qword [rsp + 0x50]
lea r12, [rsi + 0x18]
mov rbx, rdi
cmp rdi, rbp
jne 0x14000c654
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x14000c78a
Function at 0x14000e124
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
cmp qword [r8 + 0x18], 0xf
mov r14, rdx
mov rdx, r8
mov rbx, r8
mov rsi, rcx
jbe 0x14000e152
mov rdx, qword [r8]
xor ecx, ecx
movabs rbp, 0xcbf29ce484222325
cmp qword [r8 + 0x10], rcx
jbe 0x14000e182
movzx eax, byte [rcx + rdx]
movabs r8, 0x100000001b3
xor rbp, rax
inc rcx
imul rbp, r8
cmp rcx, qword [rbx + 0x10]
jb 0x14000e164
mov r9, rbp
lea rdx, [rsp + 0x20]
mov r8, rbx
mov rcx, rsi
call fcn.1400106e4
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14000e1ac
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14000e350
movabs rax, 0x492492492492492
cmp qword [rsi + 0x10], rax
jne 0x14000e1ca
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov ecx, 0x38
call fcn.140015624
xorps xmm0, xmm0
mov rdi, rax
lea r15, [rax + 0x10]
movups xmmword [r15], xmm0
and qword [r15 + 0x10], 0
and qword [r15 + 0x18], 0
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbx + 0x10]
xorps xmm0, xmm0
movups xmmword [r15 + 0x10], xmm1
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
and qword [r15 + 0x20], 0
mov rcx, qword [rsi + 0x10]
add rcx, 1
js 0x14000e225
cvtsi2ss xmm0, rcx
jmp 0x14000e23a
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [rsi + 0x38]
xorps xmm2, xmm2
test rbx, rbx
js 0x14000e24d
cvtsi2ss xmm2, rbx
jmp 0x14000e265
mov rax, rbx
mov rcx, rbx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, dword [rsi]
jbe 0x14000e2f8
divss xmm0, dword [rsi]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140041f48]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14000e2a3
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14000e2a3
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14000e2d1
cmp rbx, 0x200
jae 0x14000e2ce
shl rbx, 3
cmp rbx, rcx
jae 0x14000e2d1
mov rbx, rcx
mov rdx, rbx
mov rcx, rsi
call fcn.14000c5bc
mov r9, rbp
lea rdx, [rsp + 0x20]
mov r8, r15
mov rcx, rsi
call fcn.1400106e4
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rax, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x18]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [rsi + 8]
jne 0x14000e331
mov qword [rcx + rax*8], rdi
jmp 0x14000e343
cmp r9, rdx
jne 0x14000e33c
mov qword [rcx + rax*8], rdi
jmp 0x14000e348
cmp qword [rcx + rax*8 + 8], r8
jne 0x14000e348
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rbx, qword [rsp + 0x50]
mov rax, r14
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14000e36c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
cmp qword [r8 + 0x18], 0xf
mov rsi, rdx
mov rdx, r8
mov rbx, r8
mov rbp, rcx
jbe 0x14000e39a
mov rdx, qword [r8]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
cmp qword [r8 + 0x10], rcx
jbe 0x14000e3ca
movzx eax, byte [rcx + rdx]
movabs r8, 0x100000001b3
xor r14, rax
inc rcx
imul r14, r8
cmp rcx, qword [rbx + 0x10]
jb 0x14000e3ac
mov r9, r14
lea rdx, [rsp + 0x20]
mov r8, rbx
mov rcx, rbp
call fcn.1400106e4
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14000e3f3
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x14000e570
movabs rax, 0x249249249249249
cmp qword [rbp + 0x10], rax
jne 0x14000e411
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov ecx, 0x70
call fcn.140015624
mov rdx, rbx
mov rdi, rax
lea rcx, [rax + 0x10]
call fcn.14000be60
and qword [rdi + 0x68], 0
xorps xmm0, xmm0
mov rcx, qword [rbp + 0x10]
add rcx, 1
js 0x14000e443
cvtsi2ss xmm0, rcx
jmp 0x14000e458
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [rbp + 0x38]
xorps xmm2, xmm2
test rbx, rbx
js 0x14000e46b
cvtsi2ss xmm2, rbx
jmp 0x14000e483
mov rax, rbx
mov rcx, rbx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, dword [rbp]
jbe 0x14000e519
divss xmm0, dword [rbp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140041f48]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14000e4c3
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14000e4c3
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14000e4f1
cmp rbx, 0x200
jae 0x14000e4ee
shl rbx, 3
cmp rbx, rcx
jae 0x14000e4f1
mov rbx, rcx
mov rdx, rbx
mov rcx, rbp
call fcn.14000c5bc
mov r9, r14
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.1400106e4
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rax, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x18]
and rax, r14
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [rbp + 8]
jne 0x14000e552
mov qword [rcx + rax*8], rdi
jmp 0x14000e564
cmp r9, rdx
jne 0x14000e55d
mov qword [rcx + rax*8], rdi
jmp 0x14000e569
cmp qword [rcx + rax*8 + 8], r8
jne 0x14000e569
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140013378
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, ecx
test rdx, rdx
jne 0x140013389
xor eax, eax
jmp 0x1400133f5
lea rbx, [0x140040770]
not r9d
cmp r8d, 8
jb 0x1400133cd
mov r10d, r8d
shr r10, 3
mov r11d, 8
movzx ecx, byte [rdx]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc rdx
xor r9d, dword [rbx + rax*4]
sub r11, 1
jne 0x1400133a6
add r8d, 0xfffffff8
sub r10, 1
jne 0x1400133a0
test r8d, r8d
je 0x1400133ef
movzx ecx, byte [rdx]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc rdx
xor r9d, dword [rbx + rax*4]
add r8d, 0xffffffff
jne 0x1400133d2
not r9d
mov eax, r9d
mov rbx, qword [rsp + 8]
ret

Function at 0x140013b84
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
imul r8d, edx
mov rdi, r9
cmp byte [r9], 0
mov rsi, rdx
mov r10, rcx
je 0x140013bcb
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
mov rdx, rcx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x140013bc5
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x140013bf7
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
lea eax, [rdx + r8]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r8d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r10
call sub.VCRUNTIME140.dll_memcpy
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140014594
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140014772
cmp dword [rcx + 0x1c], 0
je 0x140014772
cmp qword [rcx + 0x80], 0
je 0x1400145c4
call fcn.140014aa8
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.1400143cc
test eax, eax
je 0x1400145e9
mov eax, 0xffffff99
jmp 0x140014777
mov ecx, 0xb0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140014606
mov eax, 0xffffff98
jmp 0x140014777
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [rsp + 0x40]
and dword [rbx + 0x70], 0
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
test rax, rax
jne 0x140014636
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400145fc
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
and dword [rbx + 0x64], 0
and dword [rbx + 0x74], 0
and dword [rbx + 0x24], 0
mov dword [rbx + 0x78], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x94], eax
mov dword [rbx + 0x90], ecx
test ecx, ecx
je 0x14001468b
and qword [rbx + 0x38], 0
lea rcx, [rbx + 8]
and qword [rbx + 0x40], 0
and qword [rbx + 0x48], 0
call fcn.1400135e0
test eax, eax
jne 0x14001468b
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
mov cl, byte [rdi + 0x34]
mov dword [rbx + 0x7c], eax
and cl, 1
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
mov eax, dword [rdi + 0x34]
shr eax, 3
mov byte [rbx + 0x98], cl
test al, 1
je 0x1400146b5
mov al, byte [rdi + 0x3d]
jmp 0x1400146b8
mov al, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
neg cl
mov dword [rbx + 0x9c], 0x12345678
sbb eax, eax
mov dword [rbx + 0xa0], 0x23456789
and eax, 0xc
mov dword [rbx + 0xa4], 0x34567890
mov dword [rbx + 0xa8], eax
test rsi, rsi
je 0x140014754
lea r8, [0x140040770]
cmp byte [rsi], 0
je 0x140014754
mov edx, dword [rbx + 0x9c]
movsx rax, byte [rsi]
xor rax, rdx
shr edx, 8
movzx ecx, al
xor edx, dword [r8 + rcx*4]
movzx eax, dl
add eax, dword [rbx + 0xa0]
imul ecx, eax, 0x8088405
mov dword [rbx + 0x9c], edx
mov edx, dword [rbx + 0xa4]
inc ecx
mov dword [rbx + 0xa0], ecx
movzx eax, byte [rbx + 0xa3]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r8 + rcx*4]
mov dword [rbx + 0xa4], edx
add rsi, 1
jne 0x1400146f5
mov eax, dword [rsp + 0x58]
mov ecx, dword [rdi + 0x7c]
add eax, 0x1e
and dword [rbx + 0x10], 0
add ecx, eax
mov dword [rbx + 0x60], ecx
xor eax, eax
mov qword [rdi + 0x80], rbx
jmp 0x140014777
mov eax, 0xffffff9a
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400153bc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov ebp, edx
mov ecx, 0x458
call fcn.140015624
xor r15d, r15d
or rsi, 0xffffffffffffffff
mov ecx, 0x104
mov rbx, rax
lea rdi, [rax + 0x250]
mov qword [rax], r15
mov rdx, rdi
mov dword [rax + 8], esi
mov dword [rax + 0x23c], esi
mov qword [rax + 0x240], r15
mov qword [rax + 0x248], r15
call qword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
inc rsi
cmp word [rdi + rsi*2], r15w
jne 0x14001541c
movzx eax, word [rbx + rsi*2 + 0x24e]
cmp ax, 0x5c
je 0x140015450
cmp ax, 0x2f
je 0x140015450
sub rdi, 2
lea rdi, [rdi + 2]
cmp word [rdi], r15w
jne 0x14001543e
mov eax, dword [0x140017b54]
mov dword [rdi], eax
mov ecx, 0x30
call fcn.140015624
mov rcx, rax
mov word [rax], 0x100
mov byte [rax + 0x18], r15b
mov qword [rax + 0x20], r14
mov dword [rax + 0x28], ebp
mov dword [rax + 0x2c], r15d
mov dword [rax + 0x14], r15d
call fcn.140013ed4
mov qword [rbx], rax
test rax, rax
jne 0x1400154cd
mov rcx, qword [rbx + 0x240]
mov dword [0x140046df4], 0x200
test rcx, rcx
je 0x14001549d
call fcn.140015538
mov rcx, qword [rbx + 0x248]
mov qword [rbx + 0x240], r15
test rcx, rcx
je 0x1400154b5
call fcn.140015538
mov edx, 0x458
mov qword [rbx + 0x248], r15
mov rcx, rbx
call fcn.140015538
xor eax, eax
jmp 0x1400154e8
mov ecx, 0x10
mov dword [0x140046df4], r15d
call fcn.140015624
mov dword [rax], 1
mov qword [rax + 8], rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140015edc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140015f26
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140015f26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140015f26
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140015f26
cmp dword [rcx + 0x84], 0xe
jbe 0x140015f26
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140015f28
xor al, al
add rsp, 0x28
ret
Function at 0x1800033d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov rdi, rcx
mov r8d, dword [0x180051654]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x1800517f0], r8d
jle 0x180003452
lea rcx, [0x1800517f0]
call fcn.1800212b8
cmp dword [0x1800517f0], 0xffffffff
jne 0x180003452
mov edx, 2
lea rsi, [0x180051800]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x180023940]
call fcn.1800211f8
lea rcx, [0x1800517f0]
call fcn.18002124c
jmp 0x180003459
lea rsi, [0x180051800]
mov qword [rsp + 0x70], rsi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x180003477
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x18005184c], 0x7fffffff
jne 0x180003499
mov dword [0x18005184c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800034aa
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1800034e3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1800034d0
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.180003dd0
cmp qword [rax + 8], 0
je 0x18000350e
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800037d0
mov rcx, qword [rax]
cmp qword [rcx + 0x30], 0
jne 0x18000353f
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18000351b
mov rdx, qword [rdi]
mov rcx, qword [0x1800517e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800037d0
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800037d0
mov rcx, qword [rax]
cmp qword [rcx + 0x30], 0
je 0x180003587
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800037d0
mov rax, qword [rax]
mov rdx, qword [rax + 0x30]
mov rcx, r14
call rdx
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, rbx
jmp 0x180003590
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x180004270
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
jne 0x1800042a9
xor eax, eax
lea r8, [0x18000ad70]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret