Function at 0x426320
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x440748
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov ecx, dword [edi + 0x458]
test ecx, ecx
je 0x426375
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi + 0x458], 0
mov eax, dword [edi + 0x34]
cmp eax, 4
ja case.default.0x426381
jmp dword [eax*4 + 0x4265fc]
cmp dword [edi + 0x38], 0
je case.default.0x426381
push 0x234
call fcn.0042bede
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x430], 0
test esi, esi
je 0x4263d9
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
push eax
push ecx
mov eax, edi
call fcn.004272e0
mov dword [esp + 0x430], 0xffffffff
lea ecx, [edi + 0x250]
jmp 0x4265c8
xor eax, eax
mov dword [esp + 0x430], 0xffffffff
lea ecx, [edi + 0x250]
jmp 0x4265c8
lea esi, [edi + 0x40]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je case.default.0x426381
push 0x234
call fcn.0042bede
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x430], 1
test eax, eax
je 0x4263d9
push 1
push edi
mov edx, esi
mov ecx, eax
call fcn.004273b0
mov dword [esp + 0x430], 0xffffffff
lea ecx, [edi + 0x250]
jmp 0x4265c8
lea esi, [edi + 0x40]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je case.default.0x426381
push 0x234
call fcn.0042bede
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x430], 2
test eax, eax
je 0x4263d9
push 0
push edi
mov edx, esi
mov ecx, eax
call fcn.004273b0
mov dword [esp + 0x430], 0xffffffff
lea ecx, [edi + 0x250]
jmp 0x4265c8
cmp dword [edi + 0x248], 0
je case.default.0x426381
push 0x234
call fcn.0042bede
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x430], 3
test esi, esi
je 0x4263d9
mov edx, dword [edi + 0x24c]
mov eax, dword [edi + 0x248]
push edx
push eax
mov eax, edi
call fcn.00427660
mov dword [esp + 0x430], 0xffffffff
lea ecx, [edi + 0x250]
jmp 0x4265c8
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x226]
push edx
mov word [esp + 0x228], cx
call fcn.0042d060
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.0042d060
add esp, 0xc
lea esi, [edi + 0x250]
push 0x5c
push esi
call fcn.0042c19e
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x426585
mov edx, ebx
sub edx, edi
sub edx, 0x250
sar edx, 1
inc edx
push edx
lea eax, [esp + 0x220]
push esi
push eax
call fcn.0042c1ca
lea eax, [ebx + 2]
lea edx, [esp + 0x20]
add esp, 0xc
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x426574
jmp 0x42659f
lea edx, [esp + 0x14]
mov eax, esi
sub edx, esi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x426590
push 0x234
call fcn.0042bede
mov esi, eax
add esp, 4
test esi, esi
je 0x4265c2
mov eax, edi
lea ebx, [esp + 0x21c]
call fcn.00427710
jmp 0x4265c4
xor eax, eax
lea ecx, [esp + 0x14]
push eax
mov dword [edi + 0x458], eax
call fcn.004277c0
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0042bb57
add esp, 0x428
ret