Function at 0x4340a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov edi, ecx
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, esi
jb 0x43443b
mov edx, esi
and edx, 0x1f
jne 0x43443b
add ecx, 0xfffffff8
or esi, 0x14
mov eax, ecx
xor edx, edx
div esi
cmp esi, ecx
ja 0x43454a
mov edx, dword [ebp + 8]
mov dword [edi], edx
mov dword [edx], 0
lea ecx, [eax + eax*4]
lea ecx, [ecx*4 + 8]
mov dword [ebp - 0x24], ecx
mov ecx, edx
shr ecx, 0xe
xor esi, esi
inc esi
shl esi, cl
mov dword [ebp - 0x44], esi
mov ecx, edx
shr ecx, 0x13
mov dword [ebp - 0x40], ecx
shr edx, 0x15
mov dword [ebp - 0x3c], edx
lea ecx, [edi + 4]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ecx
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0x24
call fcn.00562bc5
add esp, 4
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
xorps xmm0, xmm0
movups xmmword [esi + 0xc], xmm0
push 0xc
call fcn.00562bc5
add esp, 4
test eax, eax
je 0x434551
mov dword [eax + 8], esi
mov ecx, dword [ebp - 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov dword [edi + 4], eax
inc dword [edi + 0xc]
sub esp, 0x10
xorps xmm0, xmm0
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [esi]
cmp ebx, eax
mov edi, esi
je 0x4341b1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi]
inc eax
cmp eax, 2
jae 0x434487
lea eax, [esi + 1]
cmp eax, 2
jb 0x4341a8
mov dword [edi], esi
call fcn.00501530
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [edi]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
lea esi, [ecx + eax]
add esi, 8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
push ecx
push ecx
push 0x100002
push esi
push dword [ebp - 0x10]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43454a
sub esp, 0x10
xorps xmm0, xmm0
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [edi + 4]
cmp ebx, eax
je 0x434237
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi + 4]
inc eax
cmp eax, 2
jae 0x434445
lea eax, [esi + 1]
cmp eax, 2
jb 0x43422d
mov dword [edi + 4], esi
call fcn.00501530
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x10], edi
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
lea eax, [edi + esi]
add eax, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
push ecx
push ecx
push 0x100002
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43454a
mov eax, dword [ebp - 0x24]
mov dword [edi + esi], eax
mov dword [edi + esi + 4], 1
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c810]
bt edx, ecx
jb 0x434560
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
test dword [ecx*4 + 0x64c810], eax
mov ebx, dword [ebp - 0x28]
jne 0x43456e
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0x654810], 1
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x14]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c810]
bt edx, ecx
jb 0x43457e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
add eax, 8
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c810]
bt edx, ecx
jb 0x43458c
shr eax, 0x15
mov byte [eax + 0x654810], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
add eax, 8
mov dword [edi + 0x14], eax
mov esi, dword [edi + 0x10]
add esi, dword [eax]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c810]
bt ecx, eax
jb 0x43459a
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654810], 1
mov eax, edi
add eax, 0xc
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c810]
bt edx, ecx
jb 0x4345a8
mov dword [edi + 0xc], esi
mov eax, dword [edi + 0x18]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c810]
bt edx, ecx
mov esi, dword [ebx + 0x1c]
jb 0x4345b6
mov edi, ebx
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c810]
bt ecx, eax
jb 0x4345c4
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654810], 1
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], esi
mov eax, dword [edi + 0x14]
mov dword [edx + 0x1c], eax
mov eax, dword [edi + 0x18]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [edi + 0x10]
push edx
push 0x442b70
push dword [edx]
push edi
call fcn.004345f0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
dec ebx
jne 0x43411d
mov esi, dword [edi]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
add esi, 4
mov ebx, dword [0x658804]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
push ecx
push ecx
push 0x100002
push esi
push dword [ebp - 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43454a
mov eax, dword [edi]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov al, 1
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.00501530
mov eax, dword [edi + 4]
cmp dword [0x655038], 0
mov dword [ebp - 0x10], eax
je 0x434507
mov eax, dword [0x655038]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
call dword [0x63e1cc]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [ebp - 0x1c]
mov dword [edi + 4], 0
jmp 0x43421d
mov dword [ebp - 0x10], ebx
call fcn.00501530
mov ebx, dword [edi]
cmp dword [0x655038], 0
je 0x4344c7
mov dword [ebp - 0x20], ebx
mov eax, dword [0x655038]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x63e1cc]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x20]
call ebx
mov dword [edi], 0
mov ebx, dword [ebp - 0x10]
jmp 0x434199
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4345d2
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x434501
call dword [0x63e1cc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x43449a
push 1
push 0
jmp 0x4344f7
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4345da
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x434544
call dword [0x63e1cc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x43445d
push 1
push 0
jmp 0x434537
xor eax, eax
jmp 0x43443b
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x622e92
call fcn.0058fdd0
push eax
call fcn.004ff8c0
add esp, 4
jmp 0x4342a5
push dword [ebp + 8]
call fcn.004ff440
add esp, 4
jmp 0x4342c5
push eax
call fcn.004ff570
add esp, 4
jmp 0x4342ee
push eax
call fcn.004ff440
add esp, 4
jmp 0x43431d
push esi
call fcn.004ff440
add esp, 4
jmp 0x434356
push eax
call fcn.004ff8c0
add esp, 4
jmp 0x434377
push eax
call fcn.004ff570
add esp, 4
jmp 0x43439a
push esi
call fcn.004ff440
add esp, 4
jmp 0x4343c2
xor eax, eax
push eax
jmp 0x4344f6
xor eax, eax
push eax
jmp 0x434536