Function at 0x4032f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544b70
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5ec938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x14]
mov ecx, edi
call fcn.004022d0
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x403456
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403456
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4033af
mov dword [ebp - 0x14], ebx
push 0x17
push ebx
mov dword [ebp - 4], ebx
push 0x55698c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403130
cmp eax, ebx
jge 0x4033c6
push 0x17
push ebx
push 0x55697c
lea ecx, [ebp - 0x14]
call fcn.00403130
cmp eax, ebx
jge 0x4033c6
push ebx
push eax
call fcn.00544640
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x3c]
call fcn.00402f40
mov eax, 0x403399
ret
mov dword [ebp - 4], 0xffffffff
je 0x4033af
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004004
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
sete al
mov dword [ebp - 4], ebx
cmp al, bl
je 0x4033e2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jmp 0x40339e
cmp ecx, ebx
jne 0x4033f0
push 0x80004003
call fcn.005445a0
push ebx
call fcn.00403010
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402ef0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp ecx, ebx
jne 0x403414
push 0x80004003
call fcn.005445a0
lea eax, [ebp - 0x2c]
push eax
call fcn.00402fb0
lea ecx, [ebp - 0x2c]
push ecx
movzx esi, ax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp si, bx
jne 0x40346d
lea ecx, [ebp - 0x14]
call fcn.00403040
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x403456
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.004022d0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
sete cl
cmp cl, bl
je 0x403495
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x403456
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x403456
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.00403070
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, ebx
jne 0x4034b9
push 0x80004003
call fcn.005445a0
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], bl
call fcn.00403220
mov eax, dword [ebp - 0x18]
cmp eax, ebx
sete cl
cmp cl, bl
sete cl
mov byte [ebp - 4], 5
cmp cl, bl
je 0x403514
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 6
cmp eax, ebx
jne 0x4034ef
push 0x80004003
call fcn.005445a0
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.00402bd0
mov edx, dword [ebp + 8]
push edx
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.00403070
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
cmp ecx, ebx
jne 0x403538
push 0x80004003
call fcn.005445a0
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 5
call fcn.00403220
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
sete cl
cmp cl, bl
sete cl
mov byte [ebp - 4], 8
cmp cl, bl
je 0x403594
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 9
cmp eax, ebx
jne 0x40356f
push 0x80004003
call fcn.005445a0
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.00402bd0
mov edx, dword [ebp + 8]
push edx
mov byte [ebp - 4], 8
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x14], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x4035bd
lea ecx, [ebp - 0x14]
call fcn.00403040
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4035bd
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
lea esi, [eax - 0x7fffbffb]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4035ea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4035fc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x403612
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret