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

Disassembly:
push 0x98
mov eax, 0x4699f5
call fcn.00463f70
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xa4]
call fcn.004382ee
mov byte [ebp - 4], 3
mov eax, dword [0x4872ec]
mov edi, 0x4872ec
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.0044c280
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 [0x4872ec]
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.004024b6
mov eax, dword [ebp - 0x18]
add esp, 0x10
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x10]
call fcn.004053cf
lea esi, [ebp - 0x1c]
call fcn.00402d8b
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 0x404ac9
or esi, eax
or dword [ebp - 0x20], eax
jmp 0x404af4
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 0x404aee
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
jmp 0x404af4
or esi, 0xffffffff
mov dword [ebp - 0x20], esi
mov eax, dword [0x4872ec]
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.004024b6
mov esi, dword [ebp - 0x14]
add esp, 0x10
push dword [esi - 0xc]
lea eax, [ebp + 0x10]
push esi
call fcn.004053cf
lea eax, [ebp - 0x20]
push eax
call fcn.00402370
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.004024b6
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
add esp, 0x18
add eax, 0xfffffff0
call fcn.004017b8
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.0040fef7
add esp, 0x10
lea eax, [esi - 0x10]
call fcn.004017b8
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, edi
call fcn.004017b8
lea eax, [ebp - 0xa4]
call fcn.00438337
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004017b8
xor eax, eax
inc eax
call fcn.0046400f
ret