joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c28f0
Capabilities:
Read http header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rax - 0x18], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rax - 0x18], 1
mov dword [rax + 0x18], esi
mov qword [rax - 0x20], rsi
lea rax, [rax + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x14]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edx, dword [rsp + 0x60]
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x1400c296e
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c2968
mov rax, qword [rbx]
mov word [rax + rdx*2], si
jmp 0x1400c297c
xor r8d, r8d
sub rdx, rax
mov rcx, rbx
call fcn.14008e9f0
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c2989
mov r9, qword [rbx]
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x14]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400c2abf
mov r9, qword [rbx + 0x18]
cmp r9, 8
jb 0x1400c29c7
mov rax, qword [rbx]
mov rcx, rax
jmp 0x1400c29cd
mov rax, rbx
mov rcx, rbx
lea rdx, [r8 + r8]
add rax, rdx
cmp word [rcx], 0
jne 0x1400c2a4f
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400c29f2
cmp word [rdx], 0
jne 0x1400c2a20
add rdx, 2
cmp rdx, rax
jne 0x1400c29e3
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp r9, 8
jb 0x1400c2a02
mov rax, qword [rbx]
mov word [rax], si
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, 2
cmp word [rax], 0
je 0x1400c2a20
sub rax, rdx
lea r8, [rax + 2]
sar r8, 1
mov rcx, rbx
call fcn.14008ece0
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, 2
cmp word [rax], 0
jne 0x1400c2abf
nop dword [rax]
mov rcx, rax
sub rax, 2
cmp word [rax], 0
je 0x1400c2a60
sub rdx, rcx
mov rax, r8
cmp r9, 8
mov r9, rcx
jb 0x1400c2a87
sub r9, qword [rbx]
add rdx, qword [rbx]
mov rcx, qword [rbx]
jmp 0x1400c2a90
sub r9, rbx
add rdx, rbx
mov rcx, rbx
sar r9, 1
sar rdx, 1
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rcx + r9*2]
sub r8, rdx
mov qword [rbx + 0x10], r8
sub r8, r9
lea r8, [r8*2 + 2]
lea rdx, [rcx + rdx*2]
call sub.VCRUNTIME140.dll_memmove
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c2ae0
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14015c800]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r12, rdx
mov r14, rcx
mov rdi, qword [r8]
mov rbx, qword [rdi + 0x58]
mov r8, qword [rbx + 8]
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x58]
call fcn.1400595e0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
xor r15d, r15d
mov qword [rdi + 0x60], r15
mov dword [rbp - 0x40], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov edx, dword [rbp - 0x40]
test rdx, rdx
jne 0x1400c2b81
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r15w
jmp 0x1400c2b8d
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14008e9f0
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov r15d, eax
cmp rbx, qword [rbp - 0x38]
je 0x1400c2cea
cmp dword [rdi], 0x22
je 0x1400c2cf7
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c2c3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2c3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c2c3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008cf28
mov rax, qword [rsi]
mov word [rax + 0x88], r15w
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1400c28f0
nop
mov rcx, qword [rsi]
add rcx, 0x90
cmp rcx, rax
je 0x1400c2c7d
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400c2c73
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.14008ece0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c2cc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2cbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c2cbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008cf28
mov rdx, qword [rsi]
add rdx, 0x58
mov rcx, r12
call fcn.1400a2ec0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c6460
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x1400c6240
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400c627a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c627f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c62c8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400dfa50]
cmp byte [rcx + rax], 0
je 0x1400c62c8
dec r8
sub rdx, 1
jne 0x1400c62ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140008080
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14017be00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14017bf90]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x1400080e8
cmp byte [rbx + 0x424e], 0
jne 0x1400080e8
movsx r9d, word [rbx + 0x5342]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000ccf0
test sil, 1
je 0x140008219
jmp 0x140008181
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14004dd28]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14004dd20]
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 [0x14017bf90]
mulss xmm0, dword [0x14004c4d0]
or dword [rax + 0x3fa0], 0x40
movss dword [rax + 0x4000], xmm0
movsx r9d, word [rbx + 0x5342]
call fcn.14000ccf0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400081d1
lea r11, [0x14004c750]
cmp r9b, 0x23
jne 0x1400081b4
cmp byte [r8], r9b
jne 0x1400081b4
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 0x1400081a1
not ecx
call fcn.14000ba80
test rax, rax
je 0x140008219
cmp byte [rax + 0x96], 0
je 0x140008219
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.14000ccf0
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400051a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140048190
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000b9d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14017bf90]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14000ba33
mov qword [rsp], rbx
lea rbx, [0x14004c750]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000ba13
cmp byte [r8], r9b
jne 0x14000ba13
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 0x14000ba00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53a0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14000ba67
mov r10, qword [r10 + 0x53a8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14000ba6e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14000ba54
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 0x14000bb00
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14000bb50
lea r11, [0x14004c750]
cmp r9b, 0x23
jne 0x14000bb33
cmp byte [r8], r9b
jne 0x14000bb33
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 0x14000bb20
not ecx
jmp fcn.14000ba80

Function at 0x14000c0f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x14004c750]
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 [0x14017bf90]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x14000c188
movsxd r8, edx
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.140009e30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000c210
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0xf0]
lea r10, [0x14004c750]
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 0x14000cf40
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 0x14000cf9d
lea rbx, [0x14004c750]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000cf84
cmp r10, 2
jb 0x14000cf84
cmp byte [r9], r8b
jne 0x14000cf84
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 0x14000cf60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000cfdf
lea rbx, [0x14004c750]
cmp r8b, 0x23
jne 0x14000cfc3
cmp byte [r9], r8b
jne 0x14000cfc3
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 0x14000cfb0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000e540
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 0x14000e5e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14000e59a
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.14001be10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001b920
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, [0x14017bf98]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14000e5ef
mov rcx, rbx
call fcn.14001b920
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140011870
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x30
mov rdx, qword [0x14017bf90]
movss xmm0, dword [0x14004dce0]
mov rsi, rdx
comiss xmm0, dword [rdx + 0x4228]
ja 0x140011b11
cmp qword [rdx + 0x4220], 0
mov qword [rsp + 0x50], rdi
jne 0x140011905
mov r10d, 0xffffffff
lea r8, [0x14004db01]
mov ecx, r10d
lea r11, [0x14004c750]
mov r9b, 0x23
nop
cmp r9b, 0x23
jne 0x1400118d3
cmp byte [r8], r9b
jne 0x1400118d3
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 0x1400118c0
not ecx
call fcn.14000ba80
mov qword [rsi + 0x4220], rax
mov rdx, qword [0x14017bf90]
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 [0x14004dce4]
mov qword [rdx + 0x3ff0], rax
mulss xmm2, dword [0x14004dce4]
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 [0x14017bf90]
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x14004c4cc]
mulss xmm2, dword [0x14004c4cc]
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.140013800
xor edx, edx
lea rcx, str.NavWindowingList
mov r8d, 0xc1347
call fcn.1400051a0
mov eax, dword [rsi + 0x3e50]
sub eax, 1
movsxd rdi, eax
js 0x140011afd
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 0x140011aee
cmp rbx, qword [rbx + 0x360]
jne 0x140011aee
test dword [rbx + 0xc], 0x80000
jne 0x140011aee
mov r10, qword [rbx]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x140011a92
nop
movzx edx, byte [rcx]
test dl, dl
je 0x140011a8d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140011a84
cmp byte [rax], dl
je 0x140011a8d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140011a70
cmp r10, rcx
jne 0x140011acb
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140011aa4
lea r10, str._Popup_
jmp 0x140011acb
bt eax, 0xa
jae 0x140011ac4
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 0x140011acb
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.1400378e0
sub rdi, 1
jns 0x140011a30
mov rbx, qword [rsp + 0x48]
call fcn.14000a340
mov ecx, 1
call fcn.140013160
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x140016ab0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14017bf90]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x538c], ecx
test rbx, rbx
je 0x140016b1f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140016b30
lea rdx, [0x14004db28]
mov rcx, rbx
mov rdi, rax
call fcn.14000cba0
mov rbx, rax
test rax, rax
je 0x140016b1a
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 0x14001a440
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x14017bf90]
cmp byte [rbx + 0x5389], 0
jne 0x14001a59c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a595
lea rdx, [0x14004db24]
mov qword [rsp + 0x40], rdi
call fcn.14000cba0
mov rdi, rax
test rax, rax
je 0x14001a590
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 0x14001a57d
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 0x14001a57d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001a57d
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 0x14001a57d
cmp rsi, 0xffffffffffffffff
je 0x14001a57d
mov rax, qword [0x14017bf90]
test rax, rax
je 0x14001a507
inc dword [rax + 0xf4]
mov rdx, qword [0x14017bfa0]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14001a57d
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 0x14001a543
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001a559
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001a559
mov rdx, rsi
mov rcx, rbp
call fcn.14000e070
mov rax, qword [0x14017bf90]
test rax, rax
je 0x14001a56b
dec dword [rax + 0xf4]
mov rdx, qword [0x14017bfa0]
mov rcx, rbp
call qword [0x14005b008]
jmp 0x14001a586
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 0x14001a5df
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x538c], xmm0
jb 0x14001a5df
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a5ce
call fcn.140016ab0
jmp 0x14001a5d5
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x538c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002eaa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14017bf90]
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 0x1400239c0

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

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14017bf90]
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 0x1400239c0
Function at 0x140048a94
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rbp, [rcx + 8]
xor ebx, ebx
mov rsi, rdx
test rbp, rbp
je 0x14000537a
lea rdi, [rdx + 8]
test rdi, rdi
je 0x14000537a
cmp byte [rcx + 0x4c], bl
je 0x14000537a
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14000537a
cmp byte [rsi + 0x4c], bl
je 0x14000537a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14000537a
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x14000537c
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret