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

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

Function at 0x140020570
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 0x1400203db
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400203db
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400203db
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400203db
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400203db
cmp dword [rcx + 0x84], 0xe
jbe 0x1400203db
cmp dword [rcx + 0xf8], 0
je 0x1400203db
mov ecx, ebx
call fcn.14002048c
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.140020268
nop
cmp dword [rbp + 0x20], 0
je 0x140020429
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140020434
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002036c
Function at 0x14002e6a8
Capabilities:
Get file size

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

Function at 0x14002e944
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, [0x140059f70]
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 0x14002e99b
cmp word [rdx], r13w
jne 0x14002e99b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002e9a0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002eac5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002eae6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14002e9d9
mov rdx, r9
mov word [rbx], cx
jmp 0x14002ea00
cmp r9, r8
jae 0x14002ea10
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 0x14002e9ba
jmp 0x14002eac5
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 0x14002eaba
cmp dword [rsp + 0x80], esi
je 0x14002eaba
lea r8, [0x140059f70]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002ea92
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14002ea62
mov word [rbx], r13w
jmp 0x14002eac2
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 0x14002ea6f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002eac2
cmp word [rsp + 0x70], r13w
jne 0x14002ea9f
cmp rbx, r14
je 0x14002ea5c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002f5ac
cmp word [rsp + 0x70], r13w
je 0x14002eac5
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, [0x140059f70]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002eabf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002eac5
Function at 0x14002f968
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.14003d2d0
sub rsp, rax
mov rax, qword [0x1400585e8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002c568
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002f9b7
mov rax, rbp
jmp 0x14002fabf
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 + 0x59f70]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002f5a4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x59f70]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002fabb
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 0x14002fabb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002f5a4
test rax, rax
js 0x14002fabb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002fabb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002faad
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002faad
cmp byte [rcx], 0xd
jne 0x14002fa93
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002faa2
cmp byte [rcx + 1], 0xa
jne 0x14002faa2
inc rcx
jmp 0x14002faa2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x58a10]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002fa75
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002fabf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14003d2a0
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 0x140033234
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140033264
xor eax, eax
jmp 0x140033327
mov rbp, rbx
cmp word [rax], si
je 0x140033289
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140033270
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003326c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140033154
movsxd r14, eax
test eax, eax
jne 0x1400332c7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003325d
mov rcx, r14
call fcn.1400308f8
mov rdi, rax
test rax, rax
jne 0x1400332e0
xor ecx, ecx
call fcn.14002c9d8
jmp 0x1400332bc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140033154
test eax, eax
jne 0x140033311
mov rcx, rdi
call fcn.14002c9d8
jmp 0x14003331b
xor ecx, ecx
call fcn.14002c9d8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400364f8
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.14002c1a4
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 0x140036599
cmp ebx, dword [rsp + 0x30]
je 0x140036592
test esi, esi
je 0x140036592
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14003656d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14003657a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140036557
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14003657e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14003659b
mov eax, 1
jmp 0x14003659b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003cc24
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002f5ac
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002f5ac
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14003cd74
cmp rax, 0xffffffffffffffff
je 0x14003cd74
xor edi, edi
test rbp, rbp
jle 0x14003cd1f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002d7bc
mov rbx, rax
test rax, rax
jne 0x14003ccac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14003cd15
mov edx, 0x8000
mov ecx, r14d
call fcn.140025a44
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14002e2a8
cmp eax, 0xffffffff
je 0x14003ccf5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14003ccbc
mov edx, r15d
mov ecx, r14d
call fcn.140025a44
jmp 0x14003cd15
cmp byte [rsi + 0x38], dil
je 0x14003cd0c
cmp dword [rsi + 0x34], 5
jne 0x14003cd0c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14003cd15
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002c9d8
jmp 0x14003cd88
jns 0x14003cd88
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002f5ac
cmp rax, 0xffffffffffffffff
jne 0x14003cd40
cmp byte [rsi + 0x30], dil
je 0x14003cd88
mov edi, dword [rsi + 0x2c]
jmp 0x14003cd88
mov ecx, r14d
call fcn.140033e14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14003cd88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14003cd88
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14003cd81
mov eax, dword [rsi + 0x2c]
jmp 0x14003cd86
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002f5ac
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001eb4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x14069bc80]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor ebx, ebx
mov qword [rsp + 0x30], rdx
mov rdi, rcx
test rcx, rcx
je 0x14000203e
lea esi, [rbx + 0x40]
xor edx, edx
mov r8d, esi
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov ebp, 0x108
lea rcx, [rsp + 0x90]
mov r8d, ebp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8, qword [0x14069c448]
lea r14d, [rbx + 4]
mov ecx, r14d
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov rdx, rdi
call fcn.14000216c
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x14000203e
movsxd rdx, dword [rsp + 0x8c]
lea r9, [rsp + 0x90]
mov r8, qword [0x14069c448]
add rdx, rdi
mov ecx, r14d
mov qword [rsp + 0x20], rbp
call fcn.14000216c
cmp dword [rsp + 0x90], 0x4550
jne 0x14000203e
mov ebp, dword [rsp + 0x118]
test ebp, ebp
je 0x14000203e
cmp dword [rsp + 0x11c], ebx
je 0x14000203e
mov r12d, dword [rsp + 0x11c]
mov r9d, r14d
mov edx, r12d
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, qword [0x14069c448]
lea rdx, [rdi + rbp]
mov r9, rax
mov qword [rsp + 0x20], r12
mov ecx, r14d
mov rsi, rax
mov r13d, ebp
call fcn.14000216c
mov eax, dword [rsi + 0x24]
mov r15, rsi
mov ecx, dword [rsi + 0x20]
sub r15, rbp
add rax, r15
add rcx, r15
mov qword [rsp + 0x40], rax
mov ebp, ebx
mov eax, dword [rsi + 0x1c]
add rax, r15
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rax
cmp dword [rsi + 0x18], ebx
jbe 0x14000202d
mov rdx, qword [rsp + 0x30]
mov r14d, ebp
mov ecx, dword [rcx + r14*4]
add rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000206b
mov rcx, qword [rsp + 0x38]
inc ebp
cmp ebp, dword [rsi + 0x18]
jb 0x140002008
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400cbe40
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rax + r14*2]
mov ecx, dword [rcx + rax*4]
lea rax, [rdi + r13]
add rcx, rdi
cmp rcx, rax
jb 0x140002095
lea rax, [r12 + r13]
add rax, rdi
cmp rcx, rax
jbe 0x140002098
mov rbx, rcx
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x140002040

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

Disassembly:
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rcx]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 4
jb 0x1400024b1
mov rax, rdx
ret
Function at 0x14000bdb0
Capabilities:
Read file on windows

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
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14000bdd7
and qword [r8], 0
call fcn.14000be80
mov rbx, rax
test rax, rax
je 0x14000be63
mov rcx, rax
call fcn.14000bd38
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000be5a
lea rcx, [rax + rbp]
call fcn.14000e1d8
mov rsi, rax
test rax, rax
je 0x14000be5a
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]
cmp rax, rdi
je 0x14000be32
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.14000e228
jmp 0x14000be63
test ebp, ebp
jle 0x14000be44
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000be55
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000be65
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
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 0x14000c178
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x14000c1a6
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x14013c130]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x14000c183
not r8d
mov eax, r8d
ret

Function at 0x14000c1b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14000c20a
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x14013c130]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x14000c1f4
cmp rdx, 2
jb 0x14000c1f4
cmp byte [r10], r11b
jne 0x14000c1f4
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x14000c1d2
jmp 0x14000c24b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14000c24b
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x14013c130]
cmp dl, r11b
jne 0x14000c22f
cmp byte [r10], r11b
jne 0x14000c22f
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x14000c21d
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000e0a4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5f88], 0
lea rdi, [rcx + 0x5f90]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x14000e121
xor edx, edx
call fcn.14001ab54
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.140019d44
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x5f88]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x14069c460]
movsxd r8, eax
mov rax, qword [rbx + 0x5f98]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14000e126
call fcn.140019d44
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140015224
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14069c458]
mov rbx, rcx
and dword [rax + 0x5ee4], 0
test rcx, rcx
je 0x14001528d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140015298
lea rdx, [0x14013dc84]
mov rcx, rbx
mov rdi, rax
call fcn.14000be80
mov rbx, rax
test rax, rax
je 0x14001528d
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004b648
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.14004db54
nop
lea rax, [0x14004b030]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.14004aa50
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14004b6cd
lea rcx, [rsp + 0x30]
call fcn.14006276c
jmp 0x14004b6e4
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x30]
call fcn.140050f10
add rsp, 0x58
ret

Function at 0x14004c234
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0x3285501
lea rcx, [rsp + 0x40]
call fcn.140050688
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax + 0x58]
movdqu xmmword [rsp + 0x50], xmm0
movzx eax, word [rsp + 0x50]
sub eax, 8
mov word [rsp + 0x50], ax
cmp dword [rsp + 0x24], 0
je 0x14004c28c
lea rcx, [rsp + 0x50]
call fcn.14005fdd0
cmp eax, dword [rsp + 0x24]
jne 0x14004c357
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140050568
lea rcx, [rsp + 0x60]
call fcn.140051738
movzx eax, al
test eax, eax
je 0x14004c357
lea rcx, [rsp + 0x60]
call fcn.1400643c8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x2c], 0
je 0x14004c357
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140061d84
mov rcx, rax
call fcn.14004d9ac
cmp eax, dword [rsp + 0x28]
jne 0x14004c352
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14005c5cc
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140060d58
movzx eax, al
test eax, eax
je 0x14004c34b
mov rcx, qword [rsp + 0x30]
call fcn.14005fe4c
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x40]
call fcn.140063904
jmp 0x14004c357
mov rax, qword [rsp + 0x30]
jmp 0x14004c36e
jmp 0x14004c2c2
lea rcx, [rsp + 0x40]
call fcn.140061db8
movzx eax, al
test eax, eax
jne 0x14004c255
xor eax, eax
add rsp, 0x88
ret
Function at 0x14004cb10
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0xf8f45725
lea rcx, [rsp + 0x40]
call fcn.140050688
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax + 0x58]
movdqu xmmword [rsp + 0x50], xmm0
movzx eax, word [rsp + 0x50]
sub eax, 8
mov word [rsp + 0x50], ax
cmp dword [rsp + 0x24], 0
je 0x14004cb68
lea rcx, [rsp + 0x50]
call fcn.14005fdd0
cmp eax, dword [rsp + 0x24]
jne 0x14004cc33
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140050568
lea rcx, [rsp + 0x60]
call fcn.140051738
movzx eax, al
test eax, eax
je 0x14004cc33
lea rcx, [rsp + 0x60]
call fcn.1400643c8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x2c], 0
je 0x14004cc33
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140061d84
mov rcx, rax
call fcn.14004d9ac
cmp eax, dword [rsp + 0x28]
jne 0x14004cc2e
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14005c5cc
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140060d58
movzx eax, al
test eax, eax
je 0x14004cc27
mov rcx, qword [rsp + 0x30]
call fcn.14005fe4c
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x40]
call fcn.140063904
jmp 0x14004cc33
mov rax, qword [rsp + 0x30]
jmp 0x14004cc4a
jmp 0x14004cb9e
lea rcx, [rsp + 0x40]
call fcn.140061db8
movzx eax, al
test eax, eax
jne 0x14004cb31
xor eax, eax
add rsp, 0x88
ret

Function at 0x14004d0f0
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.140050908
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140050568
lea rcx, [rsp + 0x30]
call fcn.140051738
movzx eax, al
test eax, eax
je 0x14004d178
lea rcx, [rsp + 0x30]
call fcn.1400643c8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x14004d178
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140061d84
mov rcx, rax
call fcn.14004d9ac
cmp eax, 0xf8f45725
jne 0x14004d176
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14005c5cc
jmp 0x14004d18f
jmp 0x14004d130
lea rcx, [rsp + 0x28]
call fcn.140061e14
movzx eax, al
test eax, eax
jne 0x14004d0fe
xor eax, eax
add rsp, 0x58
ret