Function at 0x44a3d0
Capabilities:
Compress data via zlib inflate or deflate
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, ecx
mov ebx, edx
mov dword [esp + 8], ebx
test edi, edi
je 0x44af95
cmp dword [edi + 0x20], 0
je 0x44af95
cmp dword [edi + 0x24], 0
je 0x44af95
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x44af95
cmp dword [eax], edi
jne 0x44af95
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x44a43d
cmp eax, 0x39
je 0x44a43d
cmp eax, 0x45
je 0x44a43d
cmp eax, 0x49
je 0x44a43d
cmp eax, 0x5b
je 0x44a43d
cmp eax, 0x67
je 0x44a43d
cmp eax, 0x71
je 0x44a43d
cmp eax, 0x29a
jne 0x44af95
cmp ebx, 5
ja 0x44af95
cmp dword [edi + 0xc], 0
push esi
mov esi, dword [edi + 0x1c]
je 0x44af82
cmp dword [edi + 4], 0
je 0x44a463
cmp dword [edi], 0
je 0x44af82
cmp dword [esi + 4], 0x29a
jne 0x44a475
cmp ebx, 4
jne 0x44af82
cmp dword [edi + 0x10], 0
push ebp
je 0x44a522
cmp dword [esi + 0x14], 0
mov edx, dword [esi + 0x28]
mov dword [esi + 0x28], ebx
je 0x44a4e1
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44a4ca
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44a4ca
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
cmp dword [edi + 0x10], 0
jne 0x44a50e
mov dword [esi + 0x28], 0xffffffff
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0x10
ret
cmp dword [edi + 4], 0
jne 0x44a50e
xor eax, eax
mov ebp, 9
cmp edx, 4
cmovg eax, ebp
add edx, edx
sub edx, eax
xor ecx, ecx
cmp ebx, 4
lea eax, [ebx + ebx]
cmovg ecx, ebp
sub eax, ecx
cmp eax, edx
jg 0x44a50e
cmp ebx, 4
jne 0x44a522
mov eax, dword [esi + 4]
cmp eax, 0x29a
jne 0x44a536
cmp dword [edi + 4], 0
je 0x44a68b
pop ebp
pop esi
mov dword [edi + 0x18], str.buffer_error
mov eax, 0xfffffffb
pop edi
pop ebx
add esp, 0x10
ret
cmp eax, 0x2a
jne 0x44a68b
cmp dword [esi + 0x18], 0
jne 0x44a551
mov dword [esi + 4], 0x71
jmp 0x44a68b
mov ecx, dword [esi + 0x30]
shl ecx, 0xc
sub ecx, 0x7800
cmp dword [esi + 0x88], 2
mov ebx, ecx
jge 0x44a598
mov eax, dword [esi + 0x84]
cmp eax, 2
jl 0x44a598
cmp eax, 6
jge 0x44a582
mov edx, 0x40
lea eax, [edx + 0x20]
jmp 0x44a59d
jne 0x44a58e
mov edx, 0x80
lea eax, [edx + 0x20]
jmp 0x44a59d
mov edx, 0xc0
lea eax, [edx + 0x20]
jmp 0x44a59d
xor edx, edx
lea eax, [edx + 0x20]
or ecx, edx
cmp dword [esi + 0x6c], 0
je 0x44a5a9
mov ecx, ebx
or ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, dword [esi + 8]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
inc ecx
mov ebx, ecx
shl ebx, 5
sub ebx, ecx
mov ecx, dword [esi + 0x14]
mov edx, ebx
shr edx, 8
mov byte [ecx + eax], dl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
mov ebx, dword [esi + 0x14]
inc ebx
cmp dword [esi + 0x6c], 0
mov dword [esi + 0x14], ebx
je 0x44a62b
movzx edx, word [edi + 0x32]
mov eax, dword [esi + 8]
mov ecx, edx
shr ecx, 8
mov byte [ebx + eax], cl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], dl
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx ebx, word [edi + 0x30]
mov ecx, ebx
shr ecx, 8
mov byte [edx + eax], cl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
inc dword [esi + 0x14]
push 0
xor edx, edx
xor ecx, ecx
call fcn.004498c0
mov dword [edi + 0x30], eax
add esp, 4
mov dword [esi + 4], 0x71
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44a681
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44a681
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x14], 0
jne 0x44a4d0
cmp dword [esi + 4], 0x39
jne 0x44a8d7
push 0
xor edx, edx
xor ecx, ecx
call fcn.00449b30
mov dword [edi + 0x30], eax
add esp, 4
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0x1f
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], 0x8b
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], 8
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0x1c]
inc edx
mov dword [esi + 0x14], edx
test ebx, ebx
jne 0x44a7ad
mov eax, dword [esi + 8]
mov byte [edx + eax], bl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x84]
inc edx
mov dword [esi + 0x14], edx
cmp eax, 9
jne 0x44a72e
mov cl, 2
jmp 0x44a742
cmp dword [esi + 0x88], 2
jge 0x44a740
cmp eax, 2
jl 0x44a740
xor cl, cl
jmp 0x44a742
mov cl, 4
mov eax, dword [esi + 8]
mov byte [edx + eax], cl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], 0xa
inc dword [esi + 0x14]
mov dword [esi + 4], 0x71
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44a79e
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44a79e
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x14], 0
jne 0x44a4d0
jmp 0x44a8d7
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x2c]
neg ecx
sbb cl, cl
and cl, 0x10
neg eax
sbb al, al
and al, 2
add cl, al
mov eax, dword [ebx + 0x1c]
neg eax
sbb al, al
and al, 8
add cl, al
mov eax, dword [ebx + 0x10]
neg eax
sbb al, al
and al, 4
add cl, al
cmp dword [ebx], 0
setne al
add cl, al
mov eax, dword [esi + 8]
mov byte [edx + eax], cl
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 4]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 5]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 6]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 7]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x84]
inc edx
mov dword [esi + 0x14], edx
cmp eax, 9
jne 0x44a84c
mov cl, 2
jmp 0x44a860
cmp dword [esi + 0x88], 2
jge 0x44a85e
cmp eax, 2
jl 0x44a85e
xor cl, cl
jmp 0x44a860
mov cl, 4
mov eax, dword [esi + 8]
mov byte [edx + eax], cl
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
mov al, byte [eax + 0xc]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov dword [esi + 0x14], edx
cmp dword [eax + 0x10], 0
je 0x44a8ae
mov ecx, dword [esi + 8]
movzx eax, byte [eax + 0x14]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 0x15]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
inc edx
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x44a8c9
mov ecx, dword [edi + 0x30]
push edx
mov edx, dword [esi + 8]
call fcn.00449b30
add esp, 4
mov dword [edi + 0x30], eax
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0x45
mov eax, dword [esi + 4]
cmp eax, 0x45
jne 0x44aa17
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], 0
je 0x44aa0e
movzx ecx, word [eax + 0x14]
sub ecx, dword [esi + 0x20]
mov ebp, dword [esi + 0x14]
mov edx, ebp
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
lea eax, [ecx + ebp]
cmp eax, ebx
jbe 0x44a9c1
nop
mov eax, dword [esi + 0x1c]
sub ebx, edx
push ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 0x10]
add eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 8]
add eax, edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x1c]
add esp, 0xc
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], ecx
cmp dword [eax + 0x2c], 0
je 0x44a958
cmp ecx, ebp
jbe 0x44a958
mov edx, dword [esi + 8]
sub ecx, ebp
push ecx
mov ecx, dword [edi + 0x30]
add edx, ebp
call fcn.00449b30
add esp, 4
mov dword [edi + 0x30], eax
add dword [esi + 0x20], ebx
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44a999
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44a999
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x44a4d0
mov ecx, dword [esp + 0x14]
xor ebp, ebp
sub ecx, dword [esp + 0x18]
xor edx, edx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
cmp ecx, ebx
ja 0x44a910
mov edx, eax
mov eax, dword [esi + 0x1c]
push ecx
mov eax, dword [eax + 0x10]
add eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 8]
add eax, edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x14]
add esp, 0xc
mov eax, dword [esi + 0x1c]
add ecx, dword [esp + 0x14]
mov dword [esi + 0x14], ecx
cmp dword [eax + 0x2c], 0
je 0x44aa07
cmp ecx, ebp
jbe 0x44aa07
mov edx, dword [esi + 8]
sub ecx, ebp
push ecx
mov ecx, dword [edi + 0x30]
add edx, ebp
call fcn.00449b30
add esp, 4
mov dword [edi + 0x30], eax
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0x49
jmp 0x44aa20
cmp eax, 0x49
jne 0x44ab00
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x44aaf7
mov ebp, dword [esi + 0x14]
mov ebx, ebp
cmp ebx, dword [esi + 0xc]
jne 0x44aaa6
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x44aa5a
cmp ebx, ebp
jbe 0x44aa5a
mov edx, dword [esi + 8]
sub ebx, ebp
mov ecx, dword [edi + 0x30]
add edx, ebp
push ebx
call fcn.00449b30
add esp, 4
mov dword [edi + 0x30], eax
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44aa98
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44aa98
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x14], 0
jne 0x44a4d0
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x1c]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov byte [ebx + eax], dl
mov ebx, dword [esi + 0x14]
inc ebx
mov dword [esi + 0x14], ebx
test dl, dl
jne 0x44aa32
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x44aaf0
cmp ebx, ebp
jbe 0x44aaf0
mov edx, dword [esi + 8]
sub ebx, ebp
mov ecx, dword [edi + 0x30]
add edx, ebp
push ebx
call fcn.00449b30
add esp, 4
mov dword [edi + 0x30], eax
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0x5b
jmp 0x44ab09
cmp eax, 0x5b
jne 0x44abe7
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x24], 0
je 0x44abde
mov ebp, dword [esi + 0x14]
mov ebx, ebp
nop dword [eax + eax]
cmp ebx, dword [esi + 0xc]
jne 0x44ab94
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x44ab48
cmp ebx, ebp
jbe 0x44ab48
mov edx, dword [esi + 8]
sub ebx, ebp
mov ecx, dword [edi + 0x30]
add edx, ebp
push ebx
call fcn.00449b30
add esp, 4
mov dword [edi + 0x30], eax
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44ab86
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44ab86
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x14], 0
jne 0x44a4d0
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x24]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov byte [ebx + eax], dl
mov ebx, dword [esi + 0x14]
inc ebx
mov dword [esi + 0x14], ebx
test dl, dl
jne 0x44ab20
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x44abde
cmp ebx, ebp
jbe 0x44abde
mov edx, dword [esi + 8]
sub ebx, ebp
mov ecx, dword [edi + 0x30]
add edx, ebp
push ebx
call fcn.00449b30
add esp, 4
mov dword [edi + 0x30], eax
mov dword [esi + 4], 0x67
jmp 0x44abf0
cmp eax, 0x67
jne 0x44accf
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x44ac80
mov edx, dword [esi + 0x14]
lea eax, [edx + 2]
cmp eax, dword [esi + 0xc]
jbe 0x44ac51
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44ac46
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44ac46
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov edx, dword [esi + 0x14]
test edx, edx
jne 0x44a4d0
mov ecx, dword [esi + 8]
movzx eax, byte [edi + 0x30]
push 0
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 0x31]
mov byte [edx + ecx], al
xor edx, edx
inc dword [esi + 0x14]
xor ecx, ecx
call fcn.00449b30
add esp, 4
mov dword [edi + 0x30], eax
mov dword [esi + 4], 0x71
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44acc5
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44acc5
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x14], 0
jne 0x44a4d0
cmp dword [edi + 4], 0
mov ebx, dword [esp + 0x10]
jne 0x44acf4
cmp dword [esi + 0x74], 0
jne 0x44acf4
test ebx, ebx
je 0x44a4d7
cmp dword [esi + 4], 0x29a
je 0x44ae1e
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x44ad07
push ebx
push esi
call fcn.0044b460
jmp 0x44ad3b
mov ecx, dword [esi + 0x88]
cmp ecx, 2
jne 0x44ad1d
mov edx, ebx
mov ecx, esi
call fcn.0044c670
jmp 0x44ad3e
cmp ecx, 3
jne 0x44ad2d
mov edx, ebx
mov ecx, esi
call fcn.0044c320
jmp 0x44ad3e
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x4642e8]
push ebx
push esi
call eax
add esp, 8
cmp eax, 2
je 0x44ad48
cmp eax, 3
jne 0x44ad4f
mov dword [esi + 4], 0x29a
test eax, eax
je 0x44af67
cmp eax, 2
je 0x44af67
cmp eax, 1
jne 0x44ae1e
cmp ebx, eax
jne 0x44ad76
mov ecx, esi
call fcn.00451450
jmp 0x44add2
cmp ebx, 5
je 0x44add2
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00451290
add esp, 8
cmp ebx, 3
jne 0x44add2
mov eax, dword [esi + 0x44]
xor edx, edx
mov ecx, dword [esi + 0x4c]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x74], 0
jne 0x44add2
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x16b4], 0
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44ae10
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44ae10
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
cmp dword [edi + 0x10], 0
je 0x44a4d0
mov ebx, dword [esp + 0x10]
cmp ebx, 4
jne 0x44a4d7
mov eax, dword [esi + 0x18]
test eax, eax
jg 0x44ae39
pop ebp
pop esi
pop edi
lea eax, [ebx - 3]
pop ebx
add esp, 0x10
ret
cmp eax, 2
jne 0x44aec8
mov edx, dword [esi + 0x14]
movzx eax, byte [edi + 0x30]
mov ecx, dword [esi + 8]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 0x31]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 0x32]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 0x33]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 8]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 9]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 0xa]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 0xb]
mov byte [edx + ecx], al
jmp 0x44af0a
movzx ebx, word [edi + 0x32]
mov ecx, dword [esi + 0x14]
mov edx, ebx
mov eax, dword [esi + 8]
shr edx, 8
mov byte [ecx + eax], dl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx ebx, word [edi + 0x30]
mov ecx, ebx
shr ecx, 8
mov byte [edx + eax], cl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
inc dword [esi + 0x14]
mov ebp, dword [edi + 0x1c]
mov ecx, ebp
call fcn.004513d0
mov ebx, dword [edi + 0x10]
cmp dword [ebp + 0x14], ebx
cmovbe ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44af4b
push ebx
push dword [ebp + 0x10]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0xc], ebx
add esp, 0xc
add dword [ebp + 0x10], ebx
add dword [edi + 0x14], ebx
sub dword [edi + 0x10], ebx
sub dword [ebp + 0x14], ebx
jne 0x44af4b
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x44af57
neg eax
mov dword [esi + 0x18], eax
xor eax, eax
cmp dword [esi + 0x14], eax
pop ebp
pop esi
pop edi
sete al
pop ebx
add esp, 0x10
ret
cmp dword [edi + 0x10], 0
jne 0x44a4d7
pop ebp
mov dword [esi + 0x28], 0xffffffff
xor eax, eax
pop esi
pop edi
pop ebx
add esp, 0x10
ret
pop esi
mov dword [edi + 0x18], str.stream_error
mov eax, 0xfffffffe
pop edi
pop ebx
add esp, 0x10
ret
pop edi
mov eax, 0xfffffffe
pop ebx
add esp, 0x10
ret