Function at 0x453a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62d5de
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x453a91
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0xa0], 0
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [0x6d66e8]
push 0x680d70
push 0x6d66e8
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
add esp, 8
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov dword [esp + 0xa0], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
mov byte [esp + 0xa0], 2
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], eax
mov word [esp + 0x60], ax
mov byte [esp + 0xa0], 3
lea edx, [eax + 0xf]
lea ecx, [esp + 0x48]
call fcn.004a05c0
lea ecx, [esp + 0x48]
call fcn.0040f1f0
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
cmp edi, 8
lea eax, [esp + 0x48]
cmovae eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x48]
cmovae ecx, esi
lea edx, [esp + 0x48]
lea eax, [ecx + eax*2]
cmovae edx, esi
cmp edx, eax
je 0x453b74
push fcn.005ea453
push dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
call fcn.0040db40
add esp, 0xc
call fcn.0040f290
test al, al
jne 0x453bb9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.0040f080
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x453bb9
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x680e28
push 0x678f6c
push eax
call dword [ecx + 0x24]
add esp, 0xc
xor bl, bl
jmp 0x454016
mov ecx, dword [ebx + 0x28]
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x34]
call fcn.0040f590
add esp, 4
test al, al
jne 0x453c2b
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x453c0a
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0xa0], 4
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0xa0], 3
mov eax, dword [0x6d66e8]
push 0x680dd0
push 0x678f6c
push 0x6d66e8
call dword [eax + 0x24]
add esp, 0xc
xor bl, bl
jmp 0x454016
lea ecx, [esp + 0x30]
call fcn.0040f1f0
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
cmp ecx, 8
lea eax, [esp + 0x30]
cmovae eax, esi
lea edx, [esp + 0x30]
lea ebx, [esp + 0x30]
lea eax, [eax + edi*2]
cmovae edx, esi
cmovae ebx, esi
cmp edx, eax
je 0x453c7e
push fcn.005ea453
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0040db40
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
add esp, 0xc
cmp ecx, 8
push edi
lea eax, [esp + 0x34]
cmovae eax, esi
push eax
push dword [esp + 0x60]
lea ecx, [esp + 0x54]
push 0
call fcn.004048b0
test eax, eax
je 0x453d29
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x68]
push eax
call fcn.00403b10
mov byte [esp + 0xb8], 5
mov byte [esp + 0xb8], 3
call fcn.00427cc0
add esp, 0x18
test al, al
jne 0x453d29
call fcn.00401520
cmp dword [esp + 0x44], 8
lea edx, [esp + 0x30]
cmovae edx, dword [esp + 0x30]
cmp dword [esp + 0x5c], 8
push edx
lea ecx, [esp + 0x4c]
cmovae ecx, dword [esp + 0x4c]
push ecx
lea esi, [eax + 0xf8]
push 0x680ed8
mov eax, dword [esi]
push 0x678f6c
push esi
call dword [eax + 0x24]
add esp, 0x14
xor bl, bl
jmp 0x454016
xor eax, eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
mov byte [esp + 0xa0], 6
lea edx, [eax + 0x12]
lea ecx, [esp + 0x78]
call fcn.004a05c0
push 0x67bd3c
lea ecx, [esp + 0x1c]
call fcn.004035b0
mov byte [esp + 0xa0], 7
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x7c]
call fcn.004a0a50
add esp, 4
mov byte [esp + 0xa0], 6
cmp dword [esp + 0x2c], 8
jb 0x453db2
push dword [esp + 0x18]
call fcn.004c56c2
add esp, 4
xor eax, eax
cmp dword [esp + 0x8c], 8
mov word [esp + 0x18], ax
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453e0d
cmp dword [esp + 0x8c], 8
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 0
mov dl, 1
lea ecx, [esp + 0x7c]
call fcn.004a0f70
add esp, 4
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x70]
cmp edi, 8
lea ecx, [esp + 0x60]
cmovae ecx, esi
lea edx, [esp + 0x60]
lea ebx, [esp + 0x60]
lea eax, [ecx + eax*2]
cmovae edx, esi
cmovae ebx, esi
cmp edx, eax
je 0x453e4b
push fcn.005ea453
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0040db40
add esp, 0xc
push 0x67b744
lea ecx, [esp + 0x1c]
call fcn.004035b0
mov byte [esp + 0xa0], 8
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x676964
lea esi, [esp + 0x7c]
call fcn.004035b0
mov byte [esp + 0xb8], 9
mov byte [esp + 0xb8], 8
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.00422a30
add esp, 0x18
mov byte [esp + 0xa0], 6
cmp dword [esp + 0x2c], 8
jb 0x453eb1
push dword [esp + 0x18]
call fcn.004c56c2
add esp, 4
xor eax, eax
push 0x676df4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004035b0
mov byte [esp + 0xa0], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x676964
lea esi, [esp + 0x7c]
call fcn.004035b0
mov byte [esp + 0xb8], 0xb
mov byte [esp + 0xb8], 0xa
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.00422a30
add esp, 0x18
mov byte [esp + 0xa0], 6
cmp dword [esp + 0x2c], 8
jb 0x453f2e
push dword [esp + 0x18]
call fcn.004c56c2
add esp, 4
xor eax, eax
push 0x1a
push eax
push 0x67b764
lea ecx, [esp + 0x6c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.0040cd50
cmp eax, 0xffffffff
jne 0x453fa6
push 0
push 0x67b750
lea ecx, [esp + 0x68]
call fcn.0040ca20
cmp eax, 0xffffffff
jne 0x453fa6
push 0
push 0x67b818
lea ecx, [esp + 0x68]
call fcn.0040ca20
cmp eax, 0xffffffff
jne 0x453fa6
push 0x6776c4
call fcn.00401520
lea ecx, [eax + 0x594]
call fcn.00403800
call fcn.00401520
push 0x680fb0
jmp 0x453fc7
call fcn.00401520
push 1
lea ecx, [eax + 0x594]
push 0x677708
call fcn.00403c30
call fcn.00401520
push 0x680e78
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push eax
call dword [ecx + 4]
add esp, 8
mov bl, 1
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x8c], 8
jb 0x453ff9
push dword [esp + 0x78]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x74], 8
jb 0x454031
push dword [esp + 0x60]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x44], 8
jb 0x454063
push dword [esp + 0x30]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x454098
push dword [esp + 0x48]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x48], ax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov al, bl
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret