joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800427f0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180042825
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x28], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001d3c0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18004299d
mov qword [rsp + 0x30], rbp
xorps xmm2, xmm2
mov qword [rsp + 0x20], r15
movabs rbp, 0x100000001b3
movabs r15, 0xcbf29ce484222325
movss xmm0, dword [rax + 0x10]
ucomiss xmm0, xmm2
mov rcx, qword [rcx]
jp 0x1800428a7
jne 0x1800428a7
movaps xmm1, xmm2
jmp 0x1800428aa
movaps xmm1, xmm0
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
movd r9d, xmm1
mov edx, r9d
shr edx, 8
movzx r10d, dl
movzx edx, r9b
xor rdx, r15
imul rdx, rbp
xor r10, rdx
mov edx, r9d
imul r10, rbp
shr edx, 0x10
movzx r8d, dl
xor r10, r8
mov edx, r9d
imul r10, rbp
shr rdx, 0x18
xor r10, rdx
imul r10, rbp
and r11, r10
add r11, r11
mov rdx, qword [rdi + r11*8]
cmp rdx, rbx
jne 0x18004290c
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180042987
mov r10, qword [rdi + r11*8 + 8]
ucomiss xmm0, dword [r10 + 0x10]
jp 0x18004294a
jne 0x18004294a
mov r10, qword [r10]
cmp r10, rax
je 0x180042943
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8 + 8], rax
jmp 0x180042987
cmp rdx, r10
je 0x180042962
nop
mov r10, qword [r10 + 8]
ucomiss xmm0, dword [r10 + 0x10]
jp 0x18004295d
je 0x1800429ae
cmp rdx, r10
jne 0x180042950
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180042893
mov r15, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x28]
add rsp, 0x38
pop rdi
pop rsi
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180042987
Function at 0x180005e65
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x88
lea rdx, [0x180144978]
push 0x30
pop rax
mov esi, dword [rdx]
mov rax, qword gs:[rax]
mov rax, qword [rax + 0x60]
mov rbp, qword [rax + 0x18]
add rbp, 0x10
mov rbx, qword [rbp]
jmp 0x180005eb0
mov rcx, qword [rbx + 0x60]
call fcn.180006649
cmp esi, eax
jne 0x180005ead
mov rbp, qword [rbx + 0x30]
jmp 0x180005eb7
mov rbx, qword [rbx]
cmp rbx, rbp
jne 0x180005e9a
xor ebp, ebp
lea r14, [0x180144978]
movsxd r13, dword [rbp + 0x3c]
add r13, rbp
mov r12d, dword [r14 + 0x18]
mov r15d, dword [r14 + 0x38]
mov r14d, dword [r14 + 0x34]
mov ecx, dword [r13 + r12*8 + 0x88]
xor r12d, r12d
mov ebx, dword [rcx + rbp + 0x18]
mov r13d, dword [rcx + rbp + 0x20]
mov eax, dword [rcx + rbp + 0x1c]
add r13, rbp
mov edx, dword [rcx + rbp + 0x24]
add rax, rbp
add rdx, rbp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], ebx
test ebx, ebx
jbe fcn.180005f70
Function at 0x18000e760
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rdx
movzx r9d, cx
movabs rax, 0x79baa6bb6398b6f7
shr ecx, 0x10
mul r8
mov rax, r8
mov rbx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r8, rax
test r10, r10
jne 0x18000e7a8
lea eax, [r10 + 1]
mov rbx, qword [rsp + 8]
ret
test rbx, rbx
je 0x18000e87c
xor edx, edx
cmp r8, 7
jbe 0x18000e82a
lea r11d, [rdx + 7]
nop dword [rax]
movzx eax, byte [r10]
add r11d, 8
add r9d, eax
add edx, 8
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
add r10, 8
add ecx, r9d
mov eax, r11d
cmp rax, r8
jb 0x18000e7c0
mov eax, edx
cmp rax, r8
jae 0x18000e847
movzx eax, byte [r10]
inc edx
add r9d, eax
inc r10
add ecx, r9d
mov eax, edx
cmp rax, r8
jb 0x18000e831
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
sub rbx, r8
mov r8d, 0x15b0
jne 0x18000e7b1
mov rbx, qword [rsp + 8]
shl ecx, 0x10
lea eax, [r9 + rcx]
ret

Function at 0x18000e890
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
mov r10, rdx
test rdx, rdx
jne 0x18000e89e
xor eax, eax
ret
not ecx
test r8, r8
je 0x18000e8e4
lea r11, [0x1800fdbc0]
nop dword [rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
mov eax, ecx
shr ecx, 4
xor rax, r8
shr r8, 4
and eax, 0xf
mov edx, dword [r11 + rax*4]
xor edx, ecx
mov eax, edx
shr edx, 4
and eax, 0xf
xor rax, r8
mov ecx, dword [r11 + rax*4]
xor ecx, edx
sub r9, 1
jne 0x18000e8b0
not ecx
mov eax, ecx
ret
Function at 0x1800133a0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test rcx, rcx
je 0x1800134e0
mov r9, qword [rcx + 0x58]
test r9, r9
je 0x1800134e0
cmp edx, dword [rcx + 0x10]
jae 0x1800134e0
cmp dword [rcx + 0x14], 1
jne 0x1800134e0
mov eax, edx
lea r8, [rax*4]
mov rax, qword [r9 + 0x20]
mov edi, dword [rax + r8]
add rdi, qword [r9]
je 0x1800134e0
test rsi, rsi
je 0x1800134e0
mov dword [rsi], edx
mov rax, qword [rcx + 0x58]
mov qword [rsp + 0x30], rbx
mov rcx, qword [rax + 0x20]
mov eax, dword [r8 + rcx]
mov dword [rsi + 4], eax
movzx eax, word [rdi + 4]
mov word [rsi + 8], ax
movzx eax, word [rdi + 6]
mov word [rsi + 0xa], ax
movzx eax, word [rdi + 8]
mov word [rsi + 0xc], ax
movzx eax, word [rdi + 0xa]
mov word [rsi + 0xe], ax
movzx edx, word [rdi + 0xe]
movzx ecx, word [rdi + 0xc]
call fcn.180012a00
mov qword [rsi + 0x10], rax
lea rdx, [rdi + 0x2e]
mov eax, dword [rdi + 0x10]
mov ecx, 0x103
mov dword [rsi + 0x18], eax
mov eax, dword [rdi + 0x14]
mov qword [rsi + 0x20], rax
mov eax, dword [rdi + 0x18]
mov qword [rsi + 0x28], rax
movzx eax, word [rdi + 0x24]
mov word [rsi + 0x30], ax
mov eax, dword [rdi + 0x26]
mov dword [rsi + 0x34], eax
mov eax, dword [rdi + 0x2a]
mov qword [rsi + 0x38], rax
movzx eax, word [rdi + 0x1c]
cmp eax, ecx
cmovb ecx, eax
mov ebx, ecx
lea rcx, [rsi + 0x44]
mov r8d, ebx
call fcn.1800b0420
mov byte [rbx + rsi + 0x44], 0
mov ecx, 0xff
movzx eax, word [rdi + 0x20]
cmp eax, ecx
cmovb ecx, eax
mov dword [rsi + 0x40], ecx
movzx edx, word [rdi + 0x1e]
mov ebx, ecx
add rdx, rdi
movzx ecx, word [rdi + 0x1c]
mov r8d, ebx
add rcx, 0x2e
add rdx, rcx
lea rcx, [rsi + 0x148]
call fcn.1800b0420
mov byte [rbx + rsi + 0x148], 0
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18001a520
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x18001a6ca
cmp byte [rcx + 0x71], 0
je 0x18001a6ca
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x18001a57a
xor al, al
jmp 0x18001a6cc
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.180009f00
nop
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
nop word [rax + rax]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
lea r8, [rbp - 0x30]
cmovae r8, rcx
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x18001a5ee
sub eax, 1
jne 0x18001a662
jmp 0x18001a5f2
mov byte [rdi + 0x71], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x18001a63f
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.1800c2240
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x18001a66f
cmp byte [rdi + 0x71], 0
je 0x18001a673
test rbx, rbx
jne 0x18001a5b0
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.18000a250
jmp 0x18001a59f
sub eax, 2
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x18001a673
xor bl, bl
jmp 0x18001a675
mov bl, 1
cmp r9, 0x10
jb 0x18001a6c5
lea rax, [r9 + 1]
cmp rax, 0x1000
jb 0x18001a6c0
test byte [rbp - 0x30], 0x1f
je 0x18001a693
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001a6a2
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001a6b1
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18001a6bd
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
movzx eax, bl
jmp 0x18001a6cc
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800ae8d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x18001b4f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18001b524
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18001b510
ret
Function at 0x18002f420
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x18
mov qword [rsp], 0xfffffffffffffffe
mov rdx, rcx
xor r8d, r8d
mov qword [rcx + 8], r8
mov byte [rcx + 0x51], r8b
mov qword [rcx + 0x58], 0x10
mov byte [rcx + 0x51], 1
add rcx, 0x10
mov qword [rdx + 0x60], rcx
lea rcx, [rdx + 0x68]
mov byte [rcx + 0x49], r8b
mov qword [rcx + 0x50], 0x10
mov byte [rcx + 0x49], 1
mov r8, rcx
neg r8
and r8d, 0xf
add r8, rcx
mov qword [rcx + 0x58], r8
mov rcx, qword [rdx + 0xc0]
movups xmm0, xmmword [0x180109678]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x180109688]
movups xmmword [rcx + 0x10], xmm1
mov rax, rdx
add rsp, 0x18
ret

Function at 0x18002f4a0
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x18
mov qword [rsp], 0xfffffffffffffffe
mov rdx, rcx
xor ecx, ecx
mov qword [rdx + 8], rcx
mov byte [rdx + 0x51], cl
mov qword [rdx + 0x58], 0x10
mov byte [rdx + 0x51], 1
lea r8, [rdx + 0x10]
mov qword [rdx + 0x60], r8
mov byte [rdx + 0xa9], cl
mov qword [rdx + 0xb0], 0x10
mov byte [rdx + 0xa9], 1
lea rcx, [rdx + 0x68]
mov qword [rdx + 0xb8], rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1800307a0
Capabilities:
Check if file exists
Create directory

Disassembly:
sub rsp, 0x268
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180033ea0
cmp qword [rax + 0x18], 8
jb 0x1800307d0
mov rax, qword [rax]
mov r8, rax
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.1800c3c0c
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x1800307ff
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.180031a90
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180030828
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800ae8d0
add rsp, 0x268
ret
mov qword [rsp + 0x278], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x280], rsi
mov esi, 0x5c
mov edx, esi
mov qword [rsp + 0x260], rdi
call fcn.1800b1f6c
xor edi, edi
mov rbx, rax
test rax, rax
je 0x180030886
nop dword [rax + rax]
xor edx, edx
mov word [rbx], di
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, esi
mov word [rbx], si
lea rcx, [rbx + 2]
call fcn.1800b1f6c
mov rbx, rax
test rax, rax
jne 0x180030860
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdi, qword [rsp + 0x260]
cmp eax, 1
mov rsi, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x278]
sete al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800ae8d0
add rsp, 0x268
ret
Function at 0x180030b40
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
call fcn.1800b27a0
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180033a90
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800ae8d0
add rsp, 0x260
pop rbx
ret

