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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push ecx
xor ebx, ebx
lea ecx, [ebp - 0x44]
push 0x100000
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call fcn.1800fbe1
call fcn.18067a3d
mov esi, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov edx, ebx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x18067bc5
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push dword [ecx + edx*4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x18067c80
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push eax
push edi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18067c80
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
adc ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
ja 0x18067c79
jb 0x18067b62
cmp eax, 0x40000000
ja 0x18067c79
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18067c70
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x18067b9b
mov eax, dword [esi]
push ecx
push dword [ebp - 0x44]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
je 0x18067b6e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x14], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x18067b01
push ecx
push 0x20
pop edi
push edi
lea ecx, [ebp - 0x38]
call fcn.18067db4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push edi
push eax
push dword [ebp - 0x38]
call fcn.18175220
mov eax, dword [ebp + 0x14]
add esp, 0xc
push edi
test eax, eax
je 0x18067c95
push dword [ebp - 0x38]
push dword [eax]
call fcn.18175acf
add esp, 0xc
test eax, eax
je 0x18067caa
lea ecx, [ebp + 8]
call fcn.18009d8f
mov ecx, dword [ebp - 0x38]
lea eax, [ebp + 8]
xor ebx, ebx
mov edx, edi
inc ebx
push ebx
push eax
call fcn.18011590
mov edi, dword [ebp + 8]
pop ecx
pop ecx
movzx ecx, byte [0x182340f3]
neg ecx
sbb ecx, ecx
and ecx, 0x18233ff0
je 0x18067c61
push 9
pop eax
push ebx
push eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
call fcn.18008a16
push edi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push str._actual_hash_S_
push eax
call fcn.18006b74
add esp, 0xc
lea ecx, [edi - 0x10]
call fcn.1800694d
mov ebx, 0x80040204
jmp 0x18067caa
call fcn.18018dce
mov ebx, eax
jmp 0x18067c8c
mov ebx, 0x80040205
jmp 0x18067c87
call fcn.18018dce
mov ebx, eax
cmp edi, 0xffffffff
je 0x18067cb2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18067cb2
xor ecx, ecx
call fcn.1800e440
push edi
push dword [ebp - 0x38]
push dword [ebx]
call fcn.18175220
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.1800fc6d
test esi, esi
je 0x18067cbe
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
lea ecx, [ebp - 0x44]
call fcn.1800fc6d
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14