Function at 0x4f3ce0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550c41
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5c2b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x4f3db2
lea ecx, [ebp - 0x14]
call fcn.004f3890
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
push eax
call fcn.0045be70
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f3d66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x4f3db2
mov ecx, 0x59a080
call fcn.004f06e0
push eax
mov ecx, edi
call fcn.00457210
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4f40d9
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4f40d9
push ecx
mov esi, esp
mov dword [ebp - 0x1c], 0
lea ecx, [eax - 0x10]
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], esi
call fcn.00456280
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004f4100
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x4f3e2c
lea ecx, [eax - 0x10]
call fcn.00456280
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f3e27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4f40b8
mov ecx, 0x59a090
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x14]
call fcn.00457210
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
test ecx, ecx
jne 0x4f3e4e
or eax, 0xffffffff
jmp 0x4f3e74
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jge 0x4f3e5c
or eax, 0xffffffff
jmp 0x4f3e74
push ecx
push eax
call fcn.0052b75b
add esp, 8
test eax, eax
jne 0x4f3e6f
or eax, 0xffffffff
jmp 0x4f3e74
sub eax, dword [ebp + 8]
sar eax, 1
test eax, eax
setg byte [ebp - 0x21]
mov byte [ebp - 4], 7
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f3e9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x21], 0
je 0x4f407f
push 0x5c
push dword [ebp + 8]
call fcn.0052bd07
add esp, 8
test eax, eax
je 0x4f407f
sub eax, dword [ebp + 8]
sar eax, 1
test eax, eax
jle 0x4f407f
inc eax
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0045eb20
mov byte [ebp - 4], 0xd
mov ecx, 0x59a0b0
mov dword [ebp - 0x18], 0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x28]
call fcn.00457210
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045bbe0
add esp, 4
mov byte [ebp - 4], 0x10
mov ecx, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f3f2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x4f3f4b
push 0
lea ecx, [ebp - 0x18]
call fcn.00456e30
mov eax, dword [ebp - 0x18]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4f403f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
xor edx, edx
mov ecx, edi
add ecx, 0xa
setb dl
neg edx
or edx, ecx
push edx
call fcn.0052c9dc
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push 0
push eax
push edi
mov edi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
push str.SplashScreen_Image
push esi
mov byte [eax + esi], 0
call fcn.0052d600
mov esi, eax
add esp, 8
test esi, esi
je 0x4f403c
add esi, 0x14
push 0x5c
push esi
call fcn.0052cba0
add esp, 8
test eax, eax
je 0x4f403c
sub esp, 0x18
mov byte [eax], 0
mov ecx, esp
mov dword [ebp - 0x28], esp
push esi
call fcn.00455ea0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x30]
call fcn.00456f70
add esp, 0x18
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18]
call fcn.00456040
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00456040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00456040
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00456040
mov eax, dword [ebp - 0x30]
jmp 0x4f40db
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 0xd
mov ecx, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f405f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f407f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x59a080
call fcn.004f06e0
push eax
mov ecx, edi
call fcn.00457210
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f40b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4f40d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret