joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140077800
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1406b92c0]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [rdx + 0x18], 0xf
mov r14, r9
mov rsi, r8
jbe 0x140077837
mov r8, qword [rdx]
add r8, qword [rdx + 0x10]
mov rdx, qword [rdx]
jmp 0x14007783e
mov r8, qword [rdx + 0x10]
add r8, rdx
lea rcx, [rbp - 0x28]
call fcn.140024ee0
cmp qword [rax + 0x18], 7
jbe 0x140077851
mov rax, qword [rax]
lea rcx, [rbp - 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rcx, [rbp - 0x28]
mov ebx, eax
call fcn.140015930
test ebx, ebx
je 0x140077893
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140077949
mov qword [rsp + 0x98], r15
mov rdx, rsi
xor r15d, r15d
cmp qword [rsi + 0x18], 0xf
mov dword [rbp - 0x40], r15d
jbe 0x1400778af
mov rdx, qword [rsi]
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400779f4
cmp dword [rbp - 0x30], 1
jne 0x1400779f4
mov ecx, dword [rbp - 0x40]
mov qword [rsp + 0x90], rdi
call fcn.14028fc64
cmp qword [rsi + 0x18], 0xf
mov rdi, rax
jbe 0x1400778fd
mov rsi, qword [rsi]
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140077966
mov rcx, rdi
call fcn.14028f770
xor al, al
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14028f750
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r14
pop rsi
pop rbp
ret
xorps xmm0, xmm0
mov qword [rbp - 0x18], r15
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x10], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], r15b
jne 0x140077980
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400055c0
mov rcx, rdi
call fcn.14028f770
cmp qword [r14 + 0x18], 0xf
mov rax, qword [r14 + 0x10]
jbe 0x1400779ab
mov r14, qword [r14]
cmp qword [rbp - 0x10], 0xf
lea rcx, [rbp - 0x28]
mov r8, qword [rbp - 0x18]
cmova rcx, qword [rbp - 0x28]
cmp r8, rax
jne 0x1400779e1
mov rdx, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400779e1
lea rcx, [rbp - 0x28]
mov bl, 1
call fcn.1400159a0
movzx eax, bl
jmp 0x140077939
xor bl, bl
lea rcx, [rbp - 0x28]
call fcn.1400159a0
movzx eax, bl
jmp 0x140077939
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140077941
Function at 0x140077cd0
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1406b92c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [r8 + 0x18], 0xf
mov rbx, r8
mov rdx, r8
jbe 0x140077cf5
mov rdx, qword [r8]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140077d61
cmp qword [rbx + 0x18], 0xf
jbe 0x140077d23
mov rbx, qword [rbx]
xor r9d, r9d
mov r8d, 0x100
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14028f750
add rsp, 0x40
pop rbx
ret
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14028f750
add rsp, 0x40
pop rbx
ret

Function at 0x140077d80
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1406b92c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rdx + 0x18], 0xf
mov edi, r9d
mov rsi, qword [rsp + 0xa0]
mov rbx, r8
mov rcx, qword [rsp + 0xb0]
jbe 0x140077db7
mov rdx, qword [rdx]
xor r8d, r8d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r8
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140077e2a
cmp qword [rbx + 0x18], 0xf
jbe 0x140077df2
mov rbx, qword [rbx]
mov eax, dword [rsp + 0xa8]
mov r9d, edi
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
jmp 0x140077e2c
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14028f750
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140083f10
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x4f0
mov rax, qword [0x1406b92c0]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0x80], xmm0
mov word [rsp + 0xb0], bx
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xc0], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
or eax, 1
mov dword [rsp + 0xac], eax
xor eax, eax
cmp qword [rdx + 0x18], 0xf
mov qword [rsp + 0x60], rax
jbe 0x140083fa3
mov rdx, qword [rdx]
mov r9d, 0x400
lea rcx, [rsp + 0xe0]
mov r8, rdx
mov edx, r9d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea rax, [rsp + 0x50]
mov byte [rsp + 0x4df], bl
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140084034
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.14028f750
add rsp, 0x4f0
pop rbx
ret

Function at 0x140087f40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140087f9d
lea rbx, [0x1404fbba0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140087f84
cmp r10, 2
jb 0x140087f84
cmp byte [r9], r8b
jne 0x140087f84
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140087f60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140087fdf
lea rbx, [0x1404fbba0]
cmp r8b, 0x23
jne 0x140087fc3
cmp byte [r9], r8b
jne 0x140087fc3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140087fb0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140088120
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14008813a
mov qword [r8], 0
lea rdx, [0x140506db4]
call fcn.140087ff0
mov rbx, rax
test rax, rax
jne 0x14008815a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140088231
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140088231
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140088231
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140088231
cmp rdi, 0xffffffffffffffff
je 0x140088231
mov rax, qword [0x140708268]
test rax, rax
je 0x1400881ce
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140088231
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14008821e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140708268]
test rax, rax
je 0x140088213
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14008823a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14008822c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14008823c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14008bd20
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r9, [0x1404fbba0]
mov r8, rdx
movsxd rdx, dword [rcx + 0xd0]
mov ebx, dword [rax + rdx*4 - 4]
not ebx
movzx eax, r8b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, r8
shr rax, 8
movzx edx, al
mov rax, r8
xor ebx, dword [r9 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr rax, 0x10
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x30
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x38
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r9 + rcx*4]
mov rcx, qword [0x140708268]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x14008be10
mov edx, SafeArrayGetDim
mov ecx, ebx
call fcn.14009e860
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14008be20
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1404fbba0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x140708268]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x14008beb6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14009e860
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14008bec0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x1404fbba0]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140098870
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1406b92c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140708268]
mov edi, ecx
cmp byte [rbx + 0x423d], 0
jne 0x1400988d1
cmp byte [rbx + 0x423e], 0
jne 0x1400988d1
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x20]
call fcn.140087e00
test dil, 1
je 0x1400989f8
jmp 0x14009895a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140507ebc]
mulss xmm1, dword [0x140507e9c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fa8], rax
mov dword [rbx + 0x3f94], 1
movss dword [rbx + 0x3fa0], xmm0
movss dword [rbx + 0x3fa4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x140507df4]
or dword [rbx + 0x3f90], 0x41
movss dword [rbx + 0x3ff0], xmm0
call fcn.140087e00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400989b0
lea r11, [0x1404fbba0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140098993
cmp byte [r8], r9b
jne 0x140098993
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140098980
not ecx
call fcn.140091600
test rax, rax
je 0x1400989f8
cmp byte [rax + 0x96], 0
je 0x1400989f8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
movsx r9d, word [rbx + 0x5332]
call fcn.140087e00
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140093d80
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14028f750
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14009d4a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14009d547
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14009d4fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14009f3b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140088710
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14070823c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14009d54f
mov rcx, rbx
call fcn.140088710
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14009dac0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140708268]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14009db23
mov qword [rsp], rbx
lea rbx, [0x1404fbba0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14009db03
cmp byte [r8], r9b
jne 0x14009db03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14009daf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14009db57
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14009db5e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14009db44
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400b5030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
mov rax, qword [0x140708268]
xor r11d, r11d
mov rbx, qword [rax + 0x42f8]
mov edx, dword [rbx + 4]
bt edx, 0x18
jae 0x1400b505a
mov eax, dword [rbx + 0x74]
test eax, eax
movzx ecx, al
cmovg ecx, r11d
jmp 0x1400b505c
xor cl, cl
mov r8, qword [rbx + 0x188]
xorps xmm1, xmm1
mov byte [rbx + 0x203], cl
movss xmm0, dword [r8 + 0x64]
ucomiss xmm0, xmm1
jp 0x1400b507d
jne 0x1400b507d
xor al, al
jmp 0x1400b5080
movzx eax, cl
shr edx, 0x19
and dl, 1
mov byte [rbx + 0x204], al
mov byte [rbx + 0x201], dl
movss xmm0, dword [r8 + 0x68]
ucomiss xmm0, xmm1
jp 0x1400b50a1
jne 0x1400b50a1
xor dl, dl
mov byte [rbx + 0x202], dl
xor dl, 1
mov byte [rbx + 0x214], dl
test cl, cl
jle 0x1400b5145
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rdi, r11
nop word [rax + rax]
mov rsi, qword [rbx + 0x28]
movsx r8, byte [rsi + rdi]
mov rdx, r8
cmp r8d, r11d
je 0x1400b5126
movsx eax, cl
cmp edx, eax
jl 0x1400b5126
movsx rax, byte [rdx + rsi]
mov r10, rdx
mov r9, qword [rbx + 0x18]
imul r8, r8, 0x68
imul rdx, rax, 0x68
movzx eax, byte [r8 + r9 + 0x52]
movzx ecx, byte [rdx + r9 + 0x52]
mov byte [rdx + r9 + 0x52], al
mov byte [r8 + r9 + 0x52], cl
mov rdx, qword [rbx + 0x28]
movzx eax, byte [rdx + rdi]
movzx ecx, byte [r10 + rdx]
mov byte [r10 + rdx], al
mov byte [rdx + rdi], cl
movsx eax, byte [rbx + 0x203]
inc r11d
inc rdi
movzx ecx, al
cmp r11d, eax
jl 0x1400b50d0
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x1400b5b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx + 0x188]
mov r10, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x1400b5b7c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0xe0]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0xf8], xmm0
subss xmm0, dword [r9 + 0x18]
movss dword [r9 + 0xe4], xmm1
subss xmm0, dword [r9 + 0x124]
movss dword [r9 + 0x128], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x118], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x138], eax
movss dword [r9 + 0x204], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x200], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x208], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1a4], eax
cmp byte [rbx + 0x5a], 0
jne 0x1400b5c17
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0xe4], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0x9b], al
cmp byte [rbx + 0x60], 0
je 0x1400b5c3d
mov rax, qword [0x140708268]
xor ecx, ecx
mov dword [rax + 0x3f54], ecx
mov dword [rax + 0x3f5c], ecx
test dword [r10 + 4], 0x100000
je 0x1400b5c52
mov r8d, 2
jmp 0x1400b5cd2
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x280]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x280]
mov rcx, qword [r10 + 0x1a0]
call fcn.1400aae60
mov rdi, qword [0x140708268]
cmp byte [rdi + 0x53d4], 0
je 0x1400b5d17
cmp byte [rbx + 0x60], 0
jne 0x1400b5d17
xor r8d, r8d
lea rdx, [0x140507148]
mov rcx, rsi
call fcn.14009d5b0
mov dword [rdi + 0x5408], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b8410
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x140708268]
mov rdx, qword [rax + 0x42f8]
cmp ecx, 0xffffffff
jne 0x1400b842a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x1400b84a7
mov r10d, dword [rdx]
lea r8, [0x140507139]
movzx eax, word [rdx + 0x80]
lea r11, [0x1404fbba0]
not r10d
mov byte [rdx + 0x200], cl
mov ecx, r10d
mov byte [rdx + 0x20e], 1
mov word [rdx + 0x82], ax
mov r9b, reloc.WLDAP32.dll_Ordinal_35
cmp r9b, 0x23
jne 0x1400b8483
cmp byte [r8], r9b
jne 0x1400b8483
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400b8470
not ecx
jmp fcn.140098b10
ret
Function at 0x1400c7120
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1400c71ac
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400c7180
lea r11, [0x1404fbba0]
nop
cmp r9b, 0x23
jne 0x1400c7163
cmp byte [r8], r9b
jne 0x1400c7163
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400c7150
mov rcx, qword [0x140708268]
not eax
cmp dword [rcx + 0x3edc], eax
jne 0x1400c7197
mov dword [rcx + 0x3ee0], eax
cmp dword [rcx + 0x3f08], eax
jne 0x1400c7206
mov byte [rcx + 0x3f0c], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x140708268]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3e90]
movsxd rax, dword [r8 + 0xd0]
mov r8, qword [r8 + 0xd8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140087f40
cmp dword [rbx + 0x3ec4], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x1400c71ff
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.14009e860
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret