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

Disassembly:
sub rsp, 0x48
test byte [0x1402c7d28], 1
jne 0x1401b4453
lock bts qword [0x1402c7d28], 0x1f
setb al
test al, al
je 0x1401b42ab
test byte [0x1402c7d28], 1
jne 0x1401b4453
xor edx, edx
lea rcx, [0x1402c7d28]
call sym.SystemInformer.exe_PhfWaitForEvent
movzx eax, byte [0x1402cbe6a]
add rsp, 0x48
ret
lea rax, str.kernelbase.dll
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], 0x1c
call fcn.14017ede0
mov rdi, rax
test rax, rax
je 0x1401b4416
mov qword [rsp + 0x58], rbp
mov ebp, 0x5a4d
mov qword [rsp + 0x60], rsi
cmp word [rax], bp
jne 0x1401b4347
mov ecx, dword [rax + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401b4347
cmp dword [rcx + rdi], 0x4550
jne 0x1401b4347
lea rdx, ds:[rdi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401b4347
cmp dword [rdx + 4], 0
je 0x1401b4347
xor ebx, ebx
lea r8, [rdi + rax]
lea r9, str.OpenPackageInfoByFullNameForUser
mov word [rsp + 0x20], bx
mov rcx, rdi
call fcn.14017f180
jmp 0x1401b434b
xor ebx, ebx
mov eax, ebx
mov rdx, rdi
mov ecx, 0x3c
mov qword [0x1402cfb40], rax
lea rsi, [rdx + rcx]
cmp word [rdi], bp
jne 0x1401b43aa
mov ecx, dword [rsi]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401b43aa
cmp dword [rcx + rdi], 0x4550
jne 0x1401b43aa
lea rdx, [rdi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401b43aa
cmp dword [rdx + 4], 0
je 0x1401b43aa
lea r8, [rdi + rax]
mov word [rsp + 0x20], bx
lea r9, str.GetPackageApplicationIds
mov rcx, rdi
call fcn.14017f180
jmp 0x1401b43ad
mov rax, rbx
cmp word [rdi], bp
mov rbp, qword [rsp + 0x58]
mov qword [0x1402cfb38], rax
jne 0x1401b4408
mov ecx, dword [rsi]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401b4408
cmp dword [rcx + rdi], 0x4550
jne 0x1401b4408
lea rdx, ds:[rdi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401b4408
cmp dword [rdx + 4], 0
je 0x1401b4408
lea r8, ds:[rdi + rax]
mov word [rsp + 0x20], bx
lea r9, str.ClosePackageInfo
mov rcx, rdi
call fcn.14017f180
mov rbx, rax
mov rsi, qword [rsp + 0x60]
mov qword [0x1402cfb30], rbx
jmp 0x1401b441d
mov rbx, qword [0x1402cfb30]
cmp qword [0x1402cfb40], 0
mov rdi, qword [rsp + 0x40]
je 0x1401b4442
cmp qword [0x1402cfb38], 0
je 0x1401b4442
test rbx, rbx
je 0x1401b4442
mov byte [0x1402cbe6a], 1
lea rcx, [0x1402c7d28]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
movzx eax, byte [0x1402cbe6a]
add rsp, 0x48
ret
Function at 0x1401d4b50
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edi, dword [rcx + 0x30]
mov eax, 0x38
mov r8d, edi
mov rsi, rdx
and r8d, 0x3f
mov rbp, rcx
sub eax, r8d
lea rcx, [rsp + 0x21]
mov ebx, 0x78
sub ebx, r8d
cmp r8d, 0x38
cmovb ebx, eax
xor edx, edx
lea eax, [rbx - 1]
movsxd r8, eax
call fcn.14020ba80
movsxd rax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov byte [rsp + 0x20], 0x80
mov eax, dword [rbp + 0x2c]
lea r8d, [rbx + 8]
shl eax, 3
mov ecx, edi
shr ecx, 0x1d
or ecx, eax
lea eax, [rdi*8]
bswap ecx
mov dword [rdx], ecx
mov rcx, rbp
bswap eax
mov dword [rdx + 4], eax
lea rdx, [rsp + 0x20]
call fcn.1401d4a80
mov ecx, dword [rbp + 0x18]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [rsi], edx
mov ecx, dword [rbp + 0x1c]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [rsi + 4], edx
mov ecx, dword [rbp + 0x20]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [rsi + 8], edx
mov ecx, dword [rbp + 0x24]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [rsi + 0xc], edx
mov ecx, dword [rbp + 0x28]
mov eax, ecx
and eax, 0xff00
mov edx, ecx
shl edx, 0x10
or edx, eax
mov eax, ecx
and eax, 0xff0000
shr ecx, 0x10
or eax, ecx
shl edx, 8
shr eax, 8
or edx, eax
mov dword [rsi + 0x10], edx
xor eax, eax
mov qword [rbp + 0x2c], rax
mov dword [rbp + 0x18], 0x67452301
mov dword [rbp + 0x1c], 0xefcdab89
mov dword [rbp + 0x20], 0x98badcfe
mov dword [rbp + 0x24], 0x10325476
mov dword [rbp + 0x28], 0xc3d2e1f0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401e5e20
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401dc180
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x1f90]
mov eax, 0x2090
call fcn.14020ad50
sub rsp, rax
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0x1f80], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rax, [rbp + 0x1f78]
xor r9d, r9d
mov qword [rsp + 0x70], rax
lea rax, [0x1402c7ef0]
mov qword [rsp + 0x28], rax
lea rax, [0x1401dc810]
mov qword [rsp + 0x20], rax
call fcn.1401df380
test eax, eax
js 0x1401dc2c6
xor ebx, ebx
test eax, eax
mov rax, qword [rsp + 0x68]
jle 0x1401dc26e
nop
cmp rax, qword [rsp + 0x70]
jb 0x1401dc25e
lea rcx, [rsp + 0x78]
cmp rax, rcx
je 0x1401dc25e
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
sub eax, ecx
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x60]
sub eax, 0x18
mov dword [rsp + 0x30], eax
xor r9d, r9d
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x1401dc2c6
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov byte [rax], 0xa
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x78]
cmp rax, rcx
je 0x1401dc2c2
mov eax, dword [rsp + 0x68]
lea rcx, [rsp + 0x60]
sub eax, ecx
mov qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0x60]
sub eax, 0x18
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
setns bl
dec ebx
mov eax, ebx
jmp 0x1401dc2cb
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x1f80]
xor rcx, rsp
call fcn.1401e5e20
mov rbx, qword [rsp + 0x20b8]
add rsp, 0x2090
pop rbp
ret

Function at 0x1401dc8c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
je 0x1401dc934
xor eax, eax
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov dword [rsp + 0x30], 0x2000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
js 0x1401dc934
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401dc934
add rax, 0x18
mov qword [rbx + 8], rdi
add rax, rbx
mov qword [rbx + 0x10], rax
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xffffffff
add rsp, 0x60
pop rdi
ret
Function at 0x1401dc960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
je 0x1401dc9c9
mov rax, qword [rcx + 8]
lea rdi, [rcx + 0x18]
cmp rax, rdi
je 0x1401dc9bc
xor ecx, ecx
sub eax, ebx
mov qword [rsp + 0x40], rcx
sub eax, 0x18
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov rcx, qword [rbx]
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x1401dc9c9
mov qword [rbx + 8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xffffffff
add rsp, 0x60
pop rdi
ret
Function at 0x1401e6d44
Capabilities:
Parse pe header

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

Function at 0x1401fa038
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, [0x1402c9cc0]
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 0x1401fa08f
cmp word [rdx], r13w
jne 0x1401fa08f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401fa094
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401fa1b9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401fa1da
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401fa0cd
mov rdx, r9
mov word [rbx], cx
jmp 0x1401fa0f4
cmp r9, r8
jae 0x1401fa104
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 0x1401fa0ae
jmp 0x1401fa1b9
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 0x1401fa1ae
cmp dword [rsp + 0x80], esi
je 0x1401fa1ae
lea r8, [0x1402c9cc0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401fa186
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401fa156
mov word [rbx], r13w
jmp 0x1401fa1b6
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 0x1401fa163
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401fa1b6
cmp word [rsp + 0x70], r13w
jne 0x1401fa193
cmp rbx, r14
je 0x1401fa150
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140206424
cmp word [rsp + 0x70], r13w
je 0x1401fa1b9
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, [0x1402c9cc0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401fa1b3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401fa1b9
Function at 0x1401fce08
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 0x1401fce77
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401fce77
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401fce77
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401fce77
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401fce77
cmp dword [rcx + 0x84], 0xe
jbe 0x1401fce77
cmp dword [rcx + 0xf8], 0
je 0x1401fce77
mov ecx, ebx
call fcn.1401fcf28
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.1401fcd04
nop
cmp dword [rbp + 0x20], 0
je 0x1401fcec5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401fced0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1401fce08

Function at 0x1401fd00c
Capabilities:
Parse pe header

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

Function at 0x1401fe3a8
Capabilities:
Get file size

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

Function at 0x140205078
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.1401fdd20
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 0x140205119
cmp ebx, dword [rsp + 0x30]
je 0x140205112
test esi, esi
je 0x140205112
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1402050ed
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1402050fa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1402050d7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1402050fe
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14020511b
mov eax, 1
jmp 0x14020511b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140206864
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.140206424
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140206424
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1402069b4
cmp rax, 0xffffffffffffffff
je 0x1402069b4
xor edi, edi
test rbp, rbp
jle 0x14020695f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1401fe9f0
mov rbx, rax
test rax, rax
jne 0x1402068ec
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140206955
mov edx, 0x8000
mov ecx, r14d
call fcn.1401fd088
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.1401fb694
cmp eax, 0xffffffff
je 0x140206935
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1402068fc
mov edx, r15d
mov ecx, r14d
call fcn.1401fd088
jmp 0x140206955
cmp byte [rsi + 0x38], dil
je 0x14020694c
cmp dword [rsi + 0x34], 5
jne 0x14020694c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140206955
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401fea68
jmp 0x1402069c8
jns 0x1402069c8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140206424
cmp rax, 0xffffffffffffffff
jne 0x140206980
cmp byte [rsi + 0x30], dil
je 0x1402069c8
mov edi, dword [rsi + 0x2c]
jmp 0x1402069c8
mov ecx, r14d
call fcn.140206144
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1402069c8
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 0x1402069c8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1402069c1
mov eax, dword [rsi + 0x2c]
jmp 0x1402069c6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140206424
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 0x14020ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14020aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14020aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002b40
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 0x180002b9d
lea rbx, [0x180041a00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002b84
cmp r10, 2
jb 0x180002b84
cmp byte [r9], r8b
jne 0x180002b84
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 0x180002b60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180002bdf
lea rbx, [0x180041a00]
cmp r8b, 0x23
jne 0x180002bc3
cmp byte [r9], r8b
jne 0x180002bc3
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 0x180002bb0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002d20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180002d3a
mov qword [r8], 0
lea rdx, [0x180041604]
call fcn.180002bf0
mov rbx, rax
test rax, rax
jne 0x180002d5a
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 0x180002e33
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 0x180002e33
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002e33
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 0x180002e33
cmp rdi, 0xffffffffffffffff
je 0x180002e33
mov rax, qword [0x1800d3480]
test rax, rax
je 0x180002dd0
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 0x180002e33
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 0x180002e20
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800d3480]
test rax, rax
je 0x180002e15
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002e3c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180002e2e
mov qword [r14], rdi
mov rax, rsi
jmp 0x180002e3e
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 0x1800050d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x180041a00]
movsxd rcx, dword [rcx + 0xd0]
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 [0x1800d3480]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x180005165
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1800174f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180011310
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800d3480]
mov edi, ecx
cmp byte [rbx + 0x4a15], 0
jne 0x180011371
cmp byte [rbx + 0x4a16], 0
jne 0x180011371
movsx r9d, word [rbx + 0x5b0a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180002ac0
test dil, 1
je 0x180011498
jmp 0x1800113fc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b0a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800aa234]
mov edx, 0x10
mulss xmm1, dword [0x1800aa228]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4778], rax
mov dword [rbx + 0x4764], 1
movss dword [rbx + 0x4770], xmm0
movss dword [rbx + 0x4774], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1800aa1b4]
or dword [rbx + 0x4760], 0x41
movss dword [rbx + 0x47c0], xmm0
call fcn.180002ac0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180011450
lea r11, [0x180041a00]
nop dword [rax]
cmp r9b, 0x23
jne 0x180011433
cmp byte [r8], r9b
jne 0x180011433
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 0x180011420
not ecx
call fcn.18000a5d0
test rax, rax
je 0x180011498
cmp byte [rax + 0x96], 0
je 0x180011498
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b0a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b0a]
call fcn.180002ac0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000cde0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003d040
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180015d90
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 + 0x5bb8], 0
lea rbx, [rcx + 0x5bc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180015e37
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180015dea
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.180018150
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180003210
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5bb8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5bc8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800d3478]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180015e3f
mov rcx, rbx
call fcn.180003210
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800163b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800d3480]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180016413
mov qword [rsp], rbx
lea rbx, [0x180041a00]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800163f3
cmp byte [r8], r9b
jne 0x1800163f3
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 0x1800163e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b68]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180016447
mov r10, qword [r10 + 0x5b70]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001644e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180016434
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret