joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006060c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14006067b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006067b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006067b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006067b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006067b
cmp dword [rcx + 0x84], 0xe
jbe 0x14006067b
cmp dword [rcx + 0xf8], 0
je 0x14006067b
mov ecx, ebx
call fcn.14006072c
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.140060508
nop
cmp dword [rbp + 0x20], 0
je 0x1400606c9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400606d4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14006060c

Function at 0x140060810
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006060c

Function at 0x140069bbc
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.1400619b4
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 0x140069c5d
cmp ebx, dword [rsp + 0x30]
je 0x140069c56
test esi, esi
je 0x140069c56
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140069c31
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140069c3e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140069c1b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140069c42
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140069c5f
mov eax, 1
jmp 0x140069c5f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006ae10
Capabilities:
Get file size

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

Function at 0x14006bef4
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.140046f80
sub rsp, rax
mov rax, qword [0x1402350c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400635ac
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14006bf43
mov rax, rbp
jmp 0x14006c04b
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 + 0x238070]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14006cdd4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x238070]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14006c047
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 0x14006c047
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14006cdd4
test rax, rax
js 0x14006c047
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14006c047
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14006c039
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14006c039
cmp byte [rcx], 0xd
jne 0x14006c01f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14006c02e
cmp byte [rcx + 1], 0xa
jne 0x14006c02e
inc rcx
jmp 0x14006c02e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x235a40]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14006c001
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14006c04b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140046770
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 0x14006c174
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140238070]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14006c1cb
cmp word [rdx], r13w
jne 0x14006c1cb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14006c1d0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14006c2f5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14006c316
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14006c209
mov rdx, r9
mov word [rbx], cx
jmp 0x14006c230
cmp r9, r8
jae 0x14006c240
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14006c1ea
jmp 0x14006c2f5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006c2ea
cmp dword [rsp + 0x80], esi
je 0x14006c2ea
lea r8, [0x140238070]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14006c2c2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14006c292
mov word [rbx], r13w
jmp 0x14006c2f2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14006c29f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14006c2f2
cmp word [rsp + 0x70], r13w
jne 0x14006c2cf
cmp rbx, r14
je 0x14006c28c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14006cddc
cmp word [rsp + 0x70], r13w
je 0x14006c2f5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140238070]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14006c2ef
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14006c2f5
Function at 0x14006d7c4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14006d84b
mov rsi, rbx
cmp word [rax], bp
je 0x14006d80a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14006d7f4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14006d7f0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140061ef0
mov rdi, rax
test rax, rax
je 0x14006d838
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140071670
mov rbp, rdi
xor ecx, ecx
call fcn.140061eb4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400712a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400712c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400712c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180003b10
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x18
call fcn.18003f800
sub rsp, rax
mov rax, qword [0x180095078]
xor rax, rsp
mov qword [rsp + 8], rax
mov r10, r9
mov r11, rcx
mov r9d, edx
test edx, edx
jne 0x180003b4d
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.18003ed60
add rsp, 0x18
ret
mov r8, qword [r8]
xor edx, edx
mov qword [rsp], r8
movzx eax, byte [rsp + 1]
movzx ecx, r8b
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
mov eax, ecx
div r9d
mov rax, qword [r11 + rdx*8]
lea rdx, [r11 + rdx*8]
test rax, rax
je 0x180003be4
cmp qword [rax + 8], r8
je 0x180003be4
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x180003bd3
test r10, r10
je 0x180003bec
mov dword [r10], ecx
mov rax, rdx
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.18003ed60
add rsp, 0x18
ret
Function at 0x180009b40
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x40
call fcn.18003f800
sub rsp, rax
mov rsi, qword [rdx]
lea r14, [rcx + 0x60]
mov rbx, rdx
mov edx, dword [r14]
mov rdi, rcx
mov rcx, qword [r14 + 0x10]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call fcn.180003b10
test rax, rax
je 0x180009bc3
mov rax, qword [rax]
test rax, rax
je 0x180009bc3
mov rax, qword [rax + 0x10]
cmp byte [rax + 4], 0
je 0x180009bb1
cmp byte [rbx + 0x1c], 0
je 0x180009bb1
mov edx, 1
mov byte [rax + 4], dl
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
mov byte [rax + 4], dl
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, dword [rdi + 0xe8]
mov rcx, qword [rdi + 0xf8]
lea r8, [rsp + 0x28]
xor r9d, r9d
call fcn.180003b10
test rax, rax
je 0x180009be5
mov rax, qword [rax]
mov rdi, qword [rax + 0x10]
mov r8, qword [rbx + 8]
lea rcx, [rsp + 0x38]
mov rdx, qword [rdi + 8]
call qword [0x1800a55c8]
cmp eax, 0x1f4
je 0x180009d5e
test eax, eax
je 0x180009c1d
mov ecx, eax
call fcn.180003720
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x18
call fcn.18000c390
test rax, rax
je 0x180009d6b
mov edx, dword [rbx + 0x18]
mov r9, qword [rsp + 0x38]
movzx r8d, byte [rbx + 0x1c]
mov dword [rax], edx
lea rdx, [rsp + 0x28]
mov rcx, r14
mov byte [rax + 4], r8b
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r9
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
call fcn.18000a4c0
mov ecx, dword [rdi + 0x60]
test ecx, ecx
jne 0x180009c80
lea edx, [rcx + 1]
lea rcx, [rdi + 0x60]
call fcn.18000af70
mov ecx, dword [rdi + 0x60]
test ecx, ecx
je 0x180009d6b
mov r8, qword [rdi + 0x70]
test ecx, ecx
jne 0x180009c93
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
jmp 0x180009d22
movzx eax, byte [rsp + 0x21]
movzx ebp, sil
xor edx, edx
xor ebp, 0x811c9dc5
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x22]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x23]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x24]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x25]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x26]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x27]
imul ebp, ebp, 0x1000193
xor ebp, eax
imul ebp, ebp, 0x1000193
mov eax, ebp
div ecx
mov rax, qword [r8 + rdx*8]
lea rbx, [r8 + rdx*8]
test rax, rax
je 0x180009d22
cmp qword [rax + 8], rsi
je 0x180009d22
mov rbx, rax
mov rax, qword [rax]
test rax, rax
jne 0x180009d11
cmp qword [rbx], 0
jne 0x180009d5e
mov ecx, 0x18
call fcn.18000c390
test rax, rax
je 0x180009d45
mov qword [rax], 0
mov qword [rax + 8], rsi
mov dword [rax + 0x10], ebp
mov qword [rbx], rax
test rax, rax
je 0x180009d6b
inc qword [rdi + 0x68]
mov rdx, qword [rdi + 0x68]
lea rcx, [rdi + 0x60]
call fcn.18000af70
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 2
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000cf60
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0x68
call fcn.18003f800
sub rsp, rax
lea rax, [rcx + 0x30]
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rbx, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov qword [rsp + 0x48], rax
call fcn.18000c2c0
mov r14, qword [rbx + 0x10]
mov eax, dword [rbx]
lea rax, [r14 + rax*8]
mov r12d, edi
mov qword [rsp + 0x50], rax
cmp r14, rax
je 0x18000cfc9
cmp qword [r14], rdi
jne 0x18000cfc6
add r14, 8
cmp r14, rax
jne 0x18000cfb3
jmp 0x18000d1a0
mov r12, qword [r14]
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0x60], r15
mov r15d, dword [rsp + 0x20]
nop dword [rax + rax]
test r12, r12
je 0x18000d193
mov rbx, qword [r12 + 8]
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x18000d160
nop dword [rax + rax]
mov r8, qword [rbx]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbp
call fcn.18000a370
test eax, eax
jne 0x18000d191
mov r13, qword [rsp + 0x40]
test r13, r13
je 0x18000d14e
mov ecx, dword [rsi + 0x58]
mov rbp, qword [r13 + 8]
mov qword [rsp + 0x28], rbp
test ecx, ecx
jne 0x18000d050
lea edx, [rax + 1]
lea rcx, [rsi + 0x58]
call fcn.18000d710
mov ecx, dword [rsi + 0x58]
test ecx, ecx
je 0x18000d18a
mov r8, qword [rsi + 0x68]
test ecx, ecx
je 0x18000d101
movzx eax, byte [rsp + 0x29]
movzx r15d, bpl
xor edx, edx
xor r15d, 0x811c9dc5
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2a]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2b]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2c]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2d]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2e]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2f]
imul r15d, r15d, 0x1000193
xor r15d, eax
imul r15d, r15d, 0x1000193
mov eax, r15d
div ecx
mov rax, qword [r8 + rdx*8]
lea rdi, [r8 + rdx*8]
test rax, rax
je 0x18000d101
nop dword [rax + rax]
cmp qword [rax + 8], rbp
je 0x18000d101
mov rdi, rax
mov rax, qword [rax]
test rax, rax
jne 0x18000d0f0
cmp qword [rdi], 0
jne 0x18000d142
mov ecx, 0x20
call fcn.18000c390
test rax, rax
je 0x18000d129
mov qword [rax], 0
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r13
mov dword [rax + 0x18], r15d
mov qword [rdi], rax
test rax, rax
je 0x18000d18a
inc qword [rsi + 0x60]
mov rdx, qword [rsi + 0x60]
lea rcx, [rsi + 0x58]
call fcn.18000d710
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
xor edi, edi
mov rbx, qword [rbx + 0x50]
test rbx, rbx
jne 0x18000d000
mov rax, qword [rsp + 0x50]
mov r12, qword [r12]
test r12, r12
jne 0x18000cfe9
nop dword [rax]
add r14, 8
cmp r14, rax
je 0x18000cfe0
mov r12, qword [r14]
test r12, r12
je 0x18000d170
jmp 0x18000cfe0
mov edi, 2
jmp 0x18000d193
mov edi, eax
mov r13, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000c370
mov eax, edi
add rsp, 0x68
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000ee50
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x180095078]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov dword [rsp + 0x20], 0x6a09e667
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r8, [r8*8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov qword [rsp + 0x3c], 0x5be0cd19
call fcn.18000ef10
mov r9b, 1
lea rcx, [rsp + 0x20]
mov r8b, 0x81
mov rdx, rbx
call fcn.18000ebf0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18003ed60
add rsp, 0xb0
pop rbx
ret
Function at 0x18002a1b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x48
test ecx, ecx
jle 0x18002a294
mov qword [rsp + 0x40], rbx
movsxd rbx, ecx
cmp ecx, 0x64
jle 0x18002a224
imul rax, rbx, 0xfffffffffffffff6
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x58], rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
xor r9d, r9d
lea rdx, [rsp + 0x58]
mov rbx, rax
xor r8d, r8d
xor eax, eax
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rcx, [rsp + 0x68]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x18006e56c]
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x60]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x68]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x18002a247
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x18004a484
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x18004a35b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18004a35b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18004a35b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18004a35b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18004a35b
cmp dword [rcx + 0x84], 0xe
jbe 0x18004a35b
cmp dword [rcx + 0xf8], 0
je 0x18004a35b
mov ecx, ebx
call fcn.18004a3fc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.18004a1ec
cmp dword [rbp + 0x20], 0
je 0x18004a3a8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18004a3b0
int3
xor r8d, r8d
xor edx, edx
jmp 0x18004a2f4
Function at 0x180003c30
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x18
call fcn.180045bc0
sub rsp, rax
mov rax, qword [0x18009f088]
xor rax, rsp
mov qword [rsp + 8], rax
mov r10, r9
mov r11, rcx
mov r9d, edx
test edx, edx
jne 0x180003c6d
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.180045120
add rsp, 0x18
ret
mov r8, qword [r8]
xor edx, edx
mov qword [rsp], r8
movzx eax, byte [rsp + 1]
movzx ecx, r8b
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
mov eax, ecx
div r9d
mov rax, qword [r11 + rdx*8]
lea rdx, [r11 + rdx*8]
test rax, rax
je 0x180003d04
cmp qword [rax + 8], r8
je 0x180003d04
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x180003cf3
test r10, r10
je 0x180003d0c
mov dword [r10], ecx
mov rax, rdx
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.180045120
add rsp, 0x18
ret
Function at 0x1800041b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x420
call fcn.180045bc0
sub rsp, rax
mov rax, qword [0x18009f088]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rbx, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x3c0
call fcn.1800496c0
xor eax, eax
xor edx, edx
mov qword [rsp + 0x3e0], rax
mov qword [rsp + 0x3e8], rax
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x3f8], rax
mov qword [rsp + 0x400], rax
mov qword [rsp + 0x408], rax
lea r8, [0x18007b0f0]
nop dword [rax]
movzx ecx, byte [rdx + r8]
inc rdx
movzx eax, cl
xor cl, 0x5c
xor al, 0x36
mov byte [rsp + rdx + 0x3df], cl
mov byte [rsp + rdx + 0x1f], al
cmp rdx, 0x10
jb 0x180004230
lea rdx, [0x180004840]
lea rcx, [0x1800af590]
call fcn.1800126d0
mov rax, qword [0x1800af580]
mov dword [rsp + 0x34], 0x2b2a
mov ecx, dword [rax + 0x60]
mov dword [rsp + 0x30], ecx
call fcn.180012730
mov dword [rsp + 0x38], eax
call fcn.180012570
lea rdx, [0x180004840]
lea rcx, [0x1800af590]
mov dword [rsp + 0x3c], eax
call fcn.1800126d0
mov rax, qword [0x1800af580]
mov qword [rsp + 0x48], rbx
mov rcx, qword [rax + 0x38]
xor ebx, ebx
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
nop dword [rax + rax]
lea rdx, [0x180004840]
lea rcx, [0x1800af590]
call fcn.1800126d0
mov rcx, qword [0x1800af580]
mov eax, dword [rcx + 0x18]
mov rax, qword [rcx + 0x28]
movsxd rcx, dword [rax]
cmp rbx, rcx
jae 0x180004384
lea rdx, [0x180004840]
lea rcx, [0x1800af590]
call fcn.1800126d0
mov rcx, qword [0x1800af580]
xor edx, edx
mov eax, dword [rcx + 0x18]
mov r9, qword [rcx + 0x28]
movsxd r8, dword [r9]
test r8, r8
jle 0x180004333
lea rax, [r9 + 8]
nop dword [rax]
mov rcx, qword [rax]
cmp dword [rcx], ebx
je 0x18000433d
inc rdx
add rax, 8
cmp rdx, r8
jl 0x180004320
mov eax, 0x65
jmp 0x1800043e8
mov rcx, qword [r9 + rdx*8 + 8]
inc rbx
add rdi, 0x1c
mov rax, qword [rcx + 0x148]
mov qword [rdi - 0x2c], rax
mov rax, qword [rcx + 0x150]
mov qword [rdi - 0x24], rax
mov eax, dword [rcx + 0x298]
mov dword [rdi - 0x1c], eax
mov eax, dword [rcx + 0x290]
mov dword [rdi - 0x18], eax
mov eax, dword [rcx + 0x294]
mov dword [rdi - 0x14], eax
cmp rbx, 0x20
jb 0x1800042c0
movabs rcx, 0xb3b3b3b3b3b3b3b3
lea rdx, [rsp + 0x20]
mov r8d, 0x3c0
mov qword [rsp + 0x3d0], rcx
mov qword [rsp + 0x3d8], rcx
lea rcx, [rsp + 0x3f0]
call fcn.180004510
movabs rcx, 0x2020202020202020
lea rdx, [rsp + 0x3e0]
mov qword [rsp + 0x3f0], rcx
mov qword [rsp + 0x3f8], rcx
mov r8d, 0x30
mov rcx, rsi
call fcn.180004510
xor eax, eax
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.180045120
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180004410
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x50
call fcn.180045bc0
sub rsp, rax
mov rax, qword [0x18009f088]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ecx, ecx
call fcn.1800535c0
lea rdx, [0x18007afe0]
lea rcx, [rsp + 0x20]
mov rbx, rax
call qword [0x1800aef68]
test eax, eax
jne 0x18000447c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1800041b0
test eax, eax
jne 0x1800044f6
mov rax, qword [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, rbx
mov ecx, 0x2b2a
call qword [rax + 8]
test eax, eax
je 0x180004496
mov ecx, eax
call fcn.180003860
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180045120
add rsp, 0x50
pop rbx
ret
xor r8b, r8b
xor eax, eax
nop dword [rax + rax]
movzx edx, byte [rsp + rax + 0x3b]
movzx ecx, byte [rsp + rax + 0x3a]
add rax, 4
xor cl, byte [rsp + rax + 0x26]
xor dl, byte [rsp + rax + 0x27]
or dl, cl
movzx ecx, byte [rsp + rax + 0x35]
xor cl, byte [rsp + rax + 0x25]
or dl, cl
movzx ecx, byte [rsp + rax + 0x24]
xor cl, byte [rsp + rax + 0x34]
or dl, cl
or r8b, dl
cmp rax, 0x10
jb 0x1800044a0
test r8b, r8b
je 0x1800044f4
mov eax, 0x67
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180045120
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180045120
add rsp, 0x50
pop rbx
ret