Function at 0x111b4d0
Capabilities:
Get file size
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov ecx, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push ebx
push 1
push ebx
xor eax, eax
push 3
push 7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
push 0xc0000000
push eax
push ecx
call fcn.011004d0
mov esi, eax
cmp esi, ebx
je 0x111b707
cmp esi, 0xffffffff
je 0x111b707
push edi
lea edx, [ebp - 0x2c]
push edx
push esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 1
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
cmp dword [ebp - 0x28], ebx
jg 0x111b542
mov edi, dword [ebp - 0x2c]
jl 0x111b547
cmp edi, 0x40000000
jb 0x111b547
mov edi, 0x40000000
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
push ebx
push ebx
push ebx
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x111b6e8
cmp eax, 0xffffffff
je 0x111b6e8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
lea ecx, [ecx]
mov edx, dword [ebp - 8]
push edi
push 0
push 0
push 0xf001f
push edx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x111b5b6
cmp edi, 0x100000
jb 0x111b590
shr edi, 1
jmp 0x111b590
mov dword [ebp - 0xc], edi
lea esp, [esp]
movzx eax, byte [esi + edi - 1]
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp - 4]
push 0
mov byte [ebp + 0xf], al
mov eax, dword [ebp + 0x14]
push eax
xor eax, eax
add edx, dword [ebp - 0x1c]
push ecx
adc eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
push eax
push edx
lea edx, [esi + ecx]
push edx
mov byte [esi + edi - 1], 0
call fcn.01039b10
mov ecx, eax
movzx eax, byte [ebp + 0xf]
mov byte [esi + edi - 1], al
test ecx, ecx
je 0x111b68e
cmp dword [ebp - 0x20], 0
jl 0x111b68e
jg 0x111b616
test ebx, ebx
jbe 0x111b68e
mov eax, ecx
sub eax, esi
xor edx, edx
sub ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x20]
sbb ebx, edx
mov dword [ebp - 0x30], ebx
js 0x111b67e
jg 0x111b633
cmp dword [ebp - 0x34], 2
jbe 0x111b67e
mov ebx, dword [ebp - 0x50]
xor edx, edx
div ebx
imul eax, ebx
mov ebx, dword [ebp - 0x24]
sub ecx, eax
sub ecx, esi
mov dword [ebp - 4], ecx
xor ecx, ecx
add dword [ebp - 0x1c], eax
adc dword [ebp - 0x18], ecx
sub ebx, eax
mov eax, dword [ebp - 0x20]
sbb eax, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
cmp ebx, edi
jne 0x111b668
cmp eax, ecx
jne 0x111b668
xor edi, edi
jmp 0x111b68e
xor ecx, ecx
cmp eax, ecx
jg 0x111b679
jl 0x111b675
cmp ebx, dword [ebp - 0xc]
jae 0x111b679
mov edi, ebx
jmp 0x111b68e
mov edi, dword [ebp - 0xc]
jmp 0x111b68e
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push esi
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
cmp dword [ebp - 0x20], 0
jl 0x111b6dc
jg 0x111b6a1
test ebx, ebx
jbe 0x111b6dc
test edi, edi
jbe 0x111b6dc
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x111b6dc
jg 0x111b6b4
cmp dword [ebp - 0x1c], 0
jbe 0x111b6dc
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
push edi
push ecx
push eax
push 0xf001f
push edx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov esi, eax
mov eax, dword [ebp - 4]
lea ecx, [esi + eax]
mov dword [ebp - 0x10], ecx
test esi, esi
jne 0x111b5c0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
push ecx
call fcn.010e5ec0
mov edx, dword [ebp + 0x14]
push ebx
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10