Function at 0x43dcf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x54c03c]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, ebp
test ecx, ecx
mov dword [esp + 0x50], eax
je 0x43dd25
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x43dd1b
mov eax, dword [ecx]
mov dword [ecx + 0x10], 0
mov byte [eax], 0
mov ecx, ebx
call fcn.00412030
test al, al
jne 0x43ddfb
push 0x4fe364
push ebx
call fcn.0043d080
add esp, 8
test eax, eax
je 0x43ddfb
lea esi, [esp + 0x28]
mov dword [esp + 4], eax
mov ecx, esi
call fcn.0040fab0
push esi
push ebx
call fcn.0043d680
add esp, 8
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.00404440
cmp esi, 1
mov eax, edi
mov ecx, dword [ebp + 0x10]
not bl
mov edx, 0
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
sbb eax, 0
setl al
or al, bl
mov ebx, 0xffff
test al, 1
mov eax, 0
mov dword [esp], ecx
cmove ebx, esi
cmovne edi, edx
cmp ecx, ebx
sbb eax, edi
mov eax, ecx
cmovb ebx, ecx
cmovb edi, edx
add ebx, 1
adc edi, 0
test ebx, ebx
mov dword [esp + 0xc], edi
je 0x43de02
cmp ebx, 0xf
jbe 0x43de08
sub esp, 0x10
mov al, byte [esp + 0x38]
lea ecx, [esp + 0x20]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], ebx
mov dword [esp + 0xc], 0
call fcn.004042da
jmp 0x43de21
xor ebx, ebx
jmp 0x43e082
mov dword [esp + 0x20], ebx
jmp 0x43de1c
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x10]
push ebx
push 0
push eax
call fcn.004daa90
add esp, 0xc
mov byte [esp + ebx + 0x10], 0
mov esi, dword [esp + 4]
cmp dword [esp + 0x24], 0xf
jbe 0x43de32
mov eax, dword [esp + 0x10]
jmp 0x43de36
lea eax, [esp + 0x10]
push esi
push ebx
push 1
push eax
call fcn.004e8e65
add esp, 0x10
xor edi, edi
test eax, eax
je 0x43df47
nop dword [eax]
mov ecx, dword [ebp + 0x10]
sub ecx, edi
cmp ecx, eax
jb 0x43df5a
mov ecx, dword [esp + 0xc]
test edi, edi
mov edx, 0x10000
cmove ebx, edx
cmove ecx, edi
add edi, eax
mov dword [esp + 0xc], ecx
push esi
call fcn.004e8692
add esp, 4
test eax, eax
jne 0x43df47
mov ecx, dword [esp + 0x20]
lea esi, [edi + ebx]
mov eax, esi
sub eax, ecx
jbe 0x43ded0
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
sub edx, ecx
cmp edx, eax
jae 0x43def0
sub esp, 0x10
movzx ecx, byte [esp + 0x38]
mov byte [esp + 4], cl
lea ecx, [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.004042da
jmp 0x43df1d
cmp dword [esp + 0x24], 0xf
lea eax, [esp + 0x10]
jbe 0x43dedf
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], esi
jmp 0x43df19
cmp dword [esp + 8], 0xf
lea edx, [esp + 0x10]
mov dword [esp + 0x20], esi
jbe 0x43df03
mov edx, dword [esp + 0x10]
mov dword [esp + 8], edx
add ecx, edx
push eax
push 0
push ecx
call fcn.004daa90
add esp, 0xc
mov eax, dword [esp + 8]
mov byte [eax + esi], 0
mov esi, dword [esp + 4]
cmp dword [esp + 0x24], 0xf
lea eax, [esp + 0x10]
jbe 0x43df30
mov eax, dword [esp + 0x10]
add eax, edi
push esi
push ebx
push 1
push eax
call fcn.004e8e65
add esp, 0x10
test eax, eax
jne 0x43de50
push esi
call fcn.004e86bd
add esp, 4
test eax, eax
mov dword [esp], edi
sete bl
jmp 0x43df5c
xor ebx, ebx
push esi
call fcn.004e85a3
add esp, 4
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x43e044
movsd xmm0, qword [edi + 0x10]
mov eax, dword [esp]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0x30], xmm1
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
movsd xmm0, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x18], xmm1
movsd qword [esp + 0x10], xmm2
mov ecx, dword [edi + 0x10]
sub eax, ecx
jbe 0x43e00c
mov edx, dword [edi + 0x14]
mov esi, edx
sub esi, ecx
cmp esi, eax
jae 0x43e022
sub esp, 0x10
mov cl, byte [esp + 0x38]
mov byte [esp + 4], cl
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.004042da
jmp 0x43e044
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x43e016
mov eax, dword [edi]
mov ecx, dword [esp]
mov dword [edi + 0x10], ecx
mov byte [eax + ecx], 0
jmp 0x43e044
mov esi, dword [esp]
cmp edx, 0x10
mov dword [edi + 0x10], esi
jb 0x43e02f
mov edi, dword [edi]
add ecx, edi
push eax
push 0
push ecx
call fcn.004daa90
add esp, 0xc
mov eax, dword [esp]
mov byte [edi + eax], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x43e07a
mov ecx, dword [esp + 0x10]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x43e070
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43e097
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.004d4589
add esp, 8
mov dword [esp + 0x24], 0xf
mov ecx, dword [esp + 0x50]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004e40e0
int3