joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035bb8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140035bea
call fcn.14002aac8
mov dword [rax], 0x16
call fcn.14002a954
jmp 0x140035d09
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140035d09
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140035d09
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140035c19
lock or dword [rcx + 0x14], 0x10
jmp 0x140035d09
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140035c2d
call fcn.140036d7c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14003248c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140037db4
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140035cf7
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140035cc2
mov rcx, rsi
call fcn.14003248c
cmp eax, edi
je 0x140035cad
mov rcx, rsi
call fcn.14003248c
cmp eax, 0xfffffffe
je 0x140035cad
mov rcx, rsi
call fcn.14003248c
movsxd rbx, eax
lea r14, [0x1400a8280]
mov rcx, rsi
sar rbx, 6
call fcn.14003248c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140035cb4
lea rdx, [0x14005a440]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140035cc2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140035ce6
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140035ce6
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140035ce6
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140035d0c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140035d24
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140035a46
call fcn.14002aac8
mov dword [rax], 0x16
call fcn.14002a954
jmp 0x140035b96
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140035b96
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140035b96
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140035a75
lock or dword [rcx + 0x14], 0x10
jmp 0x140035b96
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140035a89
call fcn.140036d7c
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x140035a99
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x140035a9c
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.14003248c
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.140037db4
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140035b84
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140035b2f
mov rcx, rbx
call fcn.14003248c
cmp eax, 0xffffffff
je 0x140035b1a
mov rcx, rbx
call fcn.14003248c
cmp eax, 0xfffffffe
je 0x140035b1a
mov rcx, rbx
call fcn.14003248c
movsxd rdi, eax
lea rsi, [0x1400a8280]
mov rcx, rbx
sar rdi, 6
call fcn.14003248c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140035b21
lea rdx, [0x14005a440]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140035b2f
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140035b53
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140035b53
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140035b53
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x140035b71
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x140035b7c
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x140035b9b
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140035a10
Function at 0x140036afc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400203a0
sub rsp, rax
mov rax, qword [0x14005a078]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14003248c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140036b4b
mov rax, rbp
jmp 0x140036c53
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xa8280]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14003858c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xa8280]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140036c4f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140036c4f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14003858c
test rax, rax
js 0x140036c4f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140036c4f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140036c41
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140036c41
cmp byte [rcx], 0xd
jne 0x140036c27
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140036c36
cmp byte [rcx + 1], 0xa
jne 0x140036c36
inc rcx
jmp 0x140036c36
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5a490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140036c09
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140036c53
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001fab0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140037908
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400a8280]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x140037966
cmp word [rdx], r12w
jne 0x140037966
or byte [rax + r8*8 + 0x38], cl
jmp 0x14003796c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140037ac7
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140037aa2
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400379a5
mov rcx, r9
jmp 0x1400379c8
cmp r9, rdx
jae 0x1400379df
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140037989
jmp 0x140037ac7
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140037a9c
cmp dword [rsp + 0x80], edi
je 0x140037a9c
mov rdx, r14
lea r11, [0x1400a8280]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140037a75
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140037a48
mov word [rbx], r12w
jmp 0x140037ac3
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140037a51
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140037ac3
cmp word [rsp + 0x70], r12w
jne 0x140037a82
cmp rbx, rsi
je 0x140037a42
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140038594
cmp word [rsp + 0x70], r12w
je 0x140037ac7
mov word [rbx], r13w
jmp 0x140037ac3
lea r11, [0x1400a8280]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140037abf
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140037ac7
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003b8f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14003b977
mov rsi, rbx
cmp word [rax], bp
je 0x14003b936
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003b920
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003b91c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400344fc
mov rdi, rax
test rax, rax
je 0x14003b964
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140021f50
mov rbp, rdi
xor ecx, ecx
call fcn.14003407c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140042a14
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.140038594
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140038594
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140042b64
cmp rax, 0xffffffffffffffff
je 0x140042b64
xor edi, edi
test rbp, rbp
jle 0x140042b0f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400331f8
mov rbx, rax
test rax, rax
jne 0x140042a9c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140042b05
mov edx, 0x8000
mov ecx, r14d
call fcn.14002fb98
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.140033d6c
cmp eax, 0xffffffff
je 0x140042ae5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140042aac
mov edx, r15d
mov ecx, r14d
call fcn.14002fb98
jmp 0x140042b05
cmp byte [rsi + 0x38], dil
je 0x140042afc
cmp dword [rsi + 0x34], 5
jne 0x140042afc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140042b05
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14003407c
jmp 0x140042b78
jns 0x140042b78
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140038594
cmp rax, 0xffffffffffffffff
jne 0x140042b30
cmp byte [rsi + 0x30], dil
je 0x140042b78
mov edi, dword [rsi + 0x2c]
jmp 0x140042b78
mov ecx, r14d
call fcn.14003be74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140042b78
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 0x140042b78
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140042b71
mov eax, dword [rsi + 0x2c]
jmp 0x140042b76
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140038594
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 0x140043040
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140043068
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140043068
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003030
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004200
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004200
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400030a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x1400031d0
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400030eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003175
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400030d0
mov rcx, rbx
call fcn.140003af0
mov rdi, rax
test rax, rax
je 0x1400031f2
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003c30
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400031d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000316e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003180
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000316e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140003030
nop dword [rax]
xor esi, esi
jmp 0x1400030f8
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140003030
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140003030
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003760
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x1400037bc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400037b3
test rsi, rsi
je 0x1400037b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003798
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003af0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400069b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003b10
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003b18
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003b10
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003b6d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003b64
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003b10
add rax, 0x28
cmp rax, r9
jne 0x140003b50
xor eax, eax
ret

Function at 0x140003b70
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400069b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140003b8f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003b98
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003b8f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003c30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400069b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003c4f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003c58
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002fe0
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 0x14000303d
lea rbx, [0x14005a3e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003024
cmp r10, 2
jb 0x140003024
cmp byte [r9], r8b
jne 0x140003024
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 0x140003000
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000307f
lea rbx, [0x14005a3e0]
cmp r8b, 0x23
jne 0x140003063
cmp byte [r9], r8b
jne 0x140003063
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 0x140003050
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400031c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400031da
mov qword [r8], 0
lea rdx, [0x140059e2c]
call fcn.140003090
mov rbx, rax
test rax, rax
jne 0x1400031fa
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 0x1400032e5
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 0x1400032e5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400032e5
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 0x1400032e5
cmp rdi, 0xffffffffffffffff
je 0x1400032e5
mov rax, qword [0x14009d5f0]
test rax, rax
je 0x140003276
inc dword [rax + 0x3b0]
mov rdx, qword [0x14009d5e0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x1400032e5
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 0x1400032d2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14009d5f0]
test rax, rax
je 0x1400032c1
dec dword [rax + 0x3b0]
mov rdx, qword [0x14009d5e0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x1400032ee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400032e0
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400032f0
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 0x140011220
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14009d5f0]
mov r8d, ecx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
movzx eax, r8b
lea r8, [0x14005a3e0]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x1400112e0
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1400112c6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400112cb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140022c90
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400122e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14006c010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14009d5f0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140012340
cmp byte [rbx + 0x20d6], 0
jne 0x140012340
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002ed0
test dil, 1
je 0x140012474
jmp 0x1400123cf
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140060970]
mulss xmm1, dword [0x140060960]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x1400608d4]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.140002ed0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140012420
lea r11, [0x14005a3e0]
nop
cmp r9b, 0x23
jne 0x140012403
cmp byte [r8], r9b
jne 0x140012403
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1400123f0
mov rcx, qword [0x14009d5f0]
not edx
add rcx, 0x1cf8
call fcn.140003640
test rax, rax
je 0x140012474
cmp byte [rax + 0xcf], 0
je 0x140012474
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.140002ed0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d910
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400559f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400170b0
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 + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140017157
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001710a
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.1400229e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003a20
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14009d5e8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001715f
mov rcx, rbx
call fcn.140003a20
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400175b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140017602
lea r11, [0x14005a3e0]
cmp r9b, 0x23
jne 0x1400175e5
cmp byte [r8], r9b
jne 0x1400175e5
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 0x1400175d2
mov r11, qword [0x14009d5f0]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140017649
lea r9, [r10 + 4]
test r9, r9
je 0x140017649
not eax
cmp dword [r9], eax
je 0x140017652
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x3220]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140017620
mov rcx, rbx
pop rbx
jmp fcn.1400174c0
mov rax, r9
pop rbx
ret