Function at 0x423810
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4490fc
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x465d44]
xor eax, esp
mov dword [esp + 0x484], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x465d44]
xor eax, esp
push eax
lea eax, [esp + 0x49c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4ac]
mov esi, dword [esp + 0x4b0]
mov edi, dword [esp + 0x4b4]
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x296]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x29c], ax
call fcn.004310d0
add esp, 0xc
push edi
push esi
lea edx, [esp + 0x298]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [0x4681e4], ebx
jne 0x4238ac
call fcn.00423760
mov dword [0x4681e4], eax
cmp eax, ebx
je 0x423a8d
xor eax, eax
mov word [esp + 0x54], ax
mov eax, esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4238c4
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.0040376d
mov esi, 7
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x4a4], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423900
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.0040376d
xor edx, edx
mov eax, ebp
mov word [esp + 0x38], dx
mov byte [esp + 0x4a4], 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423936
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x3c]
call fcn.0040376d
mov eax, dword [esp + 0x64]
lea esi, [eax - 1]
mov byte [esp + 0x4a4], 2
cmp esi, eax
jbe 0x423968
call fcn.0043143f
mov eax, dword [esp + 0x54]
mov edi, 8
cmp dword [esp + 0x68], edi
jae 0x42397b
lea eax, [esp + 0x54]
cmp word [eax + esi*2], 0x5c
je 0x42398f
push 0x5c
push 1
lea ecx, [esp + 0x58]
call fcn.00423520
push 0x45599c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.00404607
push 0x206
lea eax, [esp + 0x9a]
xor edx, edx
push ebx
push eax
mov byte [esp + 0x4bc], 3
mov word [esp + 0xa0], dx
call fcn.004310d0
mov ecx, dword [esp + 0x88]
add esp, 0x18
cmp dword [esp + 0x84], edi
jae 0x4239df
lea ecx, [esp + 0x70]
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x4239ed
lea eax, [esp + 0x54]
push ecx
push eax
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x2c], ebx
jbe 0x423a95
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423a95
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x423a2f
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x423a3d
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x423a4b
lea eax, [esp + 0x38]
lea esi, [esp + 0x14]
push esi
push edx
push ecx
push ebx
push ebx
push eax
call fcn.00423340
mov ecx, eax
call fcn.00424410
test eax, eax
je 0x423b6c
lea ecx, [esp + 0x6c]
call fcn.00404ec7
lea ecx, [esp + 0x34]
call fcn.00404ec7
lea ecx, [esp + 0x18]
call fcn.00404ec7
lea ecx, [esp + 0x50]
call fcn.00404ec7
or eax, 0xffffffff
jmp 0x423c24
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x423aa3
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x423ab1
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x423abf
lea eax, [esp + 0x38]
lea esi, [esp + 0x14]
push esi
push edx
push ecx
push ebx
push ebx
push eax
call fcn.00423340
mov ecx, eax
call fcn.00424010
test eax, eax
je 0x423b6c
cmp dword [esp + 0x84], edi
jb 0x423af3
mov eax, dword [esp + 0x70]
push eax
call fcn.00430dfa
add esp, 4
xor ecx, ecx
mov esi, 7
mov word [esp + 0x70], cx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
cmp dword [esp + 0x4c], edi
jb 0x423b20
mov edx, dword [esp + 0x38]
push edx
call fcn.00430dfa
add esp, 4
xor eax, eax
mov word [esp + 0x38], ax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
cmp dword [esp + 0x30], edi
jb 0x423b42
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00430dfa
add esp, 4
xor edx, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
cmp dword [esp + 0x68], edi
jb 0x423b64
mov eax, dword [esp + 0x54]
push eax
call fcn.00430dfa
add esp, 4
or eax, 0xffffffff
jmp 0x423c24
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call fcn.00423340
mov ecx, eax
call fcn.00423ed0
mov edx, dword [esp + 0x14]
push edx
call fcn.00423340
mov ecx, eax
call fcn.00423e40
test eax, eax
jne 0x423add
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x84], edi
jb 0x423bb1
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00430dfa
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], dx
cmp dword [esp + 0x4c], edi
jb 0x423bde
mov eax, dword [esp + 0x38]
push eax
call fcn.00430dfa
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
cmp dword [esp + 0x30], edi
jb 0x423c00
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430dfa
add esp, 4
xor eax, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
cmp dword [esp + 0x68], edi
jb 0x423c22
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00430dfa
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x49c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x484]
xor ecx, esp
call fcn.004310bf
add esp, 0x494
ret