Function at 0x4fd9e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747537
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x8312b0]
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 - 0x280], edx
push ecx
lea ecx, [ebp - 0x270]
xor bl, bl
call fcn.004609e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x25c], 8
cmovae eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4fde2f
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x25c], 8
push 0x7fe2c4
cmovae eax, dword [ebp - 0x270]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00716f05
add esp, 0xc
test eax, eax
jne 0x4fddde
cmp dword [ebp - 0x278], eax
je 0x4fddde
sub esp, 0x18
mov ecx, esp
push 0xe
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push 0x7fe2b4
mov byte [ecx], al
call fcn.00460f20
lea ecx, [ebp - 0x258]
call fcn.004fd8b0
push 0x100
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0070dcd0
push dword [ebp - 0x278]
lea eax, [ebp - 0x210]
push dword [ebp - 0x248]
push 1
push 0xff
push eax
call fcn.00717b31
xor bl, bl
add esp, 0x38
mov byte [ebp - 0x271], bl
test eax, eax
jle 0x4fdbe6
push 0
push 0x7e533b
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], bl
call fcn.00460f20
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x240]
call fcn.00463b90
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
mov edi, dword [ebp - 0x22c]
lea ecx, [ebp - 0x240]
cmovae eax, dword [ebp - 0x258]
cmp edi, 0x10
push dword [ebp - 0x248]
mov esi, dword [ebp - 0x240]
cmovae ecx, esi
mov edx, dword [ebp - 0x230]
push eax
call fcn.00460df0
add esp, 8
mov byte [ebp - 4], 2
mov bl, al
mov byte [ebp - 0x271], bl
cmp edi, 0x10
jb 0x4fdbe2
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4fdbd8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fde58
push ecx
push esi
call fcn.006f4f2f
add esp, 8
test bl, bl
jne 0x4fdc00
push dword [ebp - 0x278]
call fcn.0071ed73
add esp, 4
nop dword [eax]
nop dword [eax + eax]
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0070dcd0
push dword [ebp - 0x278]
lea eax, [ebp - 0x110]
push 0xff
push 1
push 0xff
push eax
call fcn.00717b31
mov ebx, eax
add esp, 0x20
test ebx, ebx
jle 0x4fdcb4
lea esi, [ebp - 0x110]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4fdc43
mov edx, dword [ebp - 0x214]
sub esi, ecx
mov ecx, dword [ebp - 0x218]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x4fdc92
lea eax, [ecx + esi]
cmp edx, 0x10
mov dword [ebp - 0x218], eax
lea edi, [ebp - 0x228]
cmovae edi, dword [ebp - 0x228]
lea eax, [ebp - 0x110]
add edi, ecx
push eax
push edi
call fcn.0070d750
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4fdcb2
lea eax, [ebp - 0x110]
mov byte [ebp - 0x27c], 0
push eax
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x228]
push esi
call fcn.004639e0
test ebx, ebx
jne 0x4fdc00
push dword [ebp - 0x278]
call fcn.007178b2
add esp, 4
cmp byte [ebp - 0x271], 1
jne 0x4fdd47
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x240]
call fcn.00512ce0
push eax
lea ecx, [ebp - 0x228]
call fcn.00463c50
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x4fdd28
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fdd1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fde5d
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x214], 0x10
lea ecx, [ebp - 0x228]
mov edx, dword [ebp - 0x218]
cmovae ecx, dword [ebp - 0x228]
call fcn.00514320
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
push ecx
cmovae eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x94]
push eax
call fcn.004febc0
mov byte [ebp - 4], 4
mov esi, dword [eax]
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4fdd73
mov ecx, dword [ebp - 0x280]
sub edx, edi
push edx
push esi
call fcn.00460f20
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x4fdda2
push eax
call fcn.00715cee
add esp, 4
mov edx, dword [ebp - 0x244]
mov bl, 1
cmp edx, 0x10
jb 0x4fddde
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fddd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fde62
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x4fde14
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fde0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fde67
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
lea ecx, [ebp - 0x270]
call fcn.0044bf40
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.006f4f1e
mov esp, ebp
pop ebp
ret
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
int3