Function at 0x7be24b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x830e54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x54], ecx
cmp eax, ecx
je 0x7be4d8
cmp byte [eax], cl
je 0x7be4d8
cmp edi, ecx
je 0x7be4d8
cmp byte [edi], cl
je 0x7be4d8
cmp edx, ecx
je 0x7be4d8
cmp esi, ecx
je 0x7be4d8
lea ebx, [ebp - 0x40]
call fcn.007bd788
test eax, eax
jne 0x7be4dd
mov eax, dword [ebp - 0x48]
push 1
lea esi, [ebp - 0x44]
call fcn.007bd7dc
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x7be4a8
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x44]
push 1
push dword [ebp + 0x10]
lea esi, [ebp - 0x3c]
push dword [ebp + 0x20]
call fcn.007bdcce
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x7be4a8
push 8
mov eax, esi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.007c2eb0
mov ebx, dword [ebp - 0x40]
push 1
push dword [ebp + 0x1c]
push dword [ebp - 0x50]
call fcn.007bdbf7
add esp, 0x18
test eax, eax
jne 0x7be4dd
push 8
mov eax, esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.007c2eb0
mov ebx, dword [ebp - 0x18]
push 0x28
pop edi
push dword [ebp - 0x44]
add ebx, 0x28
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], edi
call fcn.007bd761
mov esi, eax
lea eax, [ebx + 2]
sub esi, edi
push eax
mov dword [ebp - 0x54], esi
call fcn.0074274a
add esp, 0x14
push 0
push 0x28
push dword [ebp - 0x44]
mov edi, eax
call fcn.007d0a5d
pop ecx
push eax
call fcn.007d1c1b
add esp, 0xc
test eax, eax
jns 0x7be383
mov ebx, 0xdaf
jmp 0x7be4ab
push 0
push 0x28
push dword [ebp - 0x40]
call fcn.007d0a5d
pop ecx
push eax
call fcn.007d1c1b
add esp, 0xc
test eax, eax
js 0x7be379
cmp esi, 0x28
jg 0x7be3eb
mov ebx, dword [ebp - 0x40]
push 0
push dword [ebp + 0x1c]
lea esi, [ebp - 0x3c]
push dword [ebp - 0x50]
call fcn.007bdbf7
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x7be4ab
push dword [ebp - 0x40]
call fcn.007cf402
push eax
push dword [ebp - 0x5c]
call fcn.0075ecfc
add esp, 0xc
test eax, eax
jns 0x7be4ab
mov ebx, 0xdb0
jmp 0x7be4ab
mov ebx, dword [ebp - 0x4c]
push ebx
push edi
push dword [ebp - 0x44]
call fcn.007d0a5d
pop ecx
push eax
call fcn.007d2b83
add esp, 0xc
cmp eax, ebx
jne 0x7be379
push dword [ebp - 0x18]
lea esi, [edi + 0x28]
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x58]
push dword [ebp + 0x20]
push 8
pop eax
call fcn.007bd8b5
add esp, 0x1c
test eax, eax
jne 0x7be4dd
call fcn.007588e5
push 8
push edi
mov dword [edi + 8], eax
push dword [ebp - 0x18]
mov eax, edi
push esi
push dword [ebp + 0x20]
call fcn.007bd9a2
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x7be4ab
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
push dword [ebp + 0x1c]
push dword [ebp - 0x50]
push dword [ebp + 0x20]
push 8
pop eax
call fcn.007bd8b5
add esp, 0x1c
test eax, eax
jne 0x7be4dd
push dword [ebp - 0x4c]
push edi
push dword [ebp - 0x40]
call fcn.007d0a5d
pop ecx
push eax
call fcn.007d23e2
add esp, 0xc
cmp eax, dword [ebp - 0x4c]
jne 0x7be3de
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x54]
jl 0x7be3e8
jmp 0x7be3a2
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x40], 0
je 0x7be4ba
push dword [ebp - 0x40]
call fcn.007c09de
pop ecx
cmp dword [ebp - 0x44], 0
je 0x7be4c9
push dword [ebp - 0x44]
call fcn.007c09de
pop ecx
test edi, edi
je 0x7be4d4
push edi
call fcn.007c9cf8
pop ecx
mov eax, ebx
jmp 0x7be4dd
mov eax, 0xdad
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007c1e9d
leave
ret