Function at 0x452a50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d10d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x70], esi
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x452a9a
mov eax, dword [edi]
jmp 0x452a9c
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x452ad5
call fcn.00401520
cmp dword [edi + 0x14], 8
lea ecx, [eax + 0xf8]
jb 0x452aba
mov edi, dword [edi]
mov eax, dword [ecx]
push edi
push 0x6806c0
push 0x676964
push ecx
call dword [eax + 0x1c]
add esp, 0x10
xor bl, bl
jmp 0x452ea0
cmp byte [esi + 0xb8], 0
je 0x452e26
push 4
call fcn.004c568c
add esp, 4
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x452b02
mov dword [eax], 0
jmp 0x452b07
xor eax, eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0
push 0x30
mov dword [ebp - 0x5c], eax
call fcn.004c568c
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x452b4b
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 2
jmp 0x452b4d
xor esi, esi
mov byte [ebp - 4], 0
push 0xd
push 0
push 0x67f874
mov ecx, edi
call fcn.0040cd50
cmp eax, 0xffffffff
je 0x452cad
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x6809c8
push eax
call dword [ecx]
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004282d0
mov byte [ebp - 4], 5
call fcn.004283f0
lea ecx, [ebp - 0x88]
test al, al
je 0x452bb0
push 0x680968
call fcn.004035b0
mov byte [ebp - 4], 6
jmp 0x452bbe
push 0x680a50
call fcn.004035b0
mov byte [ebp - 4], 7
push ecx
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x28]
call fcn.004a0a50
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00403680
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push edx
push 0x680a10
push 0x676964
push eax
call dword [ecx + 0x1c]
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.004a1090
mov bl, al
mov byte [ebp - 0x5d], bl
call fcn.00401520
mov edx, dword [eax + 0xf8]
movzx ecx, bl
add eax, 0xf8
push ecx
push 0x680af8
push eax
call dword [edx]
xor ebx, ebx
add esp, 0x1c
cmp byte [ebp - 0x5d], bl
sete bl
call fcn.00401520
mov dword [eax + 0x2b0], ebx
test esi, esi
je 0x452c7f
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x452c61
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00403b10
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x18]
call fcn.0044f250
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x6c]
mov word [esi + 0x24], 1
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 8
jb 0x452c94
push dword [ebp - 0x28]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x452e01
push 0
push 0x67f890
mov ecx, edi
call fcn.0040ca20
cmp eax, 0xffffffff
je 0x452dd2
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x680ab0
push eax
call dword [ecx]
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.004282d0
mov byte [ebp - 4], 8
call fcn.004283f0
lea ecx, [ebp - 0x88]
test al, al
je 0x452d0a
push 0x680b80
call fcn.004035b0
mov byte [ebp - 4], 9
jmp 0x452d18
push 0x680b20
call fcn.004035b0
mov byte [ebp - 4], 0xa
push ecx
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.004a0a50
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.00403680
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x58]
push edx
push 0x680a10
push 0x676964
push eax
call dword [ecx + 0x1c]
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.004a1090
mov bl, al
call fcn.00401520
mov edx, dword [eax + 0xf8]
lea ecx, [eax + 0xf8]
movzx eax, bl
push eax
push 0x680c00
push ecx
call dword [edx]
add esp, 0x1c
test esi, esi
je 0x452dc4
lea eax, [ebp - 0x58]
cmp esi, eax
je 0x452da6
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00403b10
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x18]
call fcn.0044f250
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x6c]
mov word [esi + 0x24], 1
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00403680
jmp 0x452e01
test esi, esi
je 0x452e01
cmp esi, edi
je 0x452de6
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.00403b10
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x18]
call fcn.0044f250
mov eax, dword [ebp + 0x18]
mov word [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
push esi
push 0x452020
call fcn.004a5cd0
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x5c]
push eax
add ecx, 4
call fcn.0043e410
mov bl, 1
jmp 0x452ea0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xb
push ebx
push dword [ebp + 0x18]
lea eax, [ebp - 0x40]
push eax
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.00429f80
mov byte [ebp - 4], 0xc
push edi
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.00452f00
mov bl, al
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x452e8c
push dword [ebp - 0x40]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x452ede
push dword [ebp - 0x64]
lea ecx, [ebp - 0x5d]
push ecx
push dword [ebp + 0x10]
push eax
call fcn.00418be0
push dword [ebp + 0xc]
call fcn.004c56c2
add esp, 0x14
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 0x18