Function at 0x430cb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4eec64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
movsx ecx, word [eax + 0x1c]
cmp edi, ecx
jge 0x430f19
cmp edi, 0xffffffff
jl 0x430f19
sete cl
mov byte [ebp - 5], cl
test cl, cl
je 0x430cec
lea edi, [eax + 0x24]
jmp 0x430cf8
imul edi, edi, 0x168
add edi, dword [eax + 0x18c]
mov edx, dword [edi + 0x164]
mov eax, dword [eax + 0x59c]
push 0
push edx
push eax
call fcn.0045dd31
mov edx, dword [edi + 4]
mov eax, dword [edi + 0xc]
add esp, 0xc
cmp edx, eax
je 0x430f38
mov ecx, dword [edi + 8]
mov esi, dword [edi]
cmp ecx, esi
je 0x430f38
cmp word [edi + 0x10], 4
ja 0x430f38
mov ebx, dword [ebp + 0xc]
push 0
sub eax, edx
sub ecx, esi
push eax
push ecx
mov ecx, ebx
call fcn.0040f600
test eax, eax
jne 0x430f1b
cmp word [edi + 0x10], 4
jae 0x430d7c
or ecx, 0xffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
or edx, ecx
or esi, ecx
mov dword [eax + 4], edx
or ecx, ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
push 0xff000000
mov ecx, ebx
call fcn.0040f3e0
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 4]
cmp byte [ebp - 5], 0
mov dword [ebp - 0x20], ecx
je 0x430da2
movzx eax, word [edi + 0x10]
imul eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x430da7
mov dword [ebp - 0x14], ecx
mov eax, ecx
xor esi, esi
add eax, eax
mov dword [ebp - 0x18], esi
call fcn.00472bc0
xor edx, edx
mov dword [ebp - 0xc], esp
mov dword [ebp - 0x10], esi
cmp dx, word [edi + 0x10]
jae 0x430f0b
jmp 0x430dd0
mov eax, dword [edi + 0x14]
movsx ecx, word [eax + esi*2]
call fcn.00430830
cmp byte [ebp - 5], 0
mov ebx, eax
mov dword [ebp - 0x1c], ebx
je 0x430deb
test esi, esi
jne 0x430e1e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x59c]
push eax
push 1
lea esi, [edi + 0x154]
push 2
push esi
call fcn.0045e149
add esp, 0x10
cmp eax, 1
jne 0x430f38
mov dx, word [esi]
rol dx, 8
mov word [esi], dx
mov esi, dword [ebp - 0x10]
movzx eax, word [edi + 0x154]
cmp ax, 1
jne 0x430ecf
cmp dword [ebp - 0xc], 0
je 0x430f31
cmp byte [ebp - 5], 0
je 0x430e43
test esi, esi
jne 0x430e98
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jbe 0x430e92
mov esi, dword [ebp - 0xc]
lea ecx, [ecx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x59c]
push eax
push 1
push 2
push esi
call fcn.0045e149
add esp, 0x10
cmp eax, 1
jne 0x430f38
mov cx, word [esi]
rol cx, 8
movzx eax, cx
mov word [esi], cx
cmp ax, word [ebp - 0x18]
jbe 0x430e89
movzx edx, ax
mov dword [ebp - 0x18], edx
inc ebx
add esi, 2
cmp ebx, dword [ebp - 0x14]
jb 0x430e50
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
add ecx, ebx
push edx
call fcn.00430870
test eax, eax
jne 0x430f1b
cmp byte [ebp - 5], al
je 0x430ef8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
lea edx, [eax + ecx*2]
mov dword [ebp - 0xc], edx
jmp 0x430ef8
test ax, ax
jne 0x430f38
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov esi, dword [edi + 8]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ebp + 8]
sub esi, dword [edi]
push eax
add ecx, ebx
push edx
call fcn.00430980
test eax, eax
jne 0x430f1b
mov esi, dword [ebp - 0x10]
movzx eax, word [edi + 0x10]
inc esi
cmp esi, eax
mov dword [ebp - 0x10], esi
jl 0x430dd0
mov ebx, dword [ebp + 0xc]
cmp word [edi + 0x10], 4
jne 0x430f19
mov ecx, ebx
call fcn.00410d20
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045c0ce
mov esp, ebp
pop ebp
ret 8
mov eax, 4
jmp 0x430f1b
mov eax, 3
jmp 0x430f1b