Function at 0x1800330d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2000]
mov eax, 0x2100
call fcn.1800623b0
sub rsp, rax
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2148], rbx
mov rax, qword [0x1800a8088]
xor rax, rsp
mov qword [rbp + 0x1ff0], rax
mov r12, r9
mov qword [rbp - 0x80], r8
mov r8d, edx
mov dword [rsp + 0x54], edx
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov r13, qword [rbp + 0x2060]
mov r9, qword [rbp + 0x2068]
mov qword [rbp - 0x60], r9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor r15d, r15d
mov qword [rbp - 0x68], r15
add edx, 0x13
mov dword [rsp + 0x40], edx
cmp r8d, edx
jae case.0x1800331a1.14
lea edx, [r8 - 0x7e]
mov dword [rsp + 0x58], edx
lea r14, [0x1800a8b80]
lea rsi, [0x1800a8b90]
mov edi, dword [rsp + 0x50]
mov eax, dword [rsp + 0x40]
mov r10d, 0x2000
lea r11, [0x180000000]
cmp edx, 0x3c
ja case.default.0x1800331a1
movzx eax, byte [r11 + rdx + 0x338d4]
mov ecx, dword [r11 + rax*4 + 0x33888]
add rcx, r11
jmp rcx
mov byte [rsp + 0x60], 1
jmp case.0x1800331a1.18
mov rax, qword [rbp - 0x78]
cmp rax, qword [rbp - 0x70]
je case.0x1800331a1.18
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x1800331ca
inc dword [r12]
add rax, 0x20
cmp rax, qword [rbp - 0x70]
jne 0x1800331c0
jmp case.0x1800331a1.18
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x38], 1
lea rax, [0x1800a8bd0]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0x85
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.180026480
mov esi, eax
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 1
lea rax, [0x1800a8bc0]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0x85
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov edi, eax
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x20], 0x85
lea r9, [0x180096248]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov ebx, eax
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x20], 0x85
lea r9, [0x180096248]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
lea ecx, [rax + rbx]
add ecx, edi
add ecx, esi
add dword [rsp + 0x50], ecx
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x50]
lea rsi, [0x1800a8b90]
jmp 0x180033757
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je case.0x1800331a1.18
mov rdx, rcx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov qword [rsp + 0x70], r15
jmp 0x180033757
mov eax, dword [r13]
test eax, eax
jle 0x180033355
nop word [rax + rax]
cmp eax, r10d
cmovg eax, r10d
movsxd r8, eax
mov r9, r12
mov edx, 1
lea rcx, [rbp - 0x10]
call fcn.18006cb98
test rax, rax
je 0x180033784
mov dword [rbx], 1
sub dword [r13], eax
mov eax, dword [r13]
test eax, eax
mov r10d, 0x2000
jg 0x180033310
mov edx, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
mov dword [rsp + 0x60], r15d
jmp case.0x1800331a1.18
mov rcx, r15
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov qword [rsp + 0x78], rax
jmp 0x180033757
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x70], rax
jmp 0x180033757
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x20], 0x85
lea r9, [0x180096248]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov ebx, eax
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x20], 0x85
lea r9, [0x180096248]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
lea ecx, [rax + rbx]
add dword [rsp + 0x50], ecx
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x50]
jmp 0x180033757
mov dword [rbx], 1
xor r8d, r8d
mov edx, dword [r9]
mov rcx, r12
call fcn.180067298
test eax, eax
je 0x180033757
call fcn.18006be3c
mov ecx, dword [rax]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], 4
jmp 0x180033797
mov ecx, 2
call fcn.180066670
mov rcx, rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x180096248]
lea rdx, str.DEBUG__s:_d:__t_failures:__d_n
call fcn.1800010d0
jmp 0x180033757
mov ecx, 2
call fcn.180066670
mov rcx, rax
xor r9d, r9d
lea r8, [0x180096248]
lea rdx, str.DEBUG__s:_d:_TEST:_bstring_bmidstr__const_bstring_b__int_left__int_len___n
call fcn.1800010d0
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x20], 0x85
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov edi, eax
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x20], 0x85
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov rbx, qword [rsp + 0x68]
jmp 0x180033751
mov dword [rsp + 0x38], 0xfffffffe
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x20], 0x85
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov edi, eax
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 0xfffffffb
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x20], 0x85
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov ebx, eax
mov dword [rsp + 0x38], 0xfffffffe
mov dword [rsp + 0x30], 0xfffffffb
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x20], 0x85
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
lea ecx, [rax + rbx]
add ecx, edi
add dword [rsp + 0x50], ecx
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x50]
jmp 0x180033757
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x20], 0x85
lea r9, [0x180098c30]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov r14d, eax
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x20], 0x85
lea r9, [0x18009b6fc]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov esi, eax
mov dword [rsp + 0x38], 9
mov dword [rsp + 0x30], 0xffffffff
lea rbx, [0x1800a8b90]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x20], 0x85
lea r9, str.bogus
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov edi, eax
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x20], 0x85
lea r9, [0x180096248]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
mov ebx, eax
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 9
lea rax, [0x1800a8b90]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0x85
lea r9, [0x180096248]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
lea ecx, [rax + rbx]
add ecx, edi
add ecx, esi
add ecx, r14d
add dword [rsp + 0x50], ecx
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x50]
lea rsi, [0x1800a8b90]
lea r14, [0x1800a8b80]
jmp 0x180033757
lea rdx, [rbp - 0x78]
mov ecx, 0x51
call fcn.18000fd00
test al, al
je 0x1800337ba
mov dword [r12], r15d
jmp 0x180033757
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x20], 0x85
lea r9, [0x180096248]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.180026480
add edi, eax
mov dword [rsp + 0x50], edi
mov edx, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
mov eax, dword [rsp + 0x40]
inc r8d
mov dword [rsp + 0x54], r8d
inc edx
mov dword [rsp + 0x58], edx
cmp r8d, eax
jae case.0x1800331a1.14
mov r9, qword [rbp - 0x60]
jmp 0x180033177
call fcn.18006be3c
mov edx, dword [rax]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], 5
mov r9d, 0x112
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rbp - 0x80]
call fcn.18002d330
mov dword [rsp + 0x60], 0xffffffff
jmp case.0x1800331a1.14
mov dword [r12], 1
mov byte [rsp + 0x60], 0
jmp case.0x1800331a1.14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea r8d, [rax + 1]
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_PolyTextOutW]
mov dword [rsp + 0x30], 2
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.18004b3b0
mov rbx, rax
jmp 0x180033819
mov dword [rsp + 0x60], edi
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180033853
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003384e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033880
call fcn.1800618f4
mov rax, rbx
mov rcx, qword [rbp + 0x1ff0]
xor rcx, rsp
call fcn.1800618d0
mov rbx, qword [rsp + 0x2148]
add rsp, 0x2100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18006cf68
int3