Function at 0x415680
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x447e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], 1
call fcn.0040fc70
lea ecx, [esp + 0x20]
mov ebp, eax
call fcn.004391f6
push 0x22
lea ecx, [esp + 0x28]
call fcn.004391a9
test eax, eax
jne 0x4156d9
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.00436f73
push 0x22
lea ecx, [esp + 0x28]
call fcn.004391a9
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx - 8]
lea edx, [ecx - 1]
cmp eax, edx
jne 0x4156f4
dec ecx
push 1
push ecx
lea ecx, [esp + 0x2c]
call fcn.00436f73
mov eax, dword [0x462c0c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x415717
lea edx, [esp + 0x24]
mov ecx, edi
push edx
call fcn.00438e1b
mov eax, dword [0x462c08]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x41573b
lea edx, [esp + 0x24]
lea ecx, [edi + 4]
push edx
call fcn.00438e1b
mov eax, dword [0x462c04]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x41575f
lea edx, [esp + 0x24]
lea ecx, [edi + 0x18]
push edx
call fcn.00438e1b
mov eax, dword [0x462c00]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x415786
mov edx, dword [esp + 0x24]
push edx
call fcn.0042bc60
add esp, 4
mov dword [edi + 0x38], eax
mov eax, dword [0x462bfc]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x4157aa
lea edx, [esp + 0x24]
lea ecx, [edi + 0x1c]
push edx
call fcn.00438e1b
mov eax, dword [0x462bf8]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x415811
lea esi, [edi + 0x20]
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00438e1b
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x415811
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push esi
call fcn.00438aa3
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00410150
push eax
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.00438e1b
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call fcn.00438d2e
mov ecx, dword [0x462bf4]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x415836
lea eax, [esp + 0x24]
lea ecx, [edi + 0x24]
push eax
call fcn.00438e1b
mov ecx, dword [0x462bf0]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x415864
lea ecx, [esp + 0x24]
call fcn.004391f6
lea eax, [esp + 0x24]
lea ecx, [edi + 8]
push eax
call fcn.00438e1b
mov ecx, dword [0x462bec]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x415889
lea eax, [esp + 0x24]
lea ecx, [edi + 0x28]
push eax
call fcn.00438e1b
mov ecx, dword [0x462be8]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x4158ae
lea eax, [esp + 0x24]
lea ecx, [edi + 0x2c]
push eax
call fcn.00438e1b
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00438d2e
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.00438d2e
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 8