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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x570e06
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x5c5678]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
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.00425130
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x1d4], edi
push esi
lea edi, [esp + 0x44]
call fcn.004c0810
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 0x4be065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4be6c0
lea eax, [esp + 0x7c]
call fcn.00409c60
push str.galaxy.dat
mov ecx, eax
lea esi, [esp + 0xc4]
mov dword [esp + 0x1d4], 1
call fcn.00419f40
add esp, 4
mov esi, 8
mov byte [esp + 0x1d0], 3
cmp dword [esp + 0x94], esi
jb 0x4be0bd
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0053d782
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 0x4be0f4
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4be119
cmp dword [esp + 0xd8], esi
jb 0x4be6c0
mov eax, dword [esp + 0xc4]
push eax
jmp 0x4be6b8
lea ecx, [esp + 0xdc]
push ecx
call fcn.0040e3f0
mov byte [esp + 0x1d0], 4
cmp dword [esp + 0xd4], 0
je 0x4be15b
mov ecx, dword [esp + 0xc4]
cmp dword [esp + 0xd8], esi
jae 0x4be14f
lea ecx, [esp + 0xc4]
lea edx, [esp + 0xdc]
call fcn.0040e500
lea edi, [esp + 0xdc]
call fcn.0040eb90
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x4be46b
push edi
call fcn.0053f3ec
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.004ca8a0
mov eax, dword [edi + 0x3c]
push eax
lea edi, [esp + 0x58]
call fcn.004bd040
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 0x4be1e7
cmp edi, dword [esp + 0x64]
je 0x4be1ec
call fcn.0053ecd6
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x68]
je 0x4be4d4
mov dword [esp + 0x78], esi
test edi, edi
jne 0x4be207
call fcn.0053ecd6
mov esi, dword [esi + 4]
test edi, edi
je 0x4be212
mov eax, dword [edi]
jmp 0x4be214
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4be21e
call fcn.0053ecd6
test edi, edi
jne 0x4be432
call fcn.0053ecd6
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4be237
call fcn.0053ecd6
test byte [esi + 0xc], 0xc
jne 0x4be416
mov eax, dword [esi + 8]
cdq
cmp edx, dword [esp + 0x40]
jl 0x4be416
jg 0x4be25b
cmp eax, dword [esp + 0x3c]
jbe 0x4be416
cmp dword [esp + 0x18], edx
jg 0x4be291
jl 0x4be269
cmp dword [esp + 0x14], eax
jae 0x4be291
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x4be291
jg 0x4be285
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x44]
jbe 0x4be291
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp byte [ebp + 8], 0
jne 0x4be416
lea eax, [esp + 0x34]
lea ecx, [esi + 0x854]
push eax
call fcn.00425130
lea edx, [esp + 0x38]
lea ecx, [esi + 0x54]
push edx
mov byte [esp + 0x1d4], 6
call fcn.00425130
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x14]
push eax
mov byte [esp + 0x1d4], 7
call fcn.00425130
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.004b7020
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 0x4be331
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 0x4be359
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 0x4be381
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.004bd0f0
test al, al
je 0x4be44e
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x50]
jne 0x4be402
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.00425130
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
mov edi, esi
mov byte [esp + 0x1d4], 0xd
call fcn.004bd1b0
test al, al
lea ecx, [esp + 0x10]
sete bl
call fcn.00425530
test bl, bl
jne 0x4be491
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x98]
mov byte [esp + 0x1d0], 5
call fcn.004b76d0
test edi, edi
jne 0x4be41f
call fcn.0053ecd6
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
test edi, edi
je 0x4be439
mov eax, dword [edi]
jmp 0x4be43b
mov eax, dword [edi]
jmp 0x4be22d
xor eax, eax
cmp ecx, dword [eax + 0x14]
jne 0x4be1dd
call fcn.0053ecd6
jmp 0x4be1dd
lea eax, [esp + 0x98]
call fcn.004b76d0
lea eax, [esp + 0x4c]
mov byte [esp + 0x1d0], 4
call fcn.004bdb30
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x1d4], 3
call fcn.0040e320
lea ecx, [esp + 0xc0]
call fcn.0040f400
jmp 0x4be6c0
lea eax, [esp + 0x98]
call fcn.004b76d0
lea eax, [esp + 0x4c]
mov byte [esp + 0x1d0], 4
call fcn.004bdb30
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x1d4], 3
call fcn.0040e320
lea ecx, [esp + 0xc0]
call fcn.0040f400
jmp 0x4be6c0
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 0x4be658
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, str.HipsLogReadFromTime
push eax
call fcn.00425130
cmp byte [ebp + 8], 0
je 0x4be59a
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.004c09b0
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 0x4be559
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.004bdb30
lea ecx, [esp + 0xdc]
push ecx
mov byte [esp + 0x1d4], 3
call fcn.0040e320
cmp dword [esp + 0xd8], 8
jb 0x4be6c0
mov edx, dword [esp + 0xc4]
push edx
jmp 0x4be6b8
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
lea edi, [esp + 0x50]
mov byte [esp + 0x1d4], 0xf
call fcn.004bd1b0
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 0x4be5e1
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 0x4be626
cmp dword [esp + 0x54], 0
mov byte [esp + 0x1d0], 4
setne bl
call fcn.004bdb30
lea ecx, [esp + 0xdc]
push ecx
mov byte [esp + 0x1d4], 3
call fcn.0040e320
lea ecx, [esp + 0xc0]
call fcn.0040f400
mov al, bl
jmp 0x4be6c2
mov byte [esp + 0x1d0], 4
call fcn.004bdb30
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x1d4], 3
call fcn.0040e320
lea ecx, [esp + 0xc0]
call fcn.0040f400
mov al, 1
jmp 0x4be6c2
mov byte [esp + 0x1d0], 4
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4be691
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4be691
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 0x4be691
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.0040e320
cmp dword [esp + 0xd8], 8
jb 0x4be6c0
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.0053d782
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.0053d78d
mov esp, ebp
pop ebp
ret 4