joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140127ef8
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.1401209d8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401209d8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140128048
cmp rax, 0xffffffffffffffff
je 0x140128048
xor edi, edi
test rbp, rbp
jle 0x140127ff3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140121b34
mov rbx, rax
test rax, rax
jne 0x140127f80
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140127fe9
mov edx, 0x8000
mov ecx, r14d
call fcn.14011b010
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.14012143c
cmp eax, 0xffffffff
je 0x140127fc9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140127f90
mov edx, r15d
mov ecx, r14d
call fcn.14011b010
jmp 0x140127fe9
cmp byte [rsi + 0x38], dil
je 0x140127fe0
cmp dword [rsi + 0x34], 5
jne 0x140127fe0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x140127fe9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14011bacc
jmp 0x14012805c
jns 0x14012805c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401209d8
cmp rax, 0xffffffffffffffff
jne 0x140128014
cmp byte [rsi + 0x30], dil
je 0x14012805c
mov edi, dword [rsi + 0x2c]
jmp 0x14012805c
mov ecx, r14d
call fcn.140123eb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14012805c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14012805c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140128055
mov eax, dword [rsi + 0x2c]
jmp 0x14012805a
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401209d8
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 0x1400011c0
Capabilities:
Execute command

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, qword [rcx + 0x10]
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rbp
cmp rax, 6
jb 0x14000135f
cmp qword [rsi + 0x18], 0xf
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x50], r14
jbe 0x140001213
mov rsi, qword [rsi]
lea r14, [rbp + 6]
mov ebx, 0xf
lea rdi, [rsp + 0x28]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x38], xmm1
cmp r14, rbx
jbe 0x1400012b1
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001273
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.140001940
test rax, rax
je 0x14000132d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400012ac
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000129b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001365
jmp 0x140001254
test rcx, rcx
je 0x1400012aa
call fcn.140001940
mov rdi, rax
jmp 0x1400012ac
xor edi, edi
mov qword [rsp + 0x28], rdi
mov eax, dword [str.start]
lea rcx, [rdi + 6]
mov qword [rsp + 0x38], r14
mov r8, rbp
mov qword [rsp + 0x40], rbx
mov rdx, rsi
mov dword [rdi], eax
movzx eax, word [0x1400033b4]
mov word [rdi + 4], ax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140001339
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001334
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001334
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000197c
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001920
add rsp, 0x58
pop rsi
pop rbp
ret
call fcn.1400011a0
int3
call fcn.140001100
int3

Function at 0x1400022a0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140307b40]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140307cd0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x1400086f8
cmp byte [rbx + 0x424e], 0
jne 0x1400086f8
movsx r9d, word [rbx + 0x5342]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000d370
test sil, 1
je 0x140008829
jmp 0x140008791
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14004bd3c]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14004bd34]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
or dword [rbx + 0x3fa0], 1
mov qword [rbx + 0x3fb8], rax
movss dword [rbx + 0x3fb0], xmm0
mov dword [rbx + 0x3fa4], 1
movss dword [rbx + 0x3fb4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mov rax, qword [0x140307cd0]
mulss xmm0, dword [0x14004a530]
or dword [rax + 0x3fa0], 0x40
movss dword [rax + 0x4000], xmm0
movsx r9d, word [rbx + 0x5342]
call fcn.14000d370
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400087e1
lea r11, [0x14004a650]
cmp r9b, 0x23
jne 0x1400087c4
cmp byte [r8], r9b
jne 0x1400087c4
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 0x1400087b1
not ecx
call fcn.14000c200
test rax, rax
je 0x140008829
cmp byte [rax + 0x96], 0
je 0x140008829
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5342]
mov edx, 0x10
movsx r9d, word [rbx + 0x5342]
call fcn.14000d370
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400057b0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140045b60
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000c150
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140307cd0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14000c1b3
mov qword [rsp], rbx
lea rbx, [0x14004a650]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000c193
cmp byte [r8], r9b
jne 0x14000c193
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 0x14000c180
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53a0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14000c1e7
mov r10, qword [r10 + 0x53a8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14000c1ee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14000c1d4
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 0x14000c870
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x14004a650]
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 [0x140307cd0]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x14000c908
movsxd r8, edx
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.14000a610
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000c990
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0xf0]
lea r10, [0x14004a650]
mov rax, qword [rcx + 0xd8]
movss xmm1, dword [rcx + 0xf4]
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 + 0xd0]
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 0x14000d5c0
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 0x14000d61d
lea rbx, [0x14004a650]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000d604
cmp r10, 2
jb 0x14000d604
cmp byte [r9], r8b
jne 0x14000d604
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 0x14000d5e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000d65f
lea rbx, [0x14004a650]
cmp r8b, 0x23
jne 0x14000d643
cmp byte [r9], r8b
jne 0x14000d643
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 0x14000d630
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000ebc0
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 + 0x53f0], 0
lea rbx, [rcx + 0x53f8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000ec67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14000ec1a
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.14001bb50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001b660
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53f0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5400]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140307cd8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14000ec6f
mov rcx, rbx
call fcn.14001b660
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140011ef0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x30
mov rdx, qword [0x140307cd0]
movss xmm0, dword [0x14004bcf0]
mov rsi, rdx
comiss xmm0, dword [rdx + 0x4228]
ja 0x140012191
cmp qword [rdx + 0x4220], 0
mov qword [rsp + 0x50], rdi
jne 0x140011f85
mov r10d, 0xffffffff
lea r8, [0x14004bb11]
mov ecx, r10d
lea r11, [0x14004a650]
mov r9b, 0x23
nop
cmp r9b, 0x23
jne 0x140011f53
cmp byte [r8], r9b
jne 0x140011f53
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 0x140011f40
not ecx
call fcn.14000c200
mov qword [rsi + 0x4220], rax
mov rdx, qword [0x140307cd0]
mov rax, qword [rdx + 0x40a0]
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
xor eax, eax
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
or dword [rdx + 0x3fa0], 0x10
mulss xmm1, dword [0x14004bcf8]
mov qword [rdx + 0x3ff0], rax
mulss xmm2, dword [0x14004bcf8]
mov qword [rdx + 0x3ff8], rax
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdx + 0x3fdc], xmm0
lea rdx, [rsp + 0x40]
mov rax, qword [0x140307cd0]
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x14004a52c]
mulss xmm2, dword [0x14004a52c]
addss xmm1, dword [rcx + 8]
addss xmm2, dword [rcx + 4]
or dword [rax + 0x3fa0], 1
mov ecx, 2
mov dword [rax + 0x3fb8], 0x3f000000
movss dword [rax + 0x3fb4], xmm1
mov dword [rax + 0x3fbc], 0x3f000000
movss dword [rax + 0x3fb0], xmm2
mov dword [rax + 0x3fa4], 1
movss xmm0, dword [rsi + 0x37e8]
movss xmm1, dword [rsi + 0x37ec]
addss xmm0, xmm0
addss xmm1, xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.1400138a0
xor edx, edx
lea rcx, str.NavWindowingList
mov r8d, 0xc1347
call fcn.1400057b0
mov eax, dword [rsi + 0x3e50]
sub eax, 1
movsxd rdi, eax
js 0x14001217d
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rax, qword [rsi + 0x3e58]
mov rbx, qword [rax + rdi*8]
cmp byte [rbx + 0x97], 0
je 0x14001216e
cmp rbx, qword [rbx + 0x360]
jne 0x14001216e
test dword [rbx + 0xc], 0x80000
jne 0x14001216e
mov r10, qword [rbx]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x140012112
nop
movzx edx, byte [rcx]
test dl, dl
je 0x14001210d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140012104
cmp byte [rax], dl
je 0x14001210d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400120f0
cmp r10, rcx
jne 0x14001214b
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140012124
lea r10, str._Popup_
jmp 0x14001214b
bt eax, 0xa
jae 0x140012144
lea rdx, str.MainMenuBar
mov rcx, r10
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r10, str._Main_menu_bar_
test eax, eax
je 0x14001214b
lea r10, str._Untitled_
cmp qword [rsi + 0x4210], rbx
lea r9, [rsp + 0x40]
mov rcx, r10
mov qword [rsp + 0x40], 0
sete dl
xor r8d, r8d
call fcn.1400362a0
sub rdi, 1
jns 0x1400120b0
mov rbx, qword [rsp + 0x48]
call fcn.14000ab20
mov ecx, 1
call fcn.140013490
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x140016a00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140307cd0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x538c], ecx
test rbx, rbx
je 0x140016a6f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140016a80
lea rdx, [0x14004bb38]
mov rcx, rbx
mov rdi, rax
call fcn.14000d220
mov rbx, rax
test rax, rax
je 0x140016a6a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14001a180
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x140307cd0]
cmp byte [rbx + 0x5389], 0
jne 0x14001a2dc
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a2d5
lea rdx, [0x14004bb34]
mov qword [rsp + 0x40], rdi
call fcn.14000d220
mov rdi, rax
test rax, rax
je 0x14001a2d0
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001a2bd
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001a2bd
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001a2bd
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001a2bd
cmp rsi, 0xffffffffffffffff
je 0x14001a2bd
mov rax, qword [0x140307cd0]
test rax, rax
je 0x14001a247
inc dword [rax + 0xf4]
mov rdx, qword [0x140307ce0]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14001a2bd
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14001a283
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001a299
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001a299
mov rdx, rsi
mov rcx, rbp
call fcn.14000e6f0
mov rax, qword [0x140307cd0]
test rax, rax
je 0x14001a2ab
dec dword [rax + 0xf4]
mov rdx, qword [0x140307ce0]
mov rcx, rbp
call qword [0x140059008]
jmp 0x14001a2c6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5389], 1
movss xmm0, dword [rbx + 0x538c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001a31f
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x538c], xmm0
jb 0x14001a31f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a30e
call fcn.140016a00
jmp 0x14001a315
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x538c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002e3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140307cd0]
mov rcx, qword [rax + 0x4308]
mov r10, qword [rax + 0x3ea0]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x280]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x220], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x280]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp 0x140023310

Function at 0x14002e4c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140307cd0]
mov rcx, qword [rax + 0x4308]
mov r9, qword [rax + 0x3ea0]
movups xmm0, xmmword [r9 + 0x220]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x280]
add rsp, 0x38
jmp 0x140023310
Function at 0x14003de10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140307b40]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rdi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x14003de44
movsxd rax, ecx
lea rdx, str.VK_RBUTTON
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x140051240]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], 0
test rdx, rdx
jne 0x14003de73
mov r8d, 0xa
lea rdx, str.VK_RBUTTON
jmp 0x14003de8a
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14003de80
lea rcx, [rsp + 0x38]
call fcn.140037d80
cmp ebx, 1
jne 0x14003deb0
mov r8d, 0xa
lea rdx, str.VK_RBUTTON
lea rcx, [rsp + 0x38]
call fcn.140037d80
mov dword [rsp + 0x30], 0x43480000
mov dword [rsp + 0x34], 0x41f00000
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.140034be0
test al, al
je 0x14003df01
test ebx, ebx
jne 0x14003df01
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14003df41
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003df3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003df3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400456e4
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140045b60
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140046464
Capabilities:
Parse pe header

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