Function at 0x4193a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a074c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d4028]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x1c]
call dword [0x4a2ef4]
lea ebx, [ebp + 0x1fc]
xor esi, esi
mov eax, ebx
mov dword [esp + 0x68], esi
call fcn.0041c840
push 1
mov ecx, ebp
call fcn.004900b4
mov eax, ebx
call fcn.0041c840
cmp dword [ebp + 0x218], esi
jne 0x419417
push 0xffffffffffffffff
push 0x30
push 0x9bd
call fcn.004900c6
jmp 0x419a25
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea edi, [ebp + 0x938]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00439710
mov eax, ebx
call fcn.0041c840
lea eax, [ebp + 0x2d74]
push eax
lea edx, [ebp + 0x2d70]
push edx
lea edi, [ebp + 0x2d6c]
lea ecx, [ebp + 0x2d68]
push edi
mov eax, ebx
call fcn.0041c7c0
mov eax, ebx
call fcn.0041c840
mov eax, ebx
call fcn.0041b140
test eax, eax
jne 0x41948b
push 0xffffffffffffffff
push 0x30
push 0x9be
call fcn.004900c6
jmp 0x419a25
lea ecx, [esp + 0x18]
call dword [0x4a2ef4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call dword [0x4a2db4]
push 3
mov eax, 0x7f5ed8
call fcn.0043a5e0
test eax, eax
je 0x41950b
cmp dword [esp + 0x24], esi
jle 0x41950b
push esi
push 0x9c5
lea eax, [esp + 0x2c]
push eax
call fcn.00403ae0
push eax
lea ecx, [esp + 0x30]
push ecx
mov edi, 0x4a6a78
mov byte [esp + 0x70], 2
call fcn.0040a1d0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call dword [0x4a2db0]
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 1
call dword [0x4a2ee8]
push 2
mov eax, 0x7f5ed8
call fcn.0043a5e0
test eax, eax
je 0x419572
cmp dword [esp + 0x28], esi
jle 0x419572
push esi
push 0x9c6
lea edx, [esp + 0x30]
push edx
call fcn.00403ae0
push eax
lea eax, [esp + 0x30]
push eax
mov edi, 0x4a6a78
mov byte [esp + 0x70], 4
call fcn.0040a1d0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 5
call dword [0x4a2db0]
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 1
call dword [0x4a2ee8]
push esi
mov eax, 0x7f5ed8
call fcn.0043a5e0
test eax, eax
je 0x4195dd
mov ecx, dword [ebp + 0x2d6c]
cmp dword [ecx - 0xc], esi
jne 0x4195dd
push esi
push 0x9c8
lea edx, [esp + 0x30]
push edx
call fcn.00403ae0
push eax
lea eax, [esp + 0x30]
push eax
mov edi, 0x4a6a78
mov byte [esp + 0x70], 6
call fcn.0040a1d0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 7
call dword [0x4a2db0]
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 1
call dword [0x4a2ee8]
push 1
mov eax, 0x7f5ed8
call fcn.0043a5e0
test eax, eax
je 0x419649
mov ecx, dword [ebp + 0x2d68]
cmp dword [ecx - 0xc], esi
jne 0x419649
push esi
push 0x9c7
lea edx, [esp + 0x30]
push edx
call fcn.00403ae0
push eax
lea eax, [esp + 0x30]
push eax
mov edi, 0x4a6a78
mov byte [esp + 0x70], 8
call fcn.0040a1d0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 9
call dword [0x4a2db0]
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 1
call dword [0x4a2ee8]
push 5
mov eax, 0x7f5ed8
call fcn.0043a5e0
test eax, eax
je 0x4196b5
mov ecx, dword [ebp + 0x2d70]
cmp dword [ecx - 0xc], esi
jne 0x4196b5
push esi
push 0x9c4
lea edx, [esp + 0x30]
push edx
call fcn.00403ae0
push eax
lea eax, [esp + 0x30]
push eax
mov edi, 0x4a6a78
mov byte [esp + 0x70], 0xa
call fcn.0040a1d0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0xb
call dword [0x4a2db0]
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 1
call dword [0x4a2ee8]
push 7
mov eax, 0x7f5ed8
call fcn.0043a5e0
test eax, eax
je 0x419721
mov ecx, dword [ebp + 0x2d74]
cmp dword [ecx - 0xc], esi
jne 0x419721
push esi
push 0x9c9
lea edx, [esp + 0x30]
push edx
call fcn.00403ae0
push eax
lea eax, [esp + 0x30]
push eax
mov edi, 0x4a6a78
mov byte [esp + 0x70], 0xc
call fcn.0040a1d0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0xd
call dword [0x4a2db0]
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 1
call dword [0x4a2ee8]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], esi
je 0x419750
push eax
lea ecx, [esp + 0x20]
push 0xa5c
push ecx
call dword [0x4a2db8]
mov edx, dword [esp + 0x28]
add esp, 0xc
push esi
push 0x30
push edx
call fcn.004900cc
jmp 0x419a1b
cmp dword [0x7f5ec4], esi
je 0x41976a
push 0xffffffffffffffff
push esi
push 0x83f
call fcn.004900c6
jmp 0x419a1b
lea eax, [esp + 0x20]
push eax
push 0x7f5ed8
call fcn.0043a650
mov byte [esp + 0x68], 0xe
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4197b7
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push 0xa5d
push eax
call dword [0x4a2db8]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push esi
push 0x30
push ecx
call fcn.004900cc
jmp 0x419a11
lea edx, [esp + 0x17]
push edx
mov dword [0x7f5ec4], 1
call fcn.00403ab0
mov bl, 0xf
mov byte [esp + 0x68], bl
mov ecx, dword [ebp + 0x228]
cmp ecx, esi
jbe 0x4197f5
mov eax, dword [ecx]
mov edx, dword [eax + 0x68]
call edx
mov ecx, dword [ebp + 0x228]
cmp ecx, esi
je 0x4197f5
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
push 0x1960
call fcn.004900d2
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, esi
mov byte [esp + 0x68], 0x10
je 0x41981f
mov ecx, dword [0x7f5bb8]
push ecx
push ebp
push eax
call fcn.0046467f
jmp 0x419821
xor eax, eax
mov byte [esp + 0x68], bl
fld qword [0x4b8c80]
mov dword [ebp + 0x228], eax
mov byte [eax + 0x1915], 1
mov eax, dword [ebp + 0x228]
mov dword [eax + 0x1950], 0x9aa
mov eax, dword [ebp + 0x228]
fstp qword [eax + 0x1930]
mov byte [eax + 0x1917], 1
mov byte [eax + 0x1918], 0
mov dword [eax + 0x1910], 0xffffffff
mov eax, dword [ebp + 0x228]
mov dword [eax + 0x1924], 0x5a5a5a
mov dword [eax + 0x1928], 0x323232
mov dword [eax + 0x192c], 0x969696
mov eax, dword [ebp + 0x228]
push 0xb8
mov dword [eax + 0x18cc], 0x134
mov dword [eax + 0x18d0], 0x135
call fcn.004900d2
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, esi
mov byte [esp + 0x68], 0x11
je 0x4198cc
push eax
call fcn.00446450
jmp 0x4198ce
xor eax, eax
mov byte [esp + 0x68], bl
mov dword [ebp + 0x22c], eax
mov edx, dword [0x7f5fe8]
push edx
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x4a2ec0]
push ecx
mov ecx, esp
mov byte [esp + 0x74], 0x12
mov dword [esp + 0x34], esp
push ecx
push 0x7f5ed8
call fcn.0043a2b0
push ecx
mov byte [esp + 0x78], 0x13
lea edx, [ebp + 0x424]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x4a2ec0]
lea eax, [ebp + 0x1fc]
mov byte [esp + 0x78], bl
mov esi, dword [ebp + 0x22c]
push eax
call fcn.00446630
push 0x4a4090
lea ecx, [esp + 0x2c]
call dword [0x4a2ed8]
push 1
push 0xfb5
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x74], 0x14
call fcn.00403ae0
mov byte [esp + 0x68], 0x15
mov ecx, dword [ebp + 0x228]
mov edx, dword [ecx + 0x1c0]
mov edx, dword [edx + 0x28]
lea esi, [esp + 0x28]
push esi
push eax
mov eax, dword [ebp + 0x22c]
add ecx, 0x1c0
push 0x64
push eax
call edx
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
mov ecx, esi
mov byte [esp + 0x68], bl
call dword [0x4a2ee8]
mov esi, dword [ebp + 0x228]
call fcn.00464c2d
mov ecx, dword [0x7f5bb8]
lea eax, [esp + 0x30]
push eax
call fcn.00490174
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push 4
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x54]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x228]
push 0
call fcn.0049017a
mov eax, dword [0x7f5bb8]
push eax
mov ecx, dword [ebp + 0x228]
call fcn.00490180
mov ecx, dword [ebp + 0x228]
push 5
call fcn.0049015c
mov dword [ebp + 0x1f0], 1
mov byte [esp + 0x68], 0xe
call fcn.004039a0
lea ecx, [esp + 0x20]
call dword [0x4a2ee8]
lea ecx, [esp + 0x18]
call dword [0x4a2ee8]
lea ecx, [esp + 0x1c]
call dword [0x4a2ee8]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret