Function at 0x4e8c70
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6240f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, 0x639070
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], eax
lea esi, [ebx + 0x48]
mov dword [ebx], 0x63906c
mov ecx, 0xb40
lea edx, [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
lea edi, [esi + 8]
rep movsd dword es:[edi], dword [esi]
lea eax, [eax + eax*2]
push edx
mov byte [ebp - 4], 2
lea eax, [eax + eax*4]
lea ecx, [eax*4 + 2]
mov dword [ebx + 0x2d58], ecx
call fcn.005fca1a
xor edi, edi
lea ecx, [ebp + 8]
mov dword [ebx + 0x2d60], edi
push edi
mov dword [ebx + 0x2d54], 0xffffffff
mov dword [ebx + 0x2d64], edi
call fcn.005fca2d
mov esi, dword [eax + 8]
push edi
lea ecx, [ebp + 8]
call fcn.005fca2d
mov eax, dword [eax + 4]
lea ecx, [esi + esi*2]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
lea ecx, [ecx + ecx*4]
mov word [ebp - 0x2c], di
lea edx, [eax + ecx*4]
mov dword [ebx + 0x2d50], edx
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
mov byte [ebp - 4], 4
call fcn.004e9560
mov eax, dword [ebp - 0x30]
cmp eax, edi
jne 0x4e8d6a
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e8f28
mov eax, dword [ebp - 0x30]
cmp eax, edi
jne 0x4e8d84
lea eax, [ebp - 0x2c]
push 0x6a3d98
push eax
call fcn.005e885f
add esp, 8
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x4e8f28
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x18], ecx
push 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00603e09
mov edx, dword [ebp - 0x14]
mov esi, eax
push edx
push 0x10
push esi
call fcn.005e8b05
add esp, 0xc
test eax, eax
je 0x4e8f10
push esi
call fcn.005e73e8
mov ecx, esp
mov dword [ebp - 0x24], esp
mov dword [ecx], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.0045f7e0
mov ecx, dword [ebp - 0x1c]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x91a2b3c5
mov esi, edx
imul ecx
add edx, ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esi + esi*4]
mov dword [ebp - 0x24], edx
lea edx, [eax + eax*8]
mov eax, 0x88888889
shl edx, 5
mov edi, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x2d58]
sub edx, edi
cmp edx, eax
jge 0x4e8f0e
xor edi, edi
cmp esi, edi
jne 0x4e8f10
mov ecx, dword [ebx + 0x2d50]
sub ecx, eax
mov dword [ebx + 0x2d54], ecx
jns 0x4e8e68
add ecx, 0x5a1
mov dword [ebx + 0x2d54], ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 0x48]
push ecx
push 1
push 0x2d08
push eax
call fcn.005e9ace
add esp, 0x10
cmp eax, edi
jne 0x4e8e97
xor eax, eax
cmp eax, 0x5a1
jge 0x4e8e97
mov dword [ebx + eax*8 + 0x48], edi
mov dword [ebx + eax*8 + 0x4c], edi
inc eax
jmp 0x4e8e85
mov ecx, ebx
call fcn.004e9080
mov edx, dword [ebx + 0x2d60]
mov eax, dword [ebx + 0x2d64]
or edx, eax
je 0x4e8f10
mov ecx, dword [ebx + 0x2d54]
mov eax, ecx
cmp eax, 0x5a1
jge 0x4e8ed7
mov edx, dword [ebx + eax*8 + 0x48]
mov esi, dword [ebx + eax*8 + 0x4c]
or edx, esi
jne 0x4e8ed2
mov dword [ebx + 0x2d54], eax
inc eax
jmp 0x4e8eb6
cmp eax, 0x5a1
jne 0x4e8f10
cmp ecx, edi
je 0x4e8f10
mov eax, dword [ebx + 0x2d48]
mov edx, dword [ebx + 0x2d4c]
or eax, edx
jne 0x4e8f10
mov dword [ebx + 0x2d54], edi
xor eax, eax
cmp eax, ecx
jge 0x4e8f10
mov edx, dword [ebx + eax*8 + 0x48]
mov esi, dword [ebx + eax*8 + 0x4c]
or edx, esi
jne 0x4e8f10
mov dword [ebx + 0x2d54], eax
inc eax
jmp 0x4e8ef5
xor edi, edi
mov eax, dword [ebp - 0x14]
push eax
call fcn.005e8678
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00603a3c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00401070
jmp 0x4e8f41
mov eax, dword [ebx + 0x2d54]
mov dword [ebp - 4], 2
cmp eax, 0xffffffff
jne 0x4e8f7a
push edi
lea ecx, [ebp + 8]
call fcn.005fca2d
mov esi, dword [eax + 8]
push edi
lea ecx, [ebp + 8]
call fcn.005fca2d
mov edx, dword [eax + 4]
lea ecx, [esi + esi*2]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*4]
mov dword [ebx + 0x2d54], eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4