Function at 0x180030bd0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
call fcn.1800b27a0
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180033a90
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800ae8d0
add rsp, 0x260
pop rbx
ret
Function at 0x180033910
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, r9
mov rbx, r8
mov rdx, rcx
lea rcx, [r11 - 0x48]
call fcn.180033ea0
nop
lea rdi, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rdi, qword [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebp, [rax*2 + 2]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180033ea0
cmp qword [rax + 0x18], 8
jb 0x18003398f
mov rax, qword [rax]
xor edx, edx
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x206
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1800339e4
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.180031a90
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.180033ea0
cmp qword [rax + 0x18], 8
jb 0x1800339fb
mov rax, qword [rax]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x180033a38
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.180031a90
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r8, qword [rsp + 0x98]
cmp r8, 8
jb 0x180033a6a
inc r8
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x80]
call fcn.180031a90
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800ae8d0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret

Function at 0x180034ca0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rsi, rcx
mov rdi, r8
mov ecx, 0x18
mov rbx, rdx
call fcn.1800aeed4
mov r14, rax
lea rdx, [0x180034c60]
xor eax, eax
mov qword [r14 + 8], rax
lea r8, [r14 + 8]
lea ecx, [rax + 4]
mov qword [r14], rbx
mov qword [r14 + 0x10], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
test eax, eax
je 0x180034d1f
xor eax, eax
lea r8, [0x180034c60]
mov qword [rsp + 0x28], rax
mov r9, r14
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1800c421c
mov qword [rsi], rax
test rax, rax
mov rax, rsi
je 0x180034d22
mov byte [rsi + 8], 1
jmp 0x180034d2d
mov rax, rsi
mov byte [rsi + 8], 0
mov qword [rsi], 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x18003a320
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rsi, r8
mov r14, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x24], r13d
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], r13
cmp qword [rcx + 0x18], 0x10
jb 0x18003a36b
mov rax, qword [rcx]
jmp 0x18003a36e
mov rax, rdi
mov byte [rax], r13b
mov dword [rsp + 0x24], 1
mov ebx, r13d
test r8, r8
je 0x18003a556
mov rcx, r13
nop dword [rax + rax]
dec rsi
movzx eax, byte [r14]
mov byte [rsp + rcx + 0x88], al
inc ebx
inc rcx
lea r14, [r14 + 1]
movzx r12d, byte [rsp + 0x8a]
movzx ebp, byte [rsp + 0x89]
movzx r15d, byte [rsp + 0x88]
cmp rcx, 3
jne 0x18003a44e
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x20], al
movzx ecx, r15b
and cl, 3
shl cl, 4
movzx eax, bpl
shr al, 4
add cl, al
mov byte [rsp + 0x21], cl
movzx ecx, bpl
and cl, 0xf
shl cl, 2
movzx eax, r12b
shr al, 6
add cl, al
mov byte [rsp + 0x22], cl
movzx eax, r12b
and al, 0x3f
mov byte [rsp + 0x23], al
mov rbx, r13
movzx ecx, byte [rsp + rbx + 0x20]
lea rax, [0x180149e00]
cmp qword [0x180149e18], 0x10
cmovae rax, qword [0x180149e00]
movzx r8d, byte [rax + rcx]
mov edx, 1
mov rcx, rdi
call fcn.18000a250
inc rbx
cmp rbx, 4
jl 0x18003a411
mov ebx, r13d
mov rcx, r13
test rsi, rsi
jne 0x18003a390
test ebx, ebx
je 0x18003a556
movsxd rax, ebx
cmp rax, 3
jge 0x18003a49d
jae 0x18003a497
mov byte [rsp + rax + 0x88], 0
inc rax
cmp rax, 3
jl 0x18003a468
movzx r12d, byte [rsp + 0x8a]
movzx ebp, byte [rsp + 0x89]
movzx r15d, byte [rsp + 0x88]
jmp 0x18003a49d
call fcn.1800aed40
int3
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x20], al
and r15b, 3
shl r15b, 4
movzx eax, bpl
shr al, 4
add r15b, al
mov byte [rsp + 0x21], r15b
and bpl, 0xf
shl bpl, 2
movzx eax, r12b
shr al, 6
add bpl, al
mov byte [rsp + 0x22], bpl
and r12b, 0x3f
mov byte [rsp + 0x23], r12b
lea eax, [rbx + 1]
test eax, eax
jle 0x18003a526
lea rsi, [rsp + 0x20]
mov ebp, eax
nop dword [rax]
movzx ecx, byte [rsi]
lea rax, [0x180149e00]
cmp qword [0x180149e18], 0x10
cmovae rax, qword [0x180149e00]
movzx r8d, byte [rax + rcx]
mov edx, 1
mov rcx, rdi
call fcn.18000a250
lea rsi, [rsi + 1]
sub rbp, 1
jne 0x18003a4f0
cmp ebx, 3
jge 0x18003a556
mov eax, 3
sub eax, ebx
mov ebx, eax
nop dword [rax]
nop dword [rax + rax]
mov r8b, 0x3d
mov edx, 1
mov rcx, rdi
call fcn.18000a250
sub rbx, 1
jne 0x18003a540
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180057aa0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14, rcx
mov qword [rbp - 0x19], rcx
xor esi, esi
mov dword [rbp - 0x49], esi
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], rsi
cmp qword [rcx + 0x18], 0x10
jb 0x180057af4
mov rax, qword [rcx]
jmp 0x180057af7
mov rax, r14
mov byte [rax], sil
mov dword [rbp - 0x49], 1
lea rcx, [rbp + 0x17]
call fcn.180033ea0
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rcx, qword [rbp + 0x17]
lea rdx, [rbp - 5]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x180057c9d
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rsi
mov edx, ebx
lea rcx, [rbp - 1]
call fcn.18002d000
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rcx, qword [rbp + 0x17]
mov rdi, qword [rbp - 1]
mov r9, rdi
mov r8d, ebx
mov edx, dword [rbp - 5]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x180057c93
mov qword [rbp - 0x11], rsi
mov dword [rbp - 9], esi
lea r9, [rbp - 9]
lea r8, [rbp - 0x11]
lea rdx, [0x18010531c]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x180057c93
cmp dword [rbp - 9], 0
je 0x180057c93
mov rax, qword [rbp - 0x11]
cmp dword [rax], 0xfeef04bd
jne 0x180057c93
movzx edx, word [rax + 0xa]
movzx ebx, word [rax + 8]
movzx edi, word [rax + 0xe]
movzx esi, word [rax + 0xc]
lea rcx, [rbp - 0x41]
call fcn.180057410
mov rdx, rax
mov rcx, r14
call fcn.18000bf30
lea rcx, [rbp - 0x41]
call fcn.1800077c0
mov r8d, 1
lea rdx, [0x1800fd5dc]
mov rcx, r14
call fcn.18000a370
mov edx, ebx
lea rcx, [rbp - 0x41]
call fcn.180057410
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.18000a4c0
nop
lea rcx, [rbp - 0x41]
call fcn.1800077c0
mov r8d, 1
lea rdx, [0x1800fd5dc]
mov rcx, r14
call fcn.18000a370
mov edx, edi
lea rcx, [rbp - 0x41]
call fcn.180057410
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.18000a4c0
nop
lea rcx, [rbp - 0x41]
call fcn.1800077c0
mov r8d, 1
lea rdx, [0x1800fd5dc]
mov rcx, r14
call fcn.18000a370
mov edx, esi
lea rcx, [rbp - 0x41]
call fcn.180057410
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.18000a4c0
nop
lea rcx, [rbp - 0x41]
call fcn.1800077c0
nop
lea rcx, [rbp - 1]
call fcn.180024260
nop
mov r8, qword [rbp + 0x2f]
cmp r8, 8
jb 0x180057cb7
inc r8
mov rdx, qword [rbp + 0x17]
lea rcx, [rbp + 0x17]
call fcn.180031a90
mov rax, r14
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800ae8d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret