Function at 0x426620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42a0a5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x435390]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x435390]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp eax, ebx
jne 0x42667a
mov eax, 0x42f30c
xor ecx, ecx
mov word [esp + 0x28], cx
mov ecx, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x426692
sub ecx, edi
sar ecx, 1
push ecx
lea ecx, [esp + 0x2c]
call fcn.00406ef0
lea edx, [esp + 0x28]
push edx
lea eax, [esi + 0x28]
mov dword [esp + 0x74], ebx
call fcn.0040b650
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x2c]
je 0x4266eb
mov edi, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x4266d3
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
call fcn.00401c80
test eax, eax
js 0x4266eb
lea eax, [esp + 0x14]
jmp 0x4266f6
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov eax, dword [eax]
cmp dword [esi + 0x2c], eax
je 0x426734
mov ecx, dword [eax + 0x28]
mov esi, dword [esp + 0x1c]
mov dword [esi], ecx
mov edx, dword [eax + 0x2c]
mov dword [esi + 4], edx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x426728
mov eax, dword [esp + 0x28]
push eax
call fcn.0040e683
add esp, 4
xor ecx, ecx
mov word [esp + 0x28], cx
jmp 0x426894
mov ebx, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
mov eax, ebx
call fcn.0040db00
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 4]
je 0x426772
mov edi, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x42675a
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
call fcn.00401c80
test eax, eax
js 0x426772
lea eax, [esp + 0x18]
jmp 0x42677d
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov eax, dword [eax]
cmp dword [ebx + 4], eax
je 0x42678f
mov ebx, dword [eax + 0x28]
test ebx, ebx
jne 0x426858
mov eax, dword [esp + 0x10]
test eax, eax
je 0x426860
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4267a0
sub eax, edx
sar eax, 1
je 0x426860
lea eax, [esp + 0x28]
call fcn.00428ab0
cmp eax, 1
jne 0x426860
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00428af0
add esp, 4
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x78], 1
call fcn.0040b090
lea ecx, [esp + 0x30]
push ecx
mov ebx, eax
call fcn.00428a40
add esp, 0xc
mov edi, eax
mov esi, ebx
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], 0
call fcn.0040b100
cmp dword [esp + 0x3c], 8
mov esi, eax
mov eax, dword [esp + 0x28]
jae 0x42681f
lea eax, [esp + 0x28]
push 0x42fcbc
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0040fdfa
add esp, 0xc
test eax, eax
jne 0x42684a
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x3c]
push eax
push 1
push ecx
push esi
call fcn.0041008b
add esp, 0x10
lea esi, [esp + 0x44]
mov byte [esp + 0x70], 0
call fcn.0040b3d0
mov eax, dword [ebx + 0x44]
mov ebx, dword [ebx + 0x48]
jmp 0x426868
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x42688d
mov edx, dword [esp + 0x28]
push edx
call fcn.0040e683
add esp, 4
xor eax, eax
mov word [esp + 0x28], ax
mov eax, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 7
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0040e68e
mov esp, ebp
pop ebp
ret 8