joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400155a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x14004fa70]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14009a5e8]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140015635
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140028e90
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140015640
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x108]
lea r10, [0x14004fa70]
mov rax, qword [rcx + 0xf0]
movss xmm1, dword [rcx + 0x10c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xe8]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140022870
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14009a5e8]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x1400228d1
cmp byte [rbx + 0x4a5e], 0
jne 0x1400228d1
movsx r9d, word [rbx + 0x5b6e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140011c70
test dil, 1
je 0x1400229f8
jmp 0x14002295c
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b6e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400558d4]
mov edx, 0x10
mulss xmm1, dword [0x1400558b4]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x140055790]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.140011c70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400229b0
lea r11, [0x14004fa70]
nop dword [rax]
cmp r9b, 0x23
jne 0x140022993
cmp byte [r8], r9b
jne 0x140022993
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 0x140022980
not ecx
call fcn.1400197b0
test rax, rax
je 0x1400229f8
cmp byte [rax + 0xae], 0
je 0x1400229f8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b6e]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b6e]
call fcn.140011c70
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001c020
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004a050
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140027820
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 + 0x5c50], 0
lea rbx, [rcx + 0x5c58]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400278c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002787a
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.140029b00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140012660
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c50]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c60]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14009a5af]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400278cf
mov rcx, rbx
call fcn.140012660
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140027d50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14009a5e8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140027db3
mov qword [rsp], rbx
lea rbx, [0x14004fa70]
nop dword [rax]
cmp r9b, 0x23
jne 0x140027d93
cmp byte [r8], r9b
jne 0x140027d93
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 0x140027d80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bc8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140027de7
mov r10, qword [r10 + 0x5bd0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140027dee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140027dd4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14004adfc
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400175d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011438
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018920
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018940
xor al, al
jmp 0x1400189c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018953
xor al, al
jmp 0x1400189c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001897d
xor al, al
jmp 0x1400189c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018991
xor al, al
jmp 0x1400189c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400189a3
xor al, al
jmp 0x1400189c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400189bf
xor al, al
jmp 0x1400189c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140016750
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011618
movzx eax, al
test eax, eax
jne 0x140016770
mov ecx, 7
call fcn.140011519
nop
mov byte [rsp + 0x20], 0
call fcn.14001154b
mov byte [rsp + 0x21], al
cmp dword [0x140023b78], 1
jne 0x140016794
mov ecx, 7
call fcn.140011519
nop
jmp 0x1400167ec
cmp dword [0x140023b78], 0
jne 0x1400167e7
mov dword [0x140023b78], 1
lea rdx, [0x14001e660]
lea rcx, [0x14001e330]
call fcn.1400112cb
test eax, eax
je 0x1400167c8
mov eax, 0xff
jmp 0x1400168f1
lea rdx, [0x14001e220]
lea rcx, [section..rdata]
call fcn.140011537
mov dword [0x140023b78], 2
jmp 0x1400167ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011500
call fcn.140011465
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140016849
mov rcx, qword [rsp + 0x30]
call fcn.140011253
movzx eax, al
test eax, eax
je 0x140016849
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002a020]
nop
call fcn.1400114ab
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001687d
mov rcx, qword [rsp + 0x38]
call fcn.140011253
movzx eax, al
test eax, eax
je 0x14001687d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115be
nop
call fcn.1400169a0
mov dword [rsp + 0x28], eax
call fcn.140011438
movzx eax, al
test eax, eax
jne 0x14001689c
mov ecx, dword [rsp + 0x28]
call fcn.140011078
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400168ab
call fcn.1400115d2
nop
xor edx, edx
mov cl, 1
call fcn.14001122b
mov eax, dword [rsp + 0x28]
jmp 0x1400168f1
add rsp, 0x68
ret
Function at 0x1405ec0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405ec237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405ec0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ec0c7
add dl, dl
jne 0x1405ec0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ec14e
xor eax, eax
add dl, dl
jne 0x1405ec0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ec205
add dl, dl
jne 0x1405ec10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ec11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ec128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ec135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405ec142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405ec0d6
mov eax, 1
add dl, dl
jne 0x1405ec15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ec16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ec153
sub eax, ebx
mov ebx, 1
jne 0x1405ec1a4
mov ecx, 1
add dl, dl
jne 0x1405ec186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405ec193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ec17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ec0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405ec1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405ec1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ec1b5
cmp eax, 0x7d00
jae 0x1405ec1f3
cmp eax, 0x500
jb 0x1405ec1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ec0d6
cmp eax, 0x7f
ja 0x1405ec1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ec0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405ec22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405ec0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140001908
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
lea rdi, [0x180056b30]
mov eax, ebx
mov rcx, rdi
cmp qword [rcx], rbx
je 0x180003d7a
inc eax
add rcx, 8
cmp eax, 0x50
jb 0x180003d68
jmp 0x180003d87
cdqe
lea rcx, [0x180042ff0]
mov qword [rdi + rax*8], rcx
mov rcx, qword [0x180056f58]
lea rdx, [0x180043070]
call fcn.180004ea0
mov rcx, qword [0x180056f88]
lea rdx, [0x180004b90]
call fcn.180004ea0
mov rcx, qword [0x180057038]
lea rdx, [0x180042180]
call fcn.180004ea0
mov rcx, qword [0x180056fd0]
lea rdx, [0x1800421c0]
call fcn.180004ea0
mov rcx, qword [0x180056ed0]
lea rdx, [0x180042bd0]
call fcn.180004ea0
mov rcx, qword [0x180057020]
lea rdx, [0x180042cf0]
call fcn.180004ea0
mov rcx, qword [0x180056f30]
lea rdx, [0x180042df0]
call fcn.180004ea0
mov rcx, qword [0x180057050]
lea rdx, [0x180042f00]
call fcn.180004ea0
mov eax, ebx
mov rcx, rdi
cmp qword [rcx], rbx
je 0x180003e36
inc eax
add rcx, 8
cmp eax, 0x50
jb 0x180003e24
jmp 0x180003e43
cdqe
lea rcx, [0x180041460]
mov qword [rdi + rax*8], rcx
mov rcx, qword [0x180056ec0]
lea rdx, [0x1800026a0]
call fcn.180004ea0
mov rcx, qword [0x180056f00]
lea rdx, [0x180002680]
call fcn.180004ea0
mov rcx, qword [0x180056e98]
lea rdx, [0x180002680]
call fcn.180004ea0
mov rcx, qword [0x180056f78]
lea rdx, [0x180002690]
call fcn.180004ea0
mov rcx, qword [0x180057058]
lea rdx, [0x1800411a0]
call fcn.180004ea0
mov rax, rdi
cmp qword [rax], 0
je 0x180003eb8
inc ebx
add rax, 8
cmp ebx, 0x50
jb 0x180003ea5
jmp 0x180003ec6
movsxd rax, ebx
lea rcx, [0x1800412c0]
mov qword [rdi + rax*8], rcx
mov rcx, qword [0x180056ef0]
lea rdx, [0x180041390]
call fcn.180004ea0
mov rcx, qword [0x180057000]
lea rdx, [0x180041350]
call fcn.180004ea0
mov rcx, qword [0x180056eb0]
lea rdx, [0x180042340]
call fcn.180004ea0
mov rcx, qword [0x180056fa8]
lea rdx, [0x180042400]
call fcn.180004ea0
mov rcx, qword [0x180056f18]
lea rdx, [0x180004ae0]
call fcn.180004ea0
mov rcx, qword [0x180056f98]
lea rdx, [0x180002840]
call fcn.180004ea0
mov rcx, qword [0x180057028]
lea rdx, [0x1800028e0]
call fcn.180004ea0
mov rcx, qword [0x180056fa0]
lea rdx, [0x1800029b0]
call fcn.180004ea0
mov rcx, qword [0x180056ff8]
lea rdx, [0x180002a70]
call fcn.180004ea0
mov rcx, qword [0x180056f80]
lea rdx, [0x180002b30]
call fcn.180004ea0
mov rcx, qword [0x180056fb0]
lea rdx, [0x180002780]
call fcn.180004ea0
mov rcx, qword [0x180056ea0]
lea rdx, [0x180042200]
call fcn.180004ea0
mov rcx, qword [0x180056ef8]
lea rdx, [0x180004900]
call fcn.180004ea0
mov rcx, qword [0x180056f68]
lea rdx, [0x180042040]
call fcn.180004ea0
mov rcx, qword [sym.imp.KERNEL32.dll_FatalExit]
lea rdx, [0x180004450]
call fcn.180004ea0
call fcn.1800040b0
mov rcx, qword [0x180056fd8]
lea rdx, [0x1800049b0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180004ea0
Function at 0x180004010
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
lea rcx, str.Pipsi_HI3.cfg
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180004090
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, 0x378
lea rdx, [0x1800560c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180045a40
add rsp, 0x50
pop rbx
ret
Function at 0x180004ea0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
call fcn.180044b80
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180045240
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180044540
test eax, eax
je 0x180004f13
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_attach_hook.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.180044c40
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.180004f40
mov qword [rax], rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180045a40
add rsp, 0x40
pop rbx
ret

Function at 0x1800076b0
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 0x18000770d
lea rbx, [0x180049e20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800076f4
cmp r10, 2
jb 0x1800076f4
cmp byte [r9], r8b
jne 0x1800076f4
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 0x1800076d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000774f
lea rbx, [0x180049e20]
cmp r8b, 0x23
jne 0x180007733
cmp byte [r9], r8b
jne 0x180007733
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 0x180007720
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180007850
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x18000786e
mov qword [r8], r14
lea rdx, [0x180049950]
call fcn.180007760
mov rbx, rax
test rax, rax
jne 0x180007893
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1800079bf
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800079bf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800079bf
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800079bf
cmp rdi, 0xffffffffffffffff
je 0x1800079bf
mov rcx, rdi
call fcn.18000af60
mov rbp, rax
test rax, rax
je 0x1800079bf
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 0x1800079ac
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x180056dd0]
test r8, r8
je 0x1800079a1
movsx rdx, word [r8 + 0x60a8]
lea rcx, [r8 + 0x60ac]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180007996
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ac]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60a4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800079c8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1800079ba
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1800079ca
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18000a570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x180049e20]
movsxd rcx, dword [rcx + 0x100]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x108]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x18000a604
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18001e630
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18000a620
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x120]
lea r10, [0x180049e20]
mov rax, qword [rcx + 0x108]
movss xmm1, dword [rcx + 0x124]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x100]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret