Function at 0x427cc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6261e9
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
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 dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
lea edx, [eax + 0x12]
lea ecx, [ebp - 0x58]
call fcn.004a05c0
push 0xd
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x67bd3c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c30
mov byte [ebp - 4], 2
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.004a0a50
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x427d7f
push dword [ebp - 0x28]
call fcn.004c56c2
add esp, 4
xor eax, eax
cmp dword [ebp - 0x44], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428006
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push ecx
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x110], 0x67c4d8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.00427c50
sub esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x110]
call fcn.0042ad00
mov byte [ebp - 4], 3
cmp dword [ebp - 0xb0], 0
jne 0x427e2b
push 0
mov dl, 1
lea ecx, [ebp - 0x58]
call fcn.004a0f70
add esp, 4
jmp 0x427ff7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov byte [ebp - 4], 5
nop
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [ebp - 0x124]
push eax
call fcn.00422600
mov byte [ebp - 4], 6
push eax
call fcn.0042c760
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x124]
test ecx, ecx
je 0x427edb
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x427edb
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esi]
push 0xa
mov eax, dword [eax + 0x20]
mov ecx, esi
call eax
mov byte [ebp - 0x120], al
push dword [ebp - 0x120]
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x110]
call fcn.0042ced0
mov ecx, dword [eax]
add esp, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, 0
test byte [ecx + 0xc], 6
cmovne ecx, eax
test ecx, ecx
je 0x427f2e
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0042aee0
jmp 0x427e90
mov eax, dword [ebp - 0x110]
mov edi, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x100]
mov eax, dword [ebp + eax - 0x104]
shr eax, 2
test al, 1
je 0x42807b
call fcn.0042b850
test eax, eax
jne 0x427f86
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x427f7e
or eax, 4
push 0
push eax
call fcn.00422550
push 0
mov dl, 1
lea ecx, [ebp - 0x58]
call fcn.004a0f70
add esp, 4
mov byte [ebp - 4], 4
test edi, edi
je 0x427fd0
push dword [ebp - 0x118]
push edi
call fcn.0042c210
push edi
call fcn.004c56c2
add esp, 4
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], 0x10
jb 0x427fe5
push dword [ebp - 0x40]
call fcn.004c56c2
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.00428220
xor bl, bl
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
jb 0x42801d
push dword [ebp - 0x58]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x428049
push dword [ebp + 8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 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
call fcn.0042b850
test eax, eax
jne 0x4280ac
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4280a4
or eax, 4
push 0
push eax
call fcn.00422550
push 0
mov dl, 1
lea ecx, [ebp - 0x58]
call fcn.004a0f70
lea eax, [ebp - 0x40]
add esp, 4
cmp eax, edi
je 0x4280ce
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00403d90
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x427f95
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
cmp esi, 0x10
lea eax, [ebp - 0x40]
cmovae eax, ecx
lea ebx, [ebp - 0x40]
cmovae ebx, ecx
add eax, edx
cmp esi, 0x10
lea edx, [ebp - 0x40]
cmovae edx, ecx
cmp edx, eax
je 0x428112
push fcn.005ea453
push ebx
push eax
lea ecx, [ebp - 0x120]
call fcn.0042d070
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
call fcn.00499580
add esp, 4
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 0x67bd00
push eax
call dword [ecx + 4]
add esp, 0xc
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp + 0x18]
lea ecx, [ebp + 8]
push 0
call fcn.004048b0
test eax, eax
je 0x4281a8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00403680
jmp 0x427f95
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00403680
mov byte [ebp - 4], 4
test edi, edi
je 0x4281ef
push dword [ebp - 0x118]
push edi
call fcn.0042c210
push edi
call fcn.004c56c2
add esp, 4
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00403560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.00428220
mov bl, 1
jmp 0x428008