Function at 0x41b0f9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0047e220
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41b155
mov dword [ebp - 0x33c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004095f0
mov eax, dword [ebp - 0x33c]
jmp 0x41b417
lea ecx, [ebp + 8]
call fcn.0047e220
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [ebp - 0x14]
call fcn.00415650
mov byte [ebp - 4], 1
push 0x4c5a90
lea ecx, [ebp - 0x14]
call fcn.00415760
test eax, eax
je 0x41b1b2
mov dword [ebp - 0x340], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004095f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004095f0
mov eax, dword [ebp - 0x340]
jmp 0x41b417
lea ecx, [ebp - 0x10]
call fcn.00406e50
mov byte [ebp - 4], 2
push 0x17
push 0
push 0x4b7ce0
lea ecx, [ebp - 0x10]
call fcn.0041c3d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x41b3e0
lea ecx, [ebp - 0x1c]
call fcn.00406e50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00432d90
push eax
push 0x4b7cf0
lea ecx, [ebp - 0x10]
call fcn.0041c3c0
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x350]
push edx
call dword [ecx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x41b3d4
mov dword [ebp - 0x24], 0
push 0
lea ecx, [ebp + 8]
call fcn.0047e220
push eax
lea ecx, [ebp - 0x344]
call fcn.0041c220
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x358], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x358]
call fcn.0047e220
push eax
lea ecx, [ebp - 0x1c]
call fcn.0047e220
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x35c]
push eax
call dword [edx + 0x14]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x344]
call fcn.0041c200
cmp dword [ebp - 0x18], 0
jl 0x41b3d4
push 1
push 0
lea ecx, [ebp - 0x10]
call fcn.0041c3c0
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x360]
push eax
call dword [edx + 0x4c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x41b3d4
push 4
push 0
push 0x104
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041c3c0
mov dword [ebp - 0x364], eax
mov edx, dword [ebp - 0x364]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x364]
push ecx
call dword [eax + 0xc]
test eax, eax
jl 0x41b311
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00409440
push 0x104
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041c3c0
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x368]
push eax
call dword [edx + 0x28]
test eax, eax
jl 0x41b350
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00409440
push 0x104
lea edx, [ebp - 0x338]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041c3c0
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x36c]
push edx
call dword [ecx + 0x20]
test eax, eax
jl 0x41b38f
lea eax, [ebp - 0x338]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00409440
mov dword [ebp - 0x348], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0041c400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0041c400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004095f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004095f0
mov eax, dword [ebp - 0x348]
jmp 0x41b417
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0041c400
mov dword [ebp - 0x34c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0041c400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004095f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004095f0
mov eax, dword [ebp - 0x34c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret