Function at 0x401af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x80], esi
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
lea ecx, [ebp - 0x2c]
call fcn.00411e50
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], ebx
je 0x401bcd
push str.IECtrl.dll
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00403ce0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x10], ebx
jne 0x401b61
mov byte [ebp - 0x75], bl
jmp 0x401b77
cmp dword [eax + 0x14], 8
jb 0x401b69
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete byte [ebp - 0x75]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
jb 0x401b8c
push dword [ebp - 0x44]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
cmp byte [ebp - 0x75], al
je 0x401bcd
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00402d10
mov dword [ebp - 0x7c], 1
mov byte [ebp - 4], 0
jmp 0x40203d
lea ecx, [ebp - 0x5c]
call fcn.00409ca0
mov byte [ebp - 4], 3
push 0x44fdb4
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00403c30
add esp, 4
mov edi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x401c26
cmp dword [ebp - 0x18], 8
jb 0x401c09
push dword [ebp - 0x2c]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402d10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 8
jb 0x401c3b
push dword [ebp - 0x44]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], 8
jb 0x401c64
push dword [ebp - 0x5c]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
call fcn.0040e6d0
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402740
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.00402780
push 0
push 0x44fde0
lea ecx, [ebp - 0x2c]
call fcn.00402810
cmp eax, 0xffffffff
jne 0x401cd1
push 0
push str._tucao_app_
lea ecx, [ebp - 0x2c]
call fcn.00402810
cmp eax, 0xffffffff
jne 0x401cd1
mov dword [ebp - 4], 1
jmp 0x401d43
push 0
push 0x44fdb8
lea ecx, [ebp - 0x2c]
call fcn.00402810
cmp eax, 0xffffffff
je 0x401d0d
push eax
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402860
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402740
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.00402780
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00402710
mov dword [ebp - 0x7c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402780
jmp 0x40205e
lea eax, [ebp - 0x44]
push eax
push ecx
call fcn.00402920
add esp, 4
mov ecx, eax
call fcn.0040ca20
mov byte [ebp - 4], 9
push 0x44fde0
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00403c30
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x401da8
cmp dword [ebp - 0x18], 8
jb 0x401d8b
push dword [ebp - 0x2c]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402d10
mov byte [ebp - 4], 9
cmp dword [ebp - 0x48], 8
jb 0x401dbd
push dword [ebp - 0x5c]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
jb 0x401de6
push dword [ebp - 0x44]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
push str.IECtrl.dll
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.00403ce0
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x10], 0
jne 0x401e1b
xor al, al
jmp 0x401e30
cmp dword [eax + 0x14], 8
jb 0x401e23
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
sete al
mov byte [ebp - 0x75], al
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], 8
jb 0x401e50
push dword [ebp - 0x5c]
call fcn.00423c7d
add esp, 4
mov al, byte [ebp - 0x75]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor ecx, ecx
mov word [ebp - 0x5c], cx
test al, al
je 0x401ef5
lea eax, [ebp - 0x44]
push eax
push ecx
call fcn.00402920
add esp, 4
mov ecx, eax
call fcn.0040ca20
mov byte [ebp - 4], 0xc
push str._tucao_app_
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00403c30
add esp, 4
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402740
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x48], 8
jb 0x401eb8
push dword [ebp - 0x5c]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
jb 0x401ee1
push dword [ebp - 0x44]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
push str.IECtrl.dll
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
call fcn.00403ce0
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x10], 0
je 0x401f68
cmp dword [eax + 0x14], 8
jb 0x401f1a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x401f68
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402ff0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xf
or ebx, 2
jmp 0x401f7f
push 0x44fdac
lea ecx, [ebp - 0x5c]
call fcn.004026b0
mov dword [ebp - 4], 0x10
or ebx, 4
mov dword [ebp - 0x7c], ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
xor ecx, ecx
mov word [esi], cx
push eax
mov ecx, esi
call fcn.00402d10
or ebx, 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 4], 0xf
test bl, 4
je 0x401fda
and ebx, 0xfffffffb
mov dword [ebp - 0x7c], ebx
cmp dword [ebp - 0x48], 8
jb 0x401fc6
push dword [ebp - 0x5c]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], 0xe
test bl, 2
je 0x402011
and ebx, 0xfffffffd
mov dword [ebp - 0x7c], ebx
cmp dword [ebp - 0x30], 8
jb 0x401ffd
push dword [ebp - 0x44]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x60], 8
jb 0x402026
push dword [ebp - 0x74]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x18], 8
jb 0x40204e
push dword [ebp - 0x2c]
call fcn.00423c7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret