joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140069514
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 0x14006939b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006939b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006939b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006939b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006939b
cmp dword [rcx + 0x84], 0xe
jbe 0x14006939b
cmp dword [rcx + 0xf8], 0
je 0x14006939b
mov ecx, ebx
call fcn.140069440
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.140069234
nop
cmp dword [rbp + 0x20], 0
jne 0x1400693fc
call fcn.140073d24
cmp eax, 1
jne 0x1400693ec
xor dl, dl
jmp 0x1400693f6
call fcn.140073d54
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140069407
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140069410
int3
xor r8d, r8d
xor edx, edx
jmp 0x14006932c
Function at 0x14006fca0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14006fcb6
mov al, 1
jmp 0x14006fd22
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14006fcc7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14006fd20
mov ecx, dword [rcx + 0x18]
nop
call fcn.140077624
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006fd20
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14006fd20
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006fd20
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14006fd22
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14006ff48
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
xor edi, edi
mov rax, r15
lea rcx, [0x1400cba90]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x14006ff9e
cmp word [rdx], r9w
jne 0x14006ff9e
or byte [rax + rbp*8 + 0x38], 4
jmp 0x14006ffa3
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x140070122
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1400700ed
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x14006ffeb
cmp rcx, r8
jae 0x14007000b
cmp word [rcx], r9w
jne 0x14006ffeb
add rax, 4
mov edx, r9d
jmp 0x14006ffee
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x14006ffc0
jmp 0x140070122
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400700e6
cmp dword [rsp + 0x80], edi
je 0x1400700e6
lea r9, [0x1400cba90]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x1400700c0
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x140070073
mov word [rbx], bp
jmp 0x14007011f
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x14007008e
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x14007011f
cmp word [rsp + 0x70], bp
jne 0x1400700cc
cmp rbx, rsi
je 0x14007006b
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14006f880
cmp word [rsp + 0x70], bp
je 0x140070122
mov word [rbx], 0xd
jmp 0x14007011f
mov rcx, r15
lea r9, [0x1400cba90]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14007011c
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140070122
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
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
Function at 0x140070ffc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400d4050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x140071061
test rax, rax
jne 0x14007104f
lea r9, [0x14008a480]
lea r8, [0x14008a478]
lea rdx, [0x14008a480]
lea ecx, [rax + 0xa]
call fcn.140070c74
test rax, rax
je 0x140071061
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140081a20
jmp 0x14007107b
xor edx, edx
mov rcx, rbp
call fcn.1400712ec
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140076d20
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 0x140076d50
xor eax, eax
jmp 0x140076e13
mov rbp, rbx
cmp word [rax], si
je 0x140076d75
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140076d5c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140076d58
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.14007541c
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x140076db6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140076d49
call fcn.1400723d0
mov rdi, rax
test rax, rax
jne 0x140076dcc
xor ecx, ecx
call fcn.14006f570
jmp 0x140076dab
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.14007541c
test eax, eax
jne 0x140076dfd
mov rcx, rdi
call fcn.14006f570
jmp 0x140076e07
xor ecx, ecx
call fcn.14006f570
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 0x140079b1c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140079b8f
cmp word [rcx], si
je 0x140079b8f
lea rdx, [0x14008b758]
call fcn.14007d008
test eax, eax
je 0x140079b8f
lea rdx, [0x14008b770]
mov rcx, rbx
call fcn.14007d008
test eax, eax
jne 0x140079b85
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140079bac
mov eax, dword [rsp + 0x30]
jmp 0x140079bbe
mov rcx, rbx
call fcn.14006dfcc
jmp 0x140079bbe
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140079bb0
xor eax, eax
jmp 0x140079bbe
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140079bbe
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140079bd0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.14006e4d8
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140079c73
cmp edi, dword [rsp + 0x30]
je 0x140079c6c
test ebp, ebp
je 0x140079c6c
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140079c48
sub dx, 0x61
cmp dx, 0x19
ja 0x140079c54
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x140079c35
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140079c58
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140079c75
mov eax, 1
jmp 0x140079c75
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14007d208
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.14006f880
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14006f880
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14007d355
cmp rax, 0xffffffffffffffff
je 0x14007d355
xor edi, edi
test rbp, rbp
jle 0x14007d303
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14006f4f0
mov rbx, rax
test rax, rax
jne 0x14007d290
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14007d2f9
mov edx, 0x8000
mov ecx, r14d
call fcn.14006bb1c
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.14006f1bc
cmp eax, 0xffffffff
je 0x14007d2d9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14007d2a0
mov edx, r15d
mov ecx, r14d
call fcn.14006bb1c
jmp 0x14007d2f9
cmp byte [rsi + 0x38], dil
je 0x14007d2f0
cmp dword [rsi + 0x34], 5
jne 0x14007d2f0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14007d2f9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14006f570
jmp 0x14007d367
jns 0x14007d367
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14006f880
cmp rax, 0xffffffffffffffff
jne 0x14007d321
cmp byte [rsi + 0x30], dil
je 0x14007d367
jmp 0x14007d35d
mov ecx, r14d
call fcn.140077624
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14007d367
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 0x14007d367
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14007d362
mov edi, dword [rsi + 0x2c]
jmp 0x14007d367
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14006f880
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 0x14007e500
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14007e528
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14007e528
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002840
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov eax, 0x13c0
call fcn.1400f67f0
sub rsp, rax
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, edx
mov esi, ecx
call fcn.1400f8c20
mov dword [rsp + 0x24], eax
mov r9d, 1
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x140002883
btc esi, 0x1f
mov dword [rsp + 0x20], 0x270
btc ebx, 0x1f
lea rcx, [rsp + 0x20]
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400028cd
call fcn.140008800
mov ecx, eax
jmp 0x140002916
mov qword [rsp + 0x13d0], rdi
inc ebx
call fcn.140008800
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x14000290a
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14000290a
lea rcx, [rsp + 0x20]
call fcn.140008800
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1400028f6
mov rdi, qword [rsp + 0x13d0]
shr rcx, 0x20
lea eax, [rcx + rsi]
xor eax, 0x80000000
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400f5cb0
mov rbx, qword [rsp + 0x13d8]
add rsp, 0x13c0
pop rsi
ret
Function at 0x140008800
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140008861
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140008820
mov ecx, dword [r9]
jmp 0x14000894b
cmp ecx, 0x4e0
jb 0x14000894b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140008880
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400088d0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140010ac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, edx
and r11d, 7
je 0x140010b4f
cmp edx, r11d
jge 0x140010b3e
mov r8d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r9d, edx
shl eax, cl
cmp r8d, eax
jae 0x140010b34
mov r10, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r10
jb 0x140010aff
xor cl, cl
jmp 0x140010b08
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r9 + 8]
mov ecx, r9d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x14], r8d
cmp edx, 0x18
jg 0x140010b3e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r9d, edx
cmp r8d, eax
jb 0x140010af3
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x14]
mov ecx, r11d
shr eax, cl
sub edx, r11d
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov r9d, edx
test edx, edx
jle 0x140010b92
mov eax, dword [rbx + 0x14]
lea rcx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
lea edx, [r9 - 8]
mov byte [rcx], r10b
lea rcx, [rcx + 1]
inc r8d
mov dword [rbx + 0x14], eax
mov r9d, edx
movzx r10d, al
test edx, edx
jg 0x140010b70
mov dword [rbx + 0x10], edx
jns 0x140010bb8
mov rax, qword gs:[0x58]
mov edx, Ordinal_41
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x140010be7
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x140010bd1
xor dl, dl
jmp 0x140010bda
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x140010bc8
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x140010b94
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140010c51
mov rax, qword gs:[0x58]
mov edx, Ordinal_41
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x140010c6b
mov rcx, rbx
call fcn.14000ff50
test eax, eax
je 0x140010c44
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.14012d7f0
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14001d0d0
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 0x14001d12d
lea rbx, [0x140215620]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001d114
cmp r10, 2
jb 0x14001d114
cmp byte [r9], r8b
jne 0x14001d114
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 0x14001d0f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001d16f
lea rbx, [0x140215620]
cmp r8b, 0x23
jne 0x14001d153
cmp byte [r9], r8b
jne 0x14001d153
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 0x14001d140
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14001fb60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movsxd rdi, edx
mov rbx, rcx
mov esi, edi
mov ebp, edi
mov r14d, edi
shr esi, 0x18
shr ebp, 0x10
shr r14d, 8
cmp dword [rcx + 0xc8], 0
jg 0x14001fbab
mov r8d, 0x70d
lea rdx, str.E:CodecppOcean2Ocean2guiimguiimgui.h
lea rcx, str.Size___0
call fcn.140105470
movsxd rcx, dword [rbx + 0xc8]
lea rdx, [0x140215620]
mov rax, qword [rbx + 0xd0]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r14b
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, bpl
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, esi
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x140244d30]
xor ebx, dword [rdx + rcx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x14001fc1b
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x14001fc2a
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x14001fc41
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140033640
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14002ca70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140244d30]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x14002cad1
cmp byte [rbx + 0x41ce], 0
jne 0x14002cad1
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14001d050
test dil, 1
je 0x14002cbf8
jmp 0x14002cb5c
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1402202b4]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1402202a4]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x14022020c]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
movsx r9d, word [rbx + 0x52ae]
call fcn.14001d050
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002cbb0
lea r11, [0x140215620]
nop dword [rax]
cmp r9b, 0x23
jne 0x14002cb93
cmp byte [r8], r9b
jne 0x14002cb93
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 0x14002cb80
not ecx
call fcn.140025010
test rax, rax
je 0x14002cbf8
cmp byte [rax + 0x8e], 0
je 0x14002cbf8
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x52ae]
call fcn.14001d050
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140027770
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400f5cb0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140032240
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140244d30]
cmp byte [rbx + 0x52f9], 0
jne 0x1400323a9
cmp dword [rbx + 0x5320], 0
je 0x14003228a
mov r8d, 0x2cfe
lea rdx, str.E:CodecppOcean2Ocean2guiimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call fcn.140105470
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400323a2
lea rdx, [0x14014f73c]
call fcn.14001d180
mov rdi, rax
test rax, rax
je 0x1400323a2
mov rcx, rax
call fcn.140102bbc
mov ebp, eax
cmp eax, 0xffffffff
je 0x14003239a
xor edx, edx
mov r8d, 2
mov rcx, rdi
call fcn.140103138
test eax, eax
jne 0x14003239a
mov rcx, rdi
call fcn.140102bbc
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14003239a
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call fcn.140103138
test eax, eax
jne 0x14003239a
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x14003239a
mov rax, qword [0x140244d30]
test rax, rax
je 0x140032322
inc dword [rax + 0xec]
mov rcx, rbp
call fcn.14010557c
mov rsi, rax
test rax, rax
je 0x14003239a
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.140104c24
mov rcx, rdi
cmp rax, rbp
je 0x14003236e
call fcn.140102da0
mov rax, qword [0x140244d30]
test rax, rax
je 0x140032364
dec dword [rax + 0xec]
mov rcx, rsi
call fcn.1401020f8
jmp 0x1400323a2
call fcn.140102da0
mov rdx, rbp
mov rcx, rsi
call fcn.140032630
mov rax, qword [0x140244d30]
test rax, rax
je 0x140032390
dec dword [rax + 0xec]
mov rcx, rsi
call fcn.1401020f8
jmp 0x1400323a2
mov rcx, rdi
call fcn.140102da0
mov byte [rbx + 0x52f9], 1
movss xmm0, dword [rbx + 0x52fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140032438
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52fc], xmm0
jb 0x140032438
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x14003242b
mov rax, qword [0x140244d30]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52fc], ebp
call fcn.140032b10
lea rdx, [0x14021d4f0]
mov rcx, rdi
mov rsi, rax
call fcn.14001d180
mov rdi, rax
test rax, rax
je 0x140032432
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call fcn.1401065a0
mov rcx, rdi
call fcn.140102da0
jmp 0x140032432
mov byte [rbx + 0xd4], 1
mov dword [rbx + 0x52fc], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret