joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055ae4
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.14004a0bc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14004a0bc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140055c34
cmp rax, 0xffffffffffffffff
je 0x140055c34
xor edi, edi
test rbp, rbp
jle 0x140055bdf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140044180
mov rbx, rax
test rax, rax
jne 0x140055b6c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140055bd5
mov edx, 0x8000
mov ecx, r14d
call fcn.1400419bc
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.140044e14
cmp eax, 0xffffffff
je 0x140055bb5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140055b7c
mov edx, r15d
mov ecx, r14d
call fcn.1400419bc
jmp 0x140055bd5
cmp byte [rsi + 0x38], dil
je 0x140055bcc
cmp dword [rsi + 0x34], 5
jne 0x140055bcc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140055bd5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14004537c
jmp 0x140055c48
jns 0x140055c48
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14004a0bc
cmp rax, 0xffffffffffffffff
jne 0x140055c00
cmp byte [rsi + 0x30], dil
je 0x140055c48
mov edi, dword [rsi + 0x2c]
jmp 0x140055c48
mov ecx, r14d
call fcn.14004e66c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140055c48
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 0x140055c48
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140055c41
mov eax, dword [rsi + 0x2c]
jmp 0x140055c46
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14004a0bc
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 0x1400569e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140056a08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140056a08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004b40
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 0x140004b9d
lea rbx, [0x140043960]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004b84
cmp r10, 2
jb 0x140004b84
cmp byte [r9], r8b
jne 0x140004b84
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 0x140004b60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004bdf
lea rbx, [0x140043960]
cmp r8b, 0x23
jne 0x140004bc3
cmp byte [r9], r8b
jne 0x140004bc3
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 0x140004bb0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004d20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140004d3a
mov qword [r8], 0
lea rdx, [0x1400434c0]
call fcn.140004bf0
mov rbx, rax
test rax, rax
jne 0x140004d5a
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 0x140004e31
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 0x140004e31
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004e31
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 0x140004e31
cmp rdi, 0xffffffffffffffff
je 0x140004e31
mov rax, qword [0x140061d90]
test rax, rax
je 0x140004dce
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140004e31
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 0x140004e1e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140061d90]
test rax, rax
je 0x140004e13
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004e3a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140004e2c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140004e3c
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 0x140008ac0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x140043960]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140008b56
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001c200
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140008b60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x140043960]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
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 0x14000c2f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x140061d90]
mov ebp, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
cmp qword [rbx + 0x1a8], 0
jne 0x14000c336
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x14000c33b
mov eax, 0x220
movss xmm4, dword [rax + rbx]
xor r15d, r15d
movss xmm5, dword [rax + rbx + 4]
xorps xmm3, xmm3
cvttss2si eax, dword [r8]
mov edx, 2
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movss xmm2, dword [0x1400484cc]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
mov r8d, 1
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, r15d
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
cmove eax, r8d
ucomiss xmm0, xmm3
cmove r15d, edx
or r15d, eax
comiss xmm1, xmm3
ja 0x14000c3ad
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x14000c3ad
movaps xmm1, xmm2
comiss xmm0, xmm3
ja 0x14000c3be
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14000c3be
movaps xmm0, xmm2
or dword [rdi + 0x47b8], edx
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], r8d
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000c402
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140004a20
jmp 0x14000c417
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x60]
call fcn.140004a20
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000edd0
mov rsi, qword [rdi + 0x3ed8]
movzx r14d, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], ebp
mov byte [rsi + 0xd2], r15b
jne 0x14000c468
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, ebp
lea rdx, [0x1400429b1]
not r9d
lea r10, [0x140043960]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000c495
cmp byte [rdx], r8b
jne 0x14000c495
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000c482
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000c4c5
xor edx, edx
xor ecx, ecx
call fcn.140008d20
cmp dword [rdi + 0x48e0], ebp
jne 0x14000c50a
cmp word [rsi + 0x15c], 0
jne 0x14000c4e0
cmp byte [rsi + 0x162], 0
je 0x14000c50a
xor edx, edx
mov rcx, rsi
call fcn.140011270
xor edx, edx
mov rcx, rsi
call fcn.140017310
mov rdx, rsi
mov ecx, ebx
call fcn.140008d20
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140015320
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140061d90]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x140015381
cmp byte [rbx + 0x4a92], 0
jne 0x140015381
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400049a0
test dil, 2
je 0x1400154af
jmp 0x14001540a
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400484f4]
mulss xmm1, dword [0x1400484ec]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x140048470]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.1400049a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015460
lea r11, [0x140043960]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140015443
cmp byte [r8], r9b
jne 0x140015443
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 0x140015430
not ecx
call fcn.14000c840
test rax, rax
je 0x1400154af
cmp byte [rax + 0xb6], 0
je 0x1400154af
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.1400049a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000edd0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003f5e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001abb0
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 + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ac57
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ac0a
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.14001ce10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140005310
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140061d88]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ac5f
mov rcx, rbx
call fcn.140005310
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b0e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140061d90]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b143
mov qword [rsp], rbx
lea rbx, [0x140043960]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b123
cmp byte [r8], r9b
jne 0x14001b123
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 0x14001b110
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001b16f
cmp dword [r8 + 8], eax
je 0x14001b176
add r8, 0x48
cmp r8, rcx
jne 0x14001b160
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003b790
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14003b81c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14003b7f0
lea r11, [0x140043960]
nop
cmp r9b, 0x23
jne 0x14003b7d3
cmp byte [r8], r9b
jne 0x14003b7d3
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 0x14003b7c0
mov rcx, qword [0x140061d90]
not eax
cmp dword [rcx + 0x3f38], eax
jne 0x14003b807
mov dword [rcx + 0x3f3c], eax
cmp dword [rcx + 0x3f68], eax
jne 0x14003b879
mov byte [rcx + 0x3f6c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140061d90]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140004b40
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f20], eax
jne 0x14003b872
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001c200
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003ffd8
Capabilities:
Parse pe header

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

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x1d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r15, rdx
mov rsi, rcx
test rcx, rcx
je 0x1400013ba
xorps xmm0, xmm0
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 0x108
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0x40
mov rdx, rsi
mov ecx, 4
call fcn.1400010c0
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x1400013ba
movsxd rdx, dword [rsp + 0x8c]
lea r9, [rsp + 0x90]
add rdx, rsi
mov qword [rsp + 0x20], 0x108
mov ecx, 4
call fcn.1400010c0
cmp dword [rsp + 0x90], 0x4550
jne 0x1400013ba
mov ebx, dword [rsp + 0x118]
test ebx, ebx
je 0x1400013ba
mov eax, dword [rsp + 0x11c]
test eax, eax
je 0x1400013ba
mov qword [rsp + 0x1c8], rdi
mov r9d, 4
mov qword [rsp + 0x1c0], r12
mov r8d, 0x3000
mov qword [rsp + 0x1b8], r13
mov edx, eax
mov qword [rsp + 0x1b0], r14
xor ecx, ecx
mov qword [rsp + 0x200], rbp
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, 4
mov qword [rsp + 0x48], rbx
mov rdi, rax
mov qword [rsp + 0x20], r13
lea rax, [rbx + rsi]
mov r9, rdi
mov rdx, rax
mov qword [rsp + 0x40], rax
call fcn.1400010c0
mov eax, dword [rdi + 0x24]
mov r14, rdi
mov r12d, dword [rdi + 0x20]
sub r14, rbx
add rax, r14
add r12, r14
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov eax, dword [rdi + 0x1c]
add rax, r14
mov qword [rsp + 0x38], rax
cmp dword [rdi + 0x18], ebx
jbe 0x14000131b
nop dword [rax]
mov ecx, dword [r12 + rbx*4]
mov rdx, r15
add rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001372
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x140001300
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x200]
mov r12, qword [rsp + 0x1c0]
mov rdi, qword [rsp + 0x1c8]
mov r13, qword [rsp + 0x1b8]
mov r14, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140002680
add rsp, 0x1d0
pop r15
pop rsi
pop rbx
ret
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rax + rbx*2]
mov ebx, dword [rcx + rax*4]
add rbx, rsi
cmp rbx, qword [rsp + 0x40]
jb 0x1400013a1
mov rax, qword [rsp + 0x48]
add rax, r13
add rax, rsi
cmp rbx, rax
jbe 0x14000131b
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x14000132e
xor eax, eax
jmp 0x140001356
Function at 0x140003000
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000304a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000304a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000304a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000304a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000304a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000304c
xor al, al
add rsp, 0x28
ret
Function at 0x180002860
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 0x1800028bd
lea rbx, [0x180057a60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800028a4
cmp r10, 2
jb 0x1800028a4
cmp byte [r9], r8b
jne 0x1800028a4
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 0x180002880
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800028ff
lea rbx, [0x180057a60]
cmp r8b, 0x23
jne 0x1800028e3
cmp byte [r9], r8b
jne 0x1800028e3
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 0x1800028d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002a40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180002a5a
mov qword [r8], 0
lea rdx, [0x180057664]
call fcn.180002910
mov rbx, rax
test rax, rax
jne 0x180002a7a
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 0x180002b51
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 0x180002b51
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002b51
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 0x180002b51
cmp rdi, 0xffffffffffffffff
je 0x180002b51
mov rax, qword [0x18006b348]
test rax, rax
je 0x180002aee
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 0x180002b51
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 0x180002b3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18006b348]
test rax, rax
je 0x180002b33
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002b5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180002b4c
mov qword [r14], rdi
mov rax, rsi
jmp 0x180002b5c
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 0x180004e90
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, [0x180057a60]
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 [0x18006b348]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x180004f26
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1800163f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret