Function at 0x43a918
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
mov dword [ebp - 4], eax
je 0x43ab24
cmp byte [esi + 0x5c], 0x72
jne 0x43ab24
mov ecx, dword [esi + 0x38]
cmp ecx, 0xfffffffd
je 0x43ab1f
cmp ecx, 0xffffffff
je 0x43ab1f
xor edi, edi
inc edi
cmp ecx, edi
jne 0x43a95a
xor eax, eax
jmp 0x43ab27
cmp dword [esi + 0x6c], 0xffffffff
mov ebx, 0x4000
mov dword [ebp - 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
je 0x43a997
mov cl, byte [esi + 0x6c]
mov byte [eax], cl
or dword [esi + 0x6c], 0xffffffff
inc eax
inc dword [esi + 0xc]
dec dword [esi + 0x10]
inc dword [esi + 0x68]
cmp dword [esi + 0x70], 0
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
je 0x43a997
mov dword [esi + 0x38], edi
mov eax, edi
jmp 0x43ab27
cmp dword [esi + 0x10], 0
je 0x43aaed
xor ecx, ecx
cmp dword [esi + 0x58], ecx
jne 0x43aa87
cmp dword [esi + 4], ecx
jne 0x43a9f1
cmp dword [esi + 0x3c], ecx
jne 0x43a9f1
call fcn.00442c8b
and dword [eax], 0
push dword [esi + 0x40]
xor edi, edi
push ebx
inc edi
push edi
push dword [esi + 0x44]
call fcn.00442f6b
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x43a9ec
push dword [esi + 0x40]
mov dword [esi + 0x3c], edi
call fcn.004430d5
test eax, eax
pop ecx
jne 0x43aae9
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi + 4]
add dword [esi + 0x64], eax
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push esi
call fcn.0043b16f
pop ecx
mov ecx, dword [esi + 4]
sub dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
cmp eax, 1
mov dword [esi + 0x38], eax
jne 0x43aa67
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 4]
push dword [esi + 0x4c]
call fcn.0043ac88
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, esi
call fcn.0043ab2c
cmp eax, dword [esi + 0x4c]
jne 0x43aa7e
mov eax, esi
call fcn.0043ab2c
mov eax, esi
call fcn.0043a735
xor edi, edi
cmp dword [esi + 0x38], edi
jne 0x43aaed
mov ecx, esi
call fcn.0043aefd
mov dword [esi + 0x4c], edi
jmp 0x43aa69
xor edi, edi
cmp dword [esi + 0x38], edi
jne 0x43aaed
cmp dword [esi + 0x3c], edi
jne 0x43aaed
cmp dword [esi + 0x10], edi
jne 0x43a9a1
jmp 0x43aaed
mov dword [esi + 0x38], 0xfffffffd
jmp 0x43aaed
mov edi, dword [esi + 4]
mov eax, dword [esi + 0x10]
cmp edi, eax
jbe 0x43aa93
mov edi, eax
cmp edi, ecx
jbe 0x43aab6
push edi
push dword [esi]
push dword [esi + 0xc]
call fcn.0043f3d0
add dword [ebp - 8], edi
mov eax, dword [ebp - 8]
add dword [esi], edi
sub dword [esi + 0x10], edi
add esp, 0xc
sub dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
test eax, eax
jbe 0x43aad1
push dword [esi + 0x40]
push eax
push 1
push dword [ebp - 8]
call fcn.00442f6b
add esp, 0x10
sub dword [esi + 0x10], eax
mov eax, ebx
sub eax, dword [esi + 0x10]
add dword [esi + 0x64], eax
add dword [esi + 0x68], eax
test eax, eax
jne 0x43ab27
mov dword [esi + 0x3c], 1
jmp 0x43ab27
or dword [esi + 0x38], 0xffffffff
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 4]
push dword [esi + 0x4c]
call fcn.0043ac88
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp ecx, ebx
mov dword [esi + 0x4c], eax
jne 0x43ab19
mov esi, dword [esi + 0x38]
cmp esi, 0xfffffffd
je 0x43ab1f
cmp esi, 0xffffffff
je 0x43ab1f
mov eax, ebx
sub eax, ecx
jmp 0x43ab27
or eax, 0xffffffff
jmp 0x43ab27
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret