Function at 0x4047fb
Capabilities:
Get file size
Get memory capacity

Disassembly:
push 0x98
mov eax, 0x469ae6
call fcn.004640e0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xa4]
call fcn.004386fe
mov byte [ebp - 4], 3
mov eax, dword [0x4882ec]
mov edi, 0x4882ec
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x38
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push ebx
push eax
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 0x70], ebx
call fcn.0044c3e0
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
shrd esi, eax, 0x14
shr eax, 0x14
mov eax, dword [ebp - 0x64]
shrd eax, ecx, 0x14
mov dword [ebp - 0x14], eax
mov eax, dword [0x4882ec]
shr ecx, 0x14
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
mov byte [ebp - 4], 5
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push str._mem:_d__d_
push eax
call fcn.004024cb
mov eax, dword [ebp - 0x18]
add esp, 0x10
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x10]
call fcn.00405206
lea esi, [ebp - 0x1c]
call fcn.00402cd6
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
mov byte [ebp - 4], 6
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4048d9
or esi, eax
or dword [ebp - 0x20], eax
jmp 0x404904
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x4048fe
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
jmp 0x404904
or esi, 0xffffffff
mov dword [ebp - 0x20], esi
mov eax, dword [0x4882ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
mov byte [ebp - 4], 7
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push str.__s__size:_dbytes_
push eax
call fcn.004024cb
mov esi, dword [ebp - 0x14]
add esp, 0x10
push dword [esi - 0xc]
lea eax, [ebp + 0x10]
push esi
call fcn.00405206
lea eax, [ebp - 0x20]
push eax
call fcn.00402385
pop ecx
mov byte [ebp - 4], 8
push dword [ebp + 0x10]
mov eax, dword [eax]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push str.https:__log.bandi.so_error_app.php_name_sbuildDate_sversion_slog_s
push eax
call fcn.004024cb
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
add esp, 0x18
add eax, 0xfffffff0
call fcn.004017c3
mov edi, dword [ebp - 0x28]
push ebx
push str.XHttp
lea eax, [ebp - 0xa4]
push eax
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x20], ebx
mov eax, edi
mov dword [ebp - 0x30], esp
mov ebx, esp
call fcn.004015e7
mov ecx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebx], eax
call fcn.0040fffa
add esp, 0x10
lea eax, [esi - 0x10]
call fcn.004017c3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, edi
call fcn.004017c3
lea eax, [ebp - 0xa4]
call fcn.00438747
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004017c3
xor eax, eax
inc eax
call fcn.0046417f
ret