Function at 0x46a610
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 - 0x18], 0
push 0x507114
mov eax, dword [str.SequenceTable.dat]
push eax
call fcn.004943f0
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46a668
push str.The_file_SequenceTable.dat_was_not_opened__n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x46a8b1
push 2
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00494fe0
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
call fcn.00494c20
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jg 0x46a6ae
mov eax, dword [ebp - 0x18]
push eax
call fcn.00493af0
add esp, 4
push str.The_file_SequenceTable.dat_is_empty_n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x46a8b1
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x70
div ecx
mov word [0x618b4a], ax
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00494fe0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x46a6e2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movsx ecx, word [0x618b4a]
cmp dword [ebp - 8], ecx
jge 0x46a7fa
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
jmp 0x46a70b
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 4
jge 0x46a7de
mov eax, dword [ebp - 0x18]
push eax
push 1
push 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*4]
imul eax, eax, 0xc
add eax, dword [0x618b50]
push eax
call fcn.00494bc0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
push 1
push 0x10
lea edx, [ebp - 0x2c]
push edx
call fcn.00494bc0
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*4]
imul edx, edx, 0xc
mov eax, dword [0x618b50]
movsx ecx, word [eax + edx + 8]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jle 0x46a7bf
mov edx, dword [ebp - 0x10]
push edx
call fcn.00493ac0
add esp, 4
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea ecx, [edx + ecx*4]
imul ecx, ecx, 0xc
mov edx, dword [0x618b50]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*4]
imul ecx, ecx, 0xc
mov edx, dword [0x618b50]
mov eax, dword [edx + ecx + 4]
push eax
call fcn.004952a0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x46a7d9
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*4]
imul ecx, ecx, 0xc
mov edx, dword [0x618b50]
mov dword [edx + ecx + 4], 0
jmp 0x46a702
movsx eax, word [0x618b4e]
cmp eax, dword [ebp - 0x14]
jge 0x46a7f5
mov cx, word [ebp - 0x14]
mov word [0x618b4e], cx
jmp 0x46a6d9
mov edx, dword [ebp - 0x18]
push edx
call fcn.00493af0
add esp, 4
mov dword [ebp - 8], 0
jmp 0x46a818
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20
jge 0x46a8af
mov dword [ebp - 0xc], 0
jmp 0x46a834
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 4
jge 0x46a8aa
mov edx, dword [ebp - 8]
add edx, 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax*4]
imul eax, eax, 0xc
mov ecx, dword [0x618b50]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0xc]
add edx, 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax*4]
imul eax, eax, 0xc
mov ecx, dword [0x618b50]
mov byte [ecx + eax + 1], dl
mov edx, dword [ebp - 8]
add edx, 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax*4]
imul eax, eax, 0xc
mov ecx, dword [0x510840]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0xc]
add edx, 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax*4]
imul eax, eax, 0xc
mov ecx, dword [0x510840]
mov byte [ecx + eax + 1], dl
jmp 0x46a82b
jmp 0x46a80f
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x46a8dc]
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