Function at 0x48ff60
Capabilities:
Read file on windows

Disassembly:
push 0x278
mov eax, 0x4a4ac5
call fcn.00428015
mov ebx, 0x4ff0bc
push ebx
push 0x44c
call fcn.004918aa
push ebx
call fcn.0048fb5f
mov eax, dword [0x4fee60]
shr eax, 0x11
and al, 1
je 0x4901c6
xor ebx, ebx
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x2c]
cmp dword [0x4fed6c], 8
mov ecx, 0x4fed58
cmovae ecx, dword [0x4fed58]
call fcn.0040acf4
push 0x2e
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040b611
mov esi, str.xstg
push esi
call fcn.0040283a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402291
mov edx, dword [0x4fee8c]
lea ecx, [ebp - 0x2c]
ror edx, 5
call fcn.0049c600
test al, al
je 0x4901b5
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x4be7a4
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0044e1ce
mov esi, eax
mov dword [ebp - 0x270], esi
pop ecx
pop ecx
test esi, esi
je 0x4901b5
mov ecx, esi
call fcn.0040cf54
push eax
mov dword [ebp - 0x26c], eax
call fcn.00427707
mov edi, eax
mov dword [ebp - 0x274], edi
pop ecx
test edi, edi
je 0x4901ae
push esi
push 1
push dword [ebp - 0x26c]
push edi
call fcn.0044e8b7
add esp, 0x10
test eax, eax
je 0x4901a7
lea ecx, [ebp - 0xe4]
call fcn.00407e43
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
push edi
call fcn.00407412
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0049c3c0
test al, al
je 0x49016b
cmp dword [0x4ff0d0], 0x10
mov ecx, 0x4ff0bc
mov eax, ecx
mov dword [0x4ff0cc], ebx
cmovae eax, dword [0x4ff0bc]
mov byte [eax], bl
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 0x10
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.00407412
push 0x4ff0bc
call fcn.0048fb5f
cmp dword [0x4ff118], 0x10
mov ecx, 0x4ff104
mov eax, ecx
mov dword [0x4ff114], ebx
cmovae eax, dword [0x4ff104]
mov byte [eax], bl
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00407412
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ebx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
push 1
mov byte [eax], bl
call fcn.00407543
lea ecx, [ebp - 0xe4]
call fcn.00407e72
jmp 0x4901a7
push edi
call fcn.00427702
pop ecx
push esi
call fcn.0044daa4
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00401656
jmp 0x4901c8
xor ebx, ebx
mov esi, 0x4ff0d4
push esi
push 0x438
call fcn.004918aa
cmp dword [0x4ff0e4], 2
jbe 0x4901e7
push esi
call fcn.0041332c
mov ecx, dword [0x4ff0b0]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [0x4fee60]
shr eax, 0x12
test al, 1
je 0x49028f
lea ecx, [ebp - 0x264]
call fcn.004078c3
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 5
call fcn.0041026b
test al, al
je 0x490284
push 0x43
lea eax, [ebp - 0x44]
mov ecx, 0x4d7148
push eax
call fcn.0040931a
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x24]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004076cd
mov esi, 0x4b8ec0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x284]
call fcn.00407704
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x284]
push 0x4cef38
push eax
mov dword [ebp - 0x284], esi
call fcn.00442196
lea ecx, [ebp - 0x264]
call fcn.00407a19
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 8
push eax
push 0x40b
call fcn.00491926
test al, al
je 0x4902ed
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040dd3c
mov byte [ebp - 4], 9
mov ecx, dword [0x4ff11c]
test ecx, ecx
je 0x4902de
lea eax, [ebp - 0x11c]
push eax
call fcn.0049c200
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 8
call fcn.0040dda6
call fcn.0049125c
cmp dword [0x4fefa8], 0
mov al, bl
jne 0x490306
cmp dword [0x4fefac], 0
je 0x490308
mov al, 1
cmp word [0x4ff1a0], 0
jg 0x49031b
cmp dword [0x4ff158], 0
je 0x49031d
mov al, 1
test al, al
je 0x490326
call fcn.004908e5
lea eax, [ebp - 0x44]
push eax
call fcn.0048f79b
push 0x4ff17c
push 0x4ff164
push 0x4fefac
push 0x4fefa8
mov edx, 0x4ff1dc
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.004998f0
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
push ebx
push 1
call fcn.00401656
mov ecx, dword [0x4ff0b0]
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.0049102d
call fcn.00490556
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00407543
call fcn.00427f62
ret