Function at 0x4451c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x56600c]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x444f7b
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
jle 0x444f7b
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 0x4451a7
cmp dword [esi + 0x4c], 0
je 0x4450b7
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x3c]
cmp dword [eax], ecx
je 0x4450c1
cmp dword [esi + 0x38], 0
je 0x4450df
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push dword [esi + 0x4c]
call fcn.004e447f
add esp, 4
cmp eax, 0xffffffff
je 0x445116
lea ecx, [esi + 0x40]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ecx
jmp 0x44501a
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
sub eax, edx
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.004d40e0
add esp, 0xc
mov esi, dword [ebp - 0x38]
push dword [esi + 0x4c]
call fcn.004e447f
add esp, 4
cmp eax, 0xffffffff
je 0x445116
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x445040
lea ebx, [ecx + 1]
cmp edx, 0xf
mov edx, edi
mov dword [ebp - 0x18], ebx
jbe 0x445034
mov edx, dword [ebp - 0x28]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x445060
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.00415020
mov ecx, dword [esi + 0x38]
cmp dword [ebp - 0x14], 0xf
mov eax, edi
jbe 0x44506e
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 0x445106
cmp dword [ebp - 0x34], edi
jne 0x44511d
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 0xf
ja 0x444fe0
mov ecx, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
sub eax, edi
mov edx, edi
jmp 0x444feb
mov esi, 0xffffffff
jmp 0x4451a7
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 0x444f9d
push dword [esi + 0x4c]
call fcn.004e447f
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.00478339
mov eax, ebx
jmp 0x4451b3
cmp eax, 3
jne 0x445116
cmp dword [ebp - 0x14], 0xf
jbe 0x44516d
mov eax, dword [ebp - 0x28]
jmp 0x445170
mov esi, 0xffffffff
jmp 0x445173
cmp dword [ebp - 0x14], 0xf
jbe 0x445128
mov edi, dword [ebp - 0x28]
jmp 0x44512b
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 0x445167
movsx eax, byte [eax + edi - 1]
dec edi
push dword [esi + 0x4c]
push eax
call fcn.004e43c5
add esp, 8
test edi, edi
jle 0x445167
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax + edi - 1]
push dword [esi + 0x4c]
push eax
call fcn.004e43c5
add esp, 8
dec edi
jg 0x445150
movzx esi, byte [ebp - 0x2d]
jmp 0x445173
lea eax, [ebp - 0x28]
movsx esi, byte [eax]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4451a7
mov ecx, dword [ebp - 0x28]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x44519d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4451bb
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.0047834a
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478339
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004d7bfa
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
cmp edi, 1
mov eax, esi
sbb eax, 0
jl 0x4452a0
mov eax, dword [ebp + 8]
cmp dword [ecx + 0x38], 0
mov ebx, ecx
mov dword [ebp - 0x10], eax
je 0x4452a9
mov dword [ebp - 0x14], ebx
jmp 0x44523a
mov dword [ebp - 0x18], esi
push ebx
push eax
mov esi, dword [ebp - 0x10]
push esi
call fcn.004d3ae0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add esi, ebx
sub edi, ebx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x2c]
sbb esi, dword [ebp - 0x18]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
mov ebx, ecx
mov eax, edi
neg eax
mov eax, 0
sbb eax, esi
jge 0x44528d
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x445270
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx]
test ecx, ecx
jle 0x445270
mov edx, ecx
mov dword [ebp - 0x1c], esi
sar edx, 0x1f
cmp ecx, edi
mov ebx, edx
sbb ebx, esi
mov ebx, edi
jge 0x445200
mov esi, edx
mov ebx, ecx
jmp 0x445200
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x44528d
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc ecx
add edi, 0xffffffff
adc esi, 0xffffffff
mov dword [ebp - 0x10], ecx
jmp 0x44522d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub eax, edi
mov edx, ecx
mov edi, eax
sbb edx, esi
jmp 0x445384
xor edi, edi
xor edx, edx
jmp 0x445384
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4452f5
mov ecx, dword [ebx + 0x2c]
mov edx, edi
mov edi, dword [ecx]
test edi, edi
je 0x4452ff
cmp edi, edx
cmovae edi, edx
push edi
push eax
mov eax, dword [ebp + 8]
mov esi, eax
push eax
call fcn.004d3ae0
add esp, 0xc
mov eax, dword [ebx + 0x2c]
add esi, edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
sub dword [eax], edi
mov esi, ecx
mov eax, dword [ebx + 0x1c]
sub esi, edi
add dword [eax], edi
mov edi, ecx
cmp dword [ebx + 0x4c], 0
jne 0x445309
jmp 0x44537c
mov esi, edi
cmp dword [ebx + 0x4c], 0
jne 0x445309
jmp 0x44537c
mov edi, edx
mov esi, edx
cmp dword [ebx + 0x4c], 0
je 0x44537c
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x3c]
cmp dword [eax], ecx
jne 0x445330
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
nop word [eax + eax]
cmp esi, 0x1000
jb 0x44535e
push dword [ebx + 0x4c]
push 0xfff
push 1
mov edi, dword [ebp - 0x10]
push edi
call fcn.004da12b
add esp, 0x10
add edi, eax
sub esi, eax
cmp eax, 0xfff
mov dword [ebp - 0x10], edi
je 0x445330
jmp 0x445379
test esi, esi
je 0x445377
push dword [ebx + 0x4c]
push esi
push 1
push dword [ebp - 0x10]
call fcn.004da12b
add esp, 0x10
sub esi, eax
jmp 0x445379
xor esi, esi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub edi, esi
sbb edx, 0
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0xc