Function at 0x43ee80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x5cf2a4]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x43ec2b
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
jle 0x43ec2b
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
movzx esi, byte [ecx]
jmp 0x43ee67
cmp dword [esi + 0x4c], 0
je 0x43ed6b
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x3c]
cmp dword [eax], ecx
je 0x43ed75
cmp dword [esi + 0x38], 0
je 0x43ed93
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push dword [esi + 0x4c]
call fcn.004f4ccd
add esp, 4
cmp eax, 0xffffffff
je 0x43edca
lea ecx, [esi + 0x40]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ecx
nop
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x43ecb0
lea ebx, [ecx + 1]
cmp edx, 0xf
mov edx, edi
mov dword [ebp - 0x18], ebx
jbe 0x43ec9a
mov edx, dword [ebp - 0x28]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x43ecd0
sub esp, 0xc
movzx ecx, byte [ebp - 0x34]
movsx eax, al
mov byte [esp + 4], cl
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp], 1
call fcn.0040f7c0
mov ecx, dword [esi + 0x38]
cmp dword [ebp - 0x14], 0xf
mov eax, edi
jbe 0x43ecde
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ecx]
lea edi, [ebp - 0x34]
add edx, eax
push edi
lea edi, [ebp - 0x2c]
push edi
lea edi, [ebp - 0x2d]
push edi
lea esi, [ebp - 0x2c]
push esi
push edx
push eax
push dword [ebp - 0x3c]
call dword [ebx + 0x18]
cmp eax, 2
jae 0x43edba
cmp dword [ebp - 0x34], edi
jne 0x43edd1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 0xf
jbe 0x43ed30
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
sub eax, edx
jmp 0x43ed3a
mov ecx, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
sub eax, edi
mov edx, edi
cmp ecx, eax
cmovb eax, ecx
sub ecx, eax
add eax, edx
mov dword [ebp - 0x18], ecx
inc ecx
push ecx
push eax
push edx
call fcn.004e8630
add esp, 0xc
mov esi, dword [ebp - 0x38]
push dword [esi + 0x4c]
call fcn.004f4ccd
add esp, 4
cmp eax, 0xffffffff
jne 0x43ec80
jmp 0x43edca
mov esi, 0xffffffff
jmp 0x43ee67
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
cmp dword [esi + 0x38], 0
jne 0x43ec4d
push dword [esi + 0x4c]
call fcn.004f4ccd
add esp, 4
mov ecx, dword [ebp - 0x10]
mov ebx, eax
cmp eax, 0xffffffff
movzx eax, bl
cmovne ebx, eax
xor ecx, ebp
call fcn.004e5b80
mov eax, ebx
jmp 0x43ee73
cmp eax, 3
jne 0x43edca
cmp dword [ebp - 0x14], 0xf
jbe 0x43ee2d
mov eax, dword [ebp - 0x28]
jmp 0x43ee30
mov esi, 0xffffffff
jmp 0x43ee33
cmp dword [ebp - 0x14], 0xf
jbe 0x43eddc
mov edi, dword [ebp - 0x28]
jmp 0x43eddf
lea edi, [ebp - 0x28]
add edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
sub edi, eax
test edi, edi
jle 0x43ee27
movsx eax, byte [eax + edi - 1]
dec edi
push dword [esi + 0x4c]
push eax
call fcn.004f4c1e
add esp, 8
test edi, edi
jle 0x43ee27
nop word cs:[eax + eax]
nop
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax + edi - 1]
push dword [esi + 0x4c]
push eax
call fcn.004f4c1e
add esp, 8
dec edi
jg 0x43ee10
movzx esi, byte [ebp - 0x2d]
jmp 0x43ee33
lea eax, [ebp - 0x28]
movsx esi, byte [eax]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43ee67
mov ecx, dword [ebp - 0x28]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x43ee5d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43ee7b
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.004e570f
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e5b80
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004eba95
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [ecx + 0x38], 0
mov dword [ebp - 0x10], ecx
je 0x43ef52
cmp edi, 1
mov eax, ebx
mov ecx, ebx
sbb eax, 0
jl 0x43f014
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
nop word [eax + eax]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
test eax, eax
je 0x43ef20
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx]
test ecx, ecx
jle 0x43ef20
mov ebx, dword [ebp - 0x14]
mov edx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
sar edx, 0x1f
cmp ecx, edi
mov esi, edx
sbb esi, ebx
jge 0x43eeef
mov ebx, edx
mov edi, ecx
push edi
push eax
mov esi, dword [ebp - 0x18]
push esi
call fcn.004e80b0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add esi, edi
sub edx, edi
sbb ecx, ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x2c]
sub dword [eax], edi
mov eax, dword [ebx + 0x1c]
add dword [eax], edi
mov edi, edx
jmp 0x43ef3c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x43efb6
mov ecx, dword [ebp - 0x14]
mov byte [esi], al
inc esi
add edi, 0xffffffff
adc ecx, 0xffffffff
mov eax, edi
neg eax
mov eax, 0
sbb eax, ecx
jl 0x43eec0
jmp 0x43f014
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x43efbb
cmp edi, 1
mov ecx, ebx
mov edx, edi
sbb ecx, 0
jl 0x43efbd
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x2c]
mov ecx, dword [ecx]
test ecx, ecx
jle 0x43efc0
mov dword [ebp - 0x18], esi
mov esi, ecx
mov edi, ecx
sar esi, 0x1f
cmp edx, ecx
mov ecx, ebx
sbb ecx, esi
cmovl esi, ebx
cmovl edi, edx
push edi
push eax
push dword [ebp + 8]
call fcn.004e80b0
add esp, 0xc
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
add dword [ebp - 0x18], edi
mov eax, dword [ebx + 0x2c]
sub edx, edi
sbb ecx, esi
mov esi, dword [ebp - 0x18]
sub dword [eax], edi
mov eax, dword [ebx + 0x1c]
add dword [eax], edi
mov edi, ebx
jmp 0x43efc2
mov ecx, dword [ebp - 0x14]
jmp 0x43f014
mov edx, edi
mov edi, dword [ebp - 0x10]
mov ecx, ebx
cmp edx, 1
mov eax, ecx
mov ebx, edx
sbb eax, 0
jl 0x43f012
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x43f012
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0xc]
lea edx, [edi + 0x3c]
cmp dword [ecx], edx
jne 0x43eff9
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
mov dword [ecx], eax
sub edx, eax
mov ecx, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
mov eax, dword [edi + 0x4c]
push eax
mov edi, ebx
push ebx
push 1
push esi
call fcn.004f3fe7
add esp, 0x10
mov ecx, dword [ebp - 0x14]
sub edi, eax
sbb ecx, 0
jmp 0x43f014
mov edi, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
sbb edx, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0xc