Function at 0x48ff65
Capabilities:
Read file on windows

Disassembly:
push 0x278
mov eax, 0x4a4bf5
call fcn.00428056
mov ebx, 0x4ff0d4
push ebx
push 0x44c
call fcn.004918ae
push ebx
call fcn.0048fb64
mov eax, dword [0x4fee60]
shr eax, 0x11
and al, 1
je 0x4901cb
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.0040ad25
push 0x2e
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040b642
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.0049c6f0
test al, al
je 0x4901ba
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x4be7ac
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0044e1fb
mov esi, eax
mov dword [ebp - 0x270], esi
pop ecx
pop ecx
test esi, esi
je 0x4901ba
mov ecx, esi
call fcn.0040cf84
push eax
mov dword [ebp - 0x26c], eax
call fcn.00427769
mov edi, eax
mov dword [ebp - 0x274], edi
pop ecx
test edi, edi
je 0x4901b3
push esi
push 1
push dword [ebp - 0x26c]
push edi
call fcn.0044e863
add esp, 0x10
test eax, eax
je 0x4901ac
lea ecx, [ebp - 0xe4]
call fcn.00407e74
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.0049c4b0
test al, al
je 0x490170
cmp dword [0x4ff0e8], 0x10
mov ecx, 0x4ff0d4
mov eax, ecx
mov dword [0x4ff0e4], ebx
cmovae eax, dword [0x4ff0d4]
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 0x4ff0d4
call fcn.0048fb64
cmp dword [0x4ff130], 0x10
mov ecx, 0x4ff11c
mov eax, ecx
mov dword [0x4ff12c], ebx
cmovae eax, dword [0x4ff11c]
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.00407ea3
jmp 0x4901ac
push edi
call fcn.00427764
pop ecx
push esi
call fcn.0044dad4
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00401656
jmp 0x4901cd
xor ebx, ebx
mov esi, 0x4ff0ec
push esi
push 0x438
call fcn.004918ae
cmp dword [0x4ff0fc], 2
jbe 0x4901ec
push esi
call fcn.0041335c
mov ecx, dword [0x4ff0c8]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [0x4fee60]
shr eax, 0x12
test al, 1
je 0x490294
lea ecx, [ebp - 0x264]
call fcn.004078c3
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 5
call fcn.0041029b
test al, al
je 0x490289
push 0x43
lea eax, [ebp - 0x44]
mov ecx, 0x4d7148
push eax
call fcn.0040934b
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 0x4cef40
push eax
mov dword [ebp - 0x284], esi
call fcn.004421c6
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.0049192a
test al, al
je 0x4902f2
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040dd6c
mov byte [ebp - 4], 9
mov ecx, dword [0x4ff134]
test ecx, ecx
je 0x4902e3
lea eax, [ebp - 0x11c]
push eax
call fcn.0049c2f0
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 8
call fcn.0040ddd6
call fcn.00491261
cmp dword [0x4fefc0], 0
mov al, bl
jne 0x49030b
cmp dword [0x4fefc4], 0
je 0x49030d
mov al, 1
cmp word [0x4ff1b8], 0
jg 0x490320
cmp dword [0x4ff170], 0
je 0x490322
mov al, 1
test al, al
je 0x49032b
call fcn.004908ea
lea eax, [ebp - 0x44]
push eax
call fcn.0048f7a0
push 0x4ff194
push 0x4ff17c
push 0x4fefc4
push 0x4fefc0
mov edx, 0x4ff1f4
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.004999e0
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
push ebx
push 1
call fcn.00401656
mov ecx, dword [0x4ff0c8]
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.00491032
call fcn.0049055b
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00407543
call fcn.00427fa2
ret