Function at 0x47edb0
Capabilities:
Check if file exists
Resolve function by parsing pe exports

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 0x50bee5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x562040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 2
lea eax, [ebx + 0x24]
cmp dword [ebx + 0x38], 7
cmova eax, dword [ebx + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47ef7e
mov esi, dword [edi + 0x14]
mov edi, dword [edi + 0x10]
cmp edi, esi
je 0x47ee5d
cmp dword [ebx + 0x20], 0xf
seta cl
mov byte [ebp - 0x11], cl
test cl, cl
lea eax, [ebx + 0xc]
mov ecx, edi
cmovne eax, dword [ebx + 0xc]
cmp dword [edi + 0x14], 0xf
jbe 0x47ee38
mov ecx, dword [edi]
push dword [ebx + 0x1c]
mov edx, dword [edi + 0x10]
push eax
call fcn.00412760
add esp, 8
test al, al
jne 0x47ee55
mov cl, byte [ebp - 0x11]
add edi, 0x18
cmp edi, esi
jne 0x47ee25
cmp edi, esi
jne 0x47ef7e
call fcn.00479dc0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x47ee87
push 0x7c
call fcn.004cfd1b
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004797a0
mov byte [ebp - 4], 2
mov dword [esi + 4], eax
lea ecx, [ebx + 0x3c]
push ecx
lea ecx, [ebx + 8]
push ecx
lea ecx, [ebx + 0x24]
push ecx
lea ecx, [ebx + 0xc]
push ecx
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00480440
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x47eec8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x47eec8
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x47eec2
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x47eec6
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [ebp - 0x18]
mov esi, dword [edi + 0x14]
cmp esi, dword [edi + 0x18]
je 0x47ef71
xorps xmm0, xmm0
lea ecx, [ebx + 0xc]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebx + 0x20], 0xf
mov eax, dword [ebx + 0x1c]
cmova ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
cmp eax, 0x7fffffff
ja 0x47eff6
cmp eax, 0xf
ja 0x47ef25
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
add dword [edi + 0x14], 0x18
jmp 0x47ef7e
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x47ef36
mov eax, 0x7fffffff
jmp 0x47ef40
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00402d30
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x14], ecx
mov dword [esi], eax
lea ecx, [edx + 1]
mov dword [esi + 0x10], edx
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.004d4720
add esp, 0x14
add dword [edi + 0x14], 0x18
jmp 0x47ef7e
lea eax, [ebx + 0xc]
push eax
push esi
lea ecx, [edi + 0x10]
call fcn.004102b0
mov ecx, dword [ebx + 0x20]
cmp ecx, 0xf
jbe 0x47efae
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47efa4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47effb
push ecx
push edx
call fcn.004cfce1
add esp, 8
lea ecx, [ebx + 0x24]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
call fcn.00414f80
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x47efe0
mov edx, dword [ecx]
lea eax, [ebx + 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x5c
call fcn.00401690
call fcn.004df8cc
int3