Function at 0x4699d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x620
mov eax, dword [0x59099c]
xor eax, esp
mov dword [esp + 0x61c], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, edx
lea ecx, [esp + 0x20]
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov edi, 0x200
jmp 0x469a14
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x24]
sub ecx, eax
sar ecx, 1
mov ebp, ecx
je 0x469a6d
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [eax + 0x38]
jb 0x469a32
mov ebx, esi
call fcn.00463310
mov ebx, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
push esi
mov eax, ebp
mov dword [ebx], 5
call fcn.0046d180
mov dword [ebx + 8], eax
add dword [esi + 8], 0x10
add dword [esp + 0x24], 1
lea ecx, [esp + 0x20]
lea eax, [esp + 0x2c]
push ecx
mov dword [esp + 0x24], eax
call fcn.00445f50
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov esi, dword [esp + 0x634]
cmp edi, esi
jbe 0x469a7a
mov edi, esi
call fcn.004717e0
test eax, eax
je 0x469aa0
mov edx, dword [0x5eee20]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
push ebx
push edi
push 1
lea edx, [esp + 0x434]
push edx
call eax
jmp 0x469ab7
mov ecx, dword [ebx + 8]
push ecx
push edi
lea edx, [esp + 0x430]
push 1
push edx
call fcn.00508cbd
add esp, 0x10
xor ecx, ecx
test eax, eax
jbe 0x469ad5
lea ecx, [ecx]
movzx dx, byte [esp + ecx + 0x428]
mov word [esp + ecx*2 + 0x24], dx
add ecx, 1
cmp ecx, eax
jb 0x469ac0
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*2]
sub esi, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x634], esi
je 0x469af3
cmp eax, edi
je 0x469a10
lea edx, [esp + 0x24]
sub ecx, edx
sar ecx, 1
mov edi, ecx
je 0x469b42
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [eax + 0x38]
jb 0x469b15
mov ebx, esi
call fcn.00463310
mov ebx, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
push esi
mov eax, edi
mov dword [ebx], 5
call fcn.0046d180
mov dword [ebx + 8], eax
add dword [esi + 8], 0x10
lea eax, [esp + 0x2c]
add esp, 8
add dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [eax + 0x38]
mov ebp, dword [esp + 0x1c]
jb 0x469b5c
mov ebx, esi
call fcn.00463310
cmp ebp, 2
jl 0x469b87
mov edx, dword [esi + 8]
sub edx, dword [esi + 0xc]
sar edx, 4
sub edx, 1
push edx
push ebp
push esi
call fcn.0046e650
shl ebp, 4
mov eax, 0x10
sub eax, ebp
add esp, 0xc
add dword [esi + 8], eax
jmp 0x469ba7
test ebp, ebp
jne 0x469ba7
mov ebx, dword [esi + 8]
push ebp
push esi
xor eax, eax
mov dword [ebx], 5
call fcn.0046d180
add esp, 8
mov dword [ebx + 8], eax
add dword [esi + 8], 0x10
cmp dword [esp + 0x634], 0
mov dword [esp + 0x1c], 1
je 0x469bed
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 8]
sub esi, 0x10
je 0x469be9
cmp dword [esi], 5
jne 0x469bd2
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
jmp 0x469be5
call fcn.0046d3d0
test eax, eax
je 0x469be3
mov edx, dword [esi + 8]
mov eax, dword [edx + 0xc]
jmp 0x469be5
xor eax, eax
test eax, eax
ja 0x469bed
xor eax, eax
jmp 0x469bf2
mov eax, 1
mov ecx, dword [esp + 0x62c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050bc9c
add esp, 0x620
ret