Function at 0x4871f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493d32
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x4ba080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea ecx, [ebp - 0x44]
call fcn.004875e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, 7
jbe 0x48725a
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x487577
cmp word [ecx], 0
je 0x487577
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x487574
test al, 0x10
jne 0x487574
lea ecx, [ebp - 0xb8]
call fcn.0042319d
push esi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0041d420
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0xb8]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.0042354b
push esi
mov edx, edi
lea ecx, [ebp - 0x5c]
call fcn.00488cc0
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
cmova eax, dword [ebp - 0x5c]
push eax
push ecx
lea ecx, [ebp - 0xb8]
call fcn.00423bae
mov ecx, eax
cmp ecx, 0xffffffff
jle 0x48739d
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x6c]
push edx
push ecx
mov ecx, dword [eax]
call fcn.00423127
cmp dword [ebp - 0x1c], 0
je 0x487365
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.0045887e
mov byte [ebp - 4], 2
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edi, eax
cmp ecx, 0xf
jbe 0x48739f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x487359
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4875cc
push ecx
push edx
call fcn.0044b96c
add esp, 8
jmp 0x48739f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x48739d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x487393
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4875cc
push ecx
push edx
call fcn.0044b96c
add esp, 8
xor edi, edi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x4873d7
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4873cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4875d1
push ecx
push edx
call fcn.0044b96c
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb8], 0x4ab5a4
cmp esi, eax
je 0x487428
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi]
test ecx, ecx
je 0x487414
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x68]
add esi, 4
cmp esi, eax
jne 0x487401
mov esi, dword [ebp - 0x6c]
cmp esi, eax
je 0x487428
mov dword [ebp - 0x68], esi
test esi, esi
je 0x487471
mov ecx, dword [ebp - 0x64]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x487452
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4875d1
push ecx
push esi
call fcn.0044b96c
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x4874a8
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48749e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4875d1
push ecx
push edx
call fcn.0044b96c
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 7
jbe 0x4874fd
mov edx, dword [ebp - 0x9c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4874f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4875d1
push ecx
push edx
call fcn.0044b96c
add esp, 8
mov ecx, dword [ebp - 0xa0]
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
cmp ecx, 0xf
jbe 0x487554
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48754a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4875d1
push ecx
push edx
call fcn.0044b96c
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
jmp 0x487579
mov eax, dword [ebp - 0x30]
xor edi, edi
cmp eax, 7
jbe 0x4875ac
mov edx, dword [ebp - 0x44]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4875a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4875d1
push ecx
push edx
call fcn.0044b96c
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044b95e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0045775f
call fcn.0045775f
int3