Function at 0x48a9a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x50beb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x34], 0
push 0x50ae5c
mov eax, dword [str.XSpecialTable.dat]
push eax
call fcn.004943f0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48a9ff
push str.The_file_xspecialTable.dat_was_not_opened__n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x48ac0e
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push 1
push 0x50ada6
call fcn.00494bc0
add esp, 0x10
mov dword [ebp - 8], 0
jmp 0x48aa26
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x20
jge 0x48ac00
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0x20
mov ecx, dword [ebp - 8]
shl ecx, 5
add ecx, dword [0x512234]
push ecx
call fcn.00494bc0
add esp, 0x10
push 6
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.00493230
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
push 1
push 6
lea ecx, [ebp - 0x18]
push ecx
call fcn.00494bc0
add esp, 0x10
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [0x512234]
movsx ecx, word [eax + edx + 8]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jle 0x48aac8
mov edx, dword [ebp - 0x34]
push edx
call fcn.00493ac0
add esp, 4
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [0x512234]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [0x512234]
mov ecx, dword [eax + edx + 4]
push ecx
call fcn.004952a0
add esp, 0xc
jmp 0x48aadb
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [0x512234]
mov dword [eax + edx + 4], 0
push 6
push 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.00493230
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
push 1
push 6
lea eax, [ebp - 0x18]
push eax
call fcn.00494bc0
add esp, 0x10
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [0x512234]
movsx eax, word [edx + ecx + 0x10]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jle 0x48ab58
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00493ac0
add esp, 4
mov edx, dword [ebp - 8]
shl edx, 5
mov ecx, dword [0x512234]
mov dword [ecx + edx + 0xc], eax
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [0x512234]
mov eax, dword [edx + ecx + 0xc]
push eax
call fcn.004952a0
add esp, 0xc
jmp 0x48ab6c
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [0x512234]
mov dword [edx + ecx + 0xc], 0
push 0xc
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00493230
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push 0xc
lea edx, [ebp - 0x2c]
push edx
call fcn.00494bc0
add esp, 0x10
mov eax, dword [ebp - 8]
shl eax, 5
mov ecx, dword [0x512234]
movsx edx, word [ecx + eax + 0x18]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jle 0x48abe8
mov eax, dword [ebp - 0x34]
push eax
call fcn.00493ac0
add esp, 4
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [0x512234]
mov dword [edx + ecx + 0x14], eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [0x512234]
mov ecx, dword [eax + edx + 0x14]
push ecx
call fcn.004952a0
add esp, 0xc
jmp 0x48abfb
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [0x512234]
mov dword [eax + edx + 0x14], 0
jmp 0x48aa1d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00493af0
add esp, 4
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x48ac38]
call fcn.00492460
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004932b0
add esp, 0x34
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret