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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56f666
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x5c3678]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
xor edi, edi
push eax
mov ecx, str.HipsLogReadFromTime
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.00423950
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x1d4], edi
push esi
lea edi, [esp + 0x44]
call fcn.004bee20
test al, al
mov dword [esp + 0x1d0], 0xffffffff
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bc675
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4bccd0
lea eax, [esp + 0x7c]
call fcn.004099a0
push str.galaxy.dat
mov ecx, eax
lea esi, [esp + 0xc4]
mov dword [esp + 0x1d4], 1
call fcn.00418760
add esp, 4
mov esi, 8
mov byte [esp + 0x1d0], 3
cmp dword [esp + 0x94], esi
jb 0x4bc6cd
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0053c152
add esp, 4
mov eax, dword [esp + 0xc4]
xor edx, edx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], dx
cmp dword [esp + 0xd8], esi
jae 0x4bc704
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bc729
cmp dword [esp + 0xd8], esi
jb 0x4bccd0
mov eax, dword [esp + 0xc4]
push eax
jmp 0x4bccc8
lea ecx, [esp + 0xdc]
push ecx
call fcn.0040db20
mov byte [esp + 0x1d0], 4
cmp dword [esp + 0xd4], 0
je 0x4bc76b
mov ecx, dword [esp + 0xc4]
cmp dword [esp + 0xd8], esi
jae 0x4bc75f
lea ecx, [esp + 0xc4]
lea edx, [esp + 0xdc]
call fcn.0040dc30
lea edi, [esp + 0xdc]
call fcn.0040e2c0
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x4bca7b
push edi
call fcn.0053ddbc
mov ecx, dword [ebx]
push ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov esi, esp
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x50], edx
mov edx, dword [edi + 0x15c]
mov dword [esp + 0x18], esp
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x158]
push edx
push eax
mov dword [esp + 0x74], ecx
call fcn.004c8ea0
mov eax, dword [edi + 0x3c]
push eax
lea edi, [esp + 0x58]
call fcn.004bb650
mov byte [esp + 0x1d0], 5
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
test edi, edi
je 0x4bc7f7
cmp edi, dword [esp + 0x64]
je 0x4bc7fc
call fcn.0053d6a6
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x68]
je 0x4bcae4
mov dword [esp + 0x78], esi
test edi, edi
jne 0x4bc817
call fcn.0053d6a6
mov esi, dword [esi + 4]
test edi, edi
je 0x4bc822
mov eax, dword [edi]
jmp 0x4bc824
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4bc82e
call fcn.0053d6a6
test edi, edi
jne 0x4bca42
call fcn.0053d6a6
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4bc847
call fcn.0053d6a6
test byte [esi + 0xc], 0xc
jne 0x4bca26
mov eax, dword [esi + 8]
cdq
cmp edx, dword [esp + 0x40]
jl 0x4bca26
jg 0x4bc86b
cmp eax, dword [esp + 0x3c]
jbe 0x4bca26
cmp dword [esp + 0x18], edx
jg 0x4bc8a1
jl 0x4bc879
cmp dword [esp + 0x14], eax
jae 0x4bc8a1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x4bc8a1
jg 0x4bc895
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x44]
jbe 0x4bc8a1
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp byte [ebp + 8], 0
jne 0x4bca26
lea eax, [esp + 0x34]
lea ecx, [esi + 0x854]
push eax
call fcn.00423950
lea edx, [esp + 0x38]
lea ecx, [esi + 0x54]
push edx
mov byte [esp + 0x1d4], 6
call fcn.00423950
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x14]
push eax
mov byte [esp + 0x1d4], 7
call fcn.00423950
mov byte [esp + 0x1d0], 8
mov eax, dword [esi + 8]
cdq
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x74], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x70], eax
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x7c]
call fcn.004b56c0
mov byte [esp + 0x1d0], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bc941
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1d0], 0xb
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc969
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1d0], 0xc
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc991
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x98]
push ecx
push ecx
mov eax, esp
lea esi, [esp + 0x54]
mov dword [esp + 0x7c], esp
mov dword [eax], 4
call fcn.004bb700
test al, al
je 0x4bca5e
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x50]
jne 0x4bca12
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x24], ecx
push edx
mov ecx, str.HipsLogReadFromTime
mov dword [esp + 0x24], eax
call fcn.00423950
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
mov edi, esi
mov byte [esp + 0x1d4], 0xd
call fcn.004bb7c0
test al, al
lea ecx, [esp + 0x10]
sete bl
call fcn.00423d60
test bl, bl
jne 0x4bcaa1
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x98]
mov byte [esp + 0x1d0], 5
call fcn.004b5d70
test edi, edi
jne 0x4bca2f
call fcn.0053d6a6
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
test edi, edi
je 0x4bca49
mov eax, dword [edi]
jmp 0x4bca4b
mov eax, dword [edi]
jmp 0x4bc83d
xor eax, eax
cmp ecx, dword [eax + 0x14]
jne 0x4bc7ed
call fcn.0053d6a6
jmp 0x4bc7ed
lea eax, [esp + 0x98]
call fcn.004b5d70
lea eax, [esp + 0x4c]
mov byte [esp + 0x1d0], 4
call fcn.004bc140
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x1d4], 3
call fcn.0040da50
lea ecx, [esp + 0xc0]
call fcn.0040eb20
jmp 0x4bccd0
lea eax, [esp + 0x98]
call fcn.004b5d70
lea eax, [esp + 0x4c]
mov byte [esp + 0x1d0], 4
call fcn.004bc140
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x1d4], 3
call fcn.0040da50
lea ecx, [esp + 0xc0]
call fcn.0040eb20
jmp 0x4bccd0
lea ecx, [esp + 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, eax
or edx, ecx
je 0x4bcc68
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, str.HipsLogReadFromTime
push eax
call fcn.00423950
cmp byte [ebp + 8], 0
je 0x4bcbaa
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1dc], 0xe
call fcn.004befc0
mov byte [esp + 0x1d0], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bcb69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x1d0], 4
call fcn.004bc140
lea ecx, [esp + 0xdc]
push ecx
mov byte [esp + 0x1d4], 3
call fcn.0040da50
cmp dword [esp + 0xd8], 8
jb 0x4bccd0
mov edx, dword [esp + 0xc4]
push edx
jmp 0x4bccc8
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
lea edi, [esp + 0x50]
mov byte [esp + 0x1d4], 0xf
call fcn.004bb7c0
test al, al
mov byte [esp + 0x1d0], 5
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bcbf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x4c]
test bl, bl
je 0x4bcc36
cmp dword [esp + 0x54], 0
mov byte [esp + 0x1d0], 4
setne bl
call fcn.004bc140
lea ecx, [esp + 0xdc]
push ecx
mov byte [esp + 0x1d4], 3
call fcn.0040da50
lea ecx, [esp + 0xc0]
call fcn.0040eb20
mov al, bl
jmp 0x4bccd2
mov byte [esp + 0x1d0], 4
call fcn.004bc140
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x1d4], 3
call fcn.0040da50
lea ecx, [esp + 0xc0]
call fcn.0040eb20
mov al, 1
jmp 0x4bccd2
mov byte [esp + 0x1d0], 4
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4bcca1
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4bcca1
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4bcca1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x1d4], 3
call fcn.0040da50
cmp dword [esp + 0xd8], 8
jb 0x4bccd0
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.0053c152
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.0053c15d
mov esp, ebp
pop ebp
ret 4