Function at 0x471ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563ae6
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5ab3e8]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x98], eax
cmp dword [eax + 0x10], 0
jne 0x471f1e
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
jmp 0x4724ba
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 0
push eax
call fcn.00473c40
add esp, 4
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
push 7
push str.default
call fcn.00407de0
mov edi, dword [ebp - 0x90]
mov byte [ebp - 4], 1
cmp edi, dword [ebp - 0x8c]
je 0x471fce
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
add edi, 0x18
mov word [ebp - 0x28], ax
mov dword [ebp - 0x90], edi
jmp 0x471fe7
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.004020e0
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x472022
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x472018
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724d8
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov ecx, dword [ebp - 0x94]
mov esi, ecx
cmp esi, edi
je 0x472353
lea eax, [ebp - 0x88]
push eax
call fcn.004743e0
add esp, 4
push 1
push 0x56c180
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00402820
mov edx, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov ecx, dword [edx]
mov dword [ebp - 0x70], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x68], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x64], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 3
jb 0x4720a7
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x70]
push eax
call fcn.00402820
mov edx, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [edx]
mov dword [ebp - 0x58], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x4c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
push 1
push 0x56c180
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00402820
mov edx, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [edx]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x34], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ecx, dword [ebp - 0x98]
mov eax, ecx
mov byte [ebp - 4], 5
cmp dword [ecx + 0x14], 8
jb 0x472166
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00402820
mov edx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
mov ecx, dword [edx]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x1c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4721f6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4721ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724dd
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x472248
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47223e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724dd
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x47229a
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x472290
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724dd
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x4722ee
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4722e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724dd
push edx
push ecx
call fcn.0048bb0b
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472413
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x472342
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x472338
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724dd
push edx
push ecx
call fcn.0048bb0b
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x472032
mov ecx, dword [ebp - 0x94]
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
test ecx, ecx
je 0x4724ba
mov esi, ecx
cmp esi, edi
je 0x4723cd
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4723ad
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4723a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724d8
mov eax, edx
push ecx
push eax
call fcn.0048bb0b
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x472374
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x8c]
mov eax, 0x2aaaaaab
sub edx, ecx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 3
cmp edx, 0x1000
jb 0x4724b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724d8
jmp 0x4724b0
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x94]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4724ba
lea eax, [ebp - 0x94]
push eax
push edi
push esi
call fcn.00402070
mov ecx, dword [ebp - 0x8c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4724ac
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724dd
push ecx
push esi
jmp 0x4724b2
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov eax, ebx
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.0048bb19
mov esp, ebp
pop ebp
ret
call fcn.00497439
call fcn.00497439
int3