Function at 0x43e83c
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], edi
test edi, edi
je case.default.0x43e8f6
mov ebx, dword [edi + 0x20]
test ebx, ebx
je case.default.0x43e8f6
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], eax
test eax, eax
je case.default.0x43e8f6
mov ecx, dword [edi]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x43e87e
cmp dword [edi + 4], ecx
jne case.default.0x43e8f6
mov eax, dword [ebx]
push 0xc
pop ecx
cmp eax, 0xb
jne 0x43e899
mov dword [ebx], ecx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, ecx
mov ecx, dword [edi + 0x14]
mov esi, dword [edi + 4]
mov edx, dword [ebx + 0x38]
mov ebp, dword [ebx + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], ecx
cmp eax, 0x1c
ja case.default.0x43e8f6
mov ecx, eax
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x44], 0x1f
mov dword [esp + 0x58], 0x1b
mov dword [esp + 0x54], 0xff00
mov dword [esp + 0x50], 0x11
jmp dword [eax*4 + 0x43fba8]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x43e90f
mov dword [ebx], 0xc
jmp 0x43ee8e
cmp ebp, dword [esp + 0x30]
jae 0x43e94c
mov eax, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [eax]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
add ebp, 8
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x30]
jb 0x43e919
mov eax, dword [ebx + 8]
test al, 2
je 0x43e992
cmp edx, 0x8b1f
jne 0x43e992
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x28]
xor edi, edi
mov byte [esp + 0x28], al
push 2
xor ecx, ecx
mov dword [ebx + 0x18], edi
mov byte [esp + 0x2d], 0x8b
call fcn.0043d955
mov ebp, edi
mov dword [ebx + 0x18], eax
mov edx, edi
mov dword [esp + 0x24], ebp
pop ecx
mov dword [esp + 0x18], edx
mov dword [ebx], 1
jmp 0x43ee8e
and dword [ebx + 0x10], 0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x43e9a4
or dword [ecx + 0x30], 0xffffffff
mov eax, dword [ebx + 8]
test al, 1
je 0x43ea16
movzx ecx, dl
mov eax, edx
shr eax, 8
xor edx, edx
shl ecx, 8
add eax, ecx
div dword [esp + 0x44]
test edx, edx
mov edx, dword [esp + 0x18]
jne 0x43ea16
mov eax, edx
and al, 0xf
cmp al, 8
jne 0x43ea16
shr edx, 4
sub ebp, 4
mov ecx, edx
mov dword [esp + 0x18], edx
and ecx, 0xf
mov dword [esp + 0x20], ebp
add ecx, 8
cmp ecx, dword [ebx + 0x24]
ja 0x43ea16
xor ebp, ebp
shr edx, 8
inc ebp
not edx
mov eax, ebp
mov dword [ebx + 0x18], ebp
shl eax, cl
and edx, 2
or edx, 9
mov dword [ebx + 0x14], eax
mov dword [edi + 0x30], ebp
xor edi, edi
mov dword [ebx], edx
mov ebp, edi
mov edx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edx
jmp 0x43ee8e
mov dword [ebx], 0x1b
jmp 0x43ee8e
cmp ebp, dword [esp + 0x30]
jae 0x43ea5b
mov eax, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [eax]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
add ebp, 8
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x30]
jb 0x43ea2b
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x43ea16
test edx, 0xe000
jne 0x43ea16
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
mov eax, edx
test esi, esi
je 0x43ea83
mov eax, ecx
and eax, 1
mov dword [esi], eax
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x43eaa4
mov byte [esp + 0x28], dl
lea edx, [esp + 0x28]
mov byte [esp + 0x29], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.0043d955
pop ecx
mov dword [ebx + 0x18], eax
mov esi, dword [esp + 0x14]
xor eax, eax
mov edx, eax
mov dword [ebx], 2
mov ebp, eax
mov dword [esp + 0x18], edx
cmp ebp, 0x20
jae 0x43eaec
mov eax, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [eax]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
add ebp, 8
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
cmp ebp, 0x20
jb 0x43eac1
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43eaf6
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x43eb2e
mov ecx, dword [ebx + 0x18]
mov eax, edx
shr eax, 8
mov byte [esp + 0x29], al
mov eax, edx
mov byte [esp + 0x28], dl
shr edx, 0x18
shr eax, 0x10
mov byte [esp + 0x2b], dl
lea edx, [esp + 0x28]
push 4
mov byte [esp + 0x2e], al
call fcn.0043d955
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov ebp, eax
mov dword [esp + 0x18], edx
cmp ebp, dword [esp + 0x30]
jae 0x43eb74
mov eax, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [eax]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
add ebp, 8
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
cmp ebp, dword [esp + 0x30]
jb 0x43eb48
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x43eb8c
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x43ebaf
mov byte [esp + 0x28], dl
lea edx, [esp + 0x28]
mov byte [esp + 0x29], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.0043d955
pop ecx
mov dword [ebx + 0x18], eax
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov ebp, ecx
mov dword [ebx], 4
mov edx, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edx
jmp 0x43ebcb
xor ecx, ecx
test dword [ebx + 0x10], 0x400
je 0x43ec4b
cmp ebp, dword [esp + 0x30]
jae 0x43ec0a
mov eax, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [eax]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
add ebp, 8
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
cmp ebp, dword [esp + 0x30]
jb 0x43ebde
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x43ec17
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x43ec3d
mov ecx, dword [ebx + 0x18]
mov byte [esp + 0x28], dl
shr edx, 8
mov byte [esp + 0x29], dl
lea edx, [esp + 0x28]
push 2
call fcn.0043d955
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov ebp, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebp
jmp 0x43ec55
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43ec55
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
mov ecx, dword [ebx + 0x10]
test ecx, 0x400
je 0x43ecf1
mov eax, dword [ebx + 0x40]
cmp eax, dword [esp + 0x14]
cmovbe esi, eax
test esi, esi
je 0x43ece9
mov edi, dword [ebx + 0x20]
test edi, edi
je 0x43ecb5
cmp dword [edi + 0x10], 0
je 0x43ecb5
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
sub edx, eax
lea eax, [esi + edx]
cmp eax, ecx
jbe 0x43ec98
sub ecx, edx
jmp 0x43ec9a
mov ecx, esi
mov eax, dword [edi + 0x10]
push ecx
push dword [esp + 0x20]
add eax, edx
push eax
call fcn.004309f0
mov ecx, dword [ebx + 0x10]
add esp, 0xc
mov edi, dword [ebx + 0x40]
jmp 0x43ecb7
mov edi, eax
test ecx, 0x200
je 0x43ecd6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43ecd3
mov ecx, dword [ebx + 0x18]
mov edx, eax
push esi
call fcn.0043d955
pop ecx
mov dword [ebx + 0x18], eax
sub dword [esp + 0x14], esi
mov eax, edi
add dword [esp + 0x1c], esi
sub eax, esi
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0x40], eax
test eax, eax
jne 0x43fabf
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [ebx + 0x40], ecx
mov dword [ebx], 6
jmp 0x43ed04
xor ecx, ecx
test dword [ebx + 0x10], 0x800
je 0x43ed95
test esi, esi
je 0x43fabf
mov edi, dword [esp + 0x14]
mov esi, ecx
mov ebp, dword [esp + 0x1c]
mov al, byte [esi + ebp]
inc esi
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43ed4b
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x43ed4b
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x43ed4b
mov al, byte [esp + 0x13]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov cl, byte [esp + 0x13]
test cl, cl
je 0x43ed57
cmp esi, edi
jb 0x43ed23
test dword [ebx + 0x10], 0x200
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
je 0x43ed83
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43ed80
mov ecx, dword [ebx + 0x18]
mov edx, eax
push esi
call fcn.0043d955
pop ecx
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x18], eax
sub dword [esp + 0x14], esi
add dword [esp + 0x1c], esi
test cl, cl
jne 0x43fabf
jmp 0x43ed9f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43ed9f
mov dword [eax + 0x1c], ecx
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [ebx + 0x40], ecx
mov dword [ebx], 7
jmp 0x43edb2
xor ecx, ecx
test dword [ebx + 0x10], 0x1000
je 0x43ee43
test esi, esi
je 0x43fabf
mov edi, dword [esp + 0x14]
mov esi, ecx
mov ebp, dword [esp + 0x1c]
mov al, byte [esi + ebp]
inc esi
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43edf9
mov edx, dword [eax + 0x24]
test edx, edx
je 0x43edf9
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x43edf9
mov al, byte [esp + 0x13]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov cl, byte [esp + 0x13]
test cl, cl
je 0x43ee05
cmp esi, edi
jb 0x43edd1
test dword [ebx + 0x10], 0x200
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
je 0x43ee31
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43ee2e
mov ecx, dword [ebx + 0x18]
mov edx, eax
push esi
call fcn.0043d955
pop ecx
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x18], eax
sub dword [esp + 0x14], esi
add dword [esp + 0x1c], esi
test cl, cl
jne 0x43fabf
jmp 0x43ee4d
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43ee4d
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x18]
mov dword [ebx], 8
mov esi, dword [ebx + 0x10]
test esi, 0x200
jne 0x43eed1
xor ecx, ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43ee7e
sar esi, 9
and esi, 1
mov dword [eax + 0x2c], esi
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
mov dword [ebx + 0x18], ecx
mov dword [edi + 0x30], ecx
mov dword [ebx], 0xb
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx]
mov eax, ecx
cmp eax, 0x1c
ja case.default.0x43e8f6
mov edi, dword [esp + 0x3c]
jmp switch.0x0043e8f6
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
mov eax, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x1c]
add ebp, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x30]
jb 0x43eea4
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x43eee7
mov dword [ebx], 0x1b
jmp 0x43ee8a
xor ecx, ecx
mov ebp, ecx
mov edx, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edx
jmp 0x43ee64
cmp ebp, 0x20
jae 0x43ef2e
mov ecx, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [ecx]
dec esi
mov ecx, ebp
mov dword [esp + 0x14], esi
shl eax, cl
add ebp, 8
mov ecx, dword [esp + 0x1c]
add edx, eax
inc ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
cmp ebp, 0x20
jb 0x43ef03
mov ecx, edx
mov eax, edx
and ecx, dword [esp + 0x54]
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, dword [esp + 0x54]
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 0xa
mov ebp, eax
mov dword [esp + 0x18], edx
jmp 0x43ef68
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x43fa94
xor eax, eax
inc eax
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
xor edi, edi
cmp dword [ebx + 4], edi
je 0x43efa3
mov ecx, ebp
mov dword [ebx], 0x18
and ecx, 7
shr edx, cl
sub ebp, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
jmp 0x43ee8e
cmp ebp, 3
jae 0x43efd5
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [edi]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
inc edi
mov dword [esp + 0x18], edx
add ebp, 8
mov dword [esp + 0x1c], edi
cmp ebp, 3
jb 0x43efac
xor edi, edi
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, edi
je 0x43f02b
sub eax, 1
je 0x43f007
sub eax, 1
je 0x43efff
sub eax, 1
jne 0x43f031
mov dword [ebx], 0x1b
jmp 0x43f031
mov dword [ebx], 0xf
jmp 0x43f031
mov dword [ebx + 0x4c], 0x460980
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x460900
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x43f031
mov dword [ebx], 0xd
shr edx, 2
sub ebp, 3
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
jmp 0x43ee8e
mov ecx, ebp
and ecx, 7
sub ebp, ecx
shr edx, cl
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
cmp ebp, 0x20
jae 0x43f089
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [edi]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
add ebp, 8
mov dword [esp + 0x18], edx
inc edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edi
cmp ebp, 0x20
jb 0x43f05e
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
jne 0x43ea16
xor eax, eax
mov dword [ebx + 0x40], ecx
mov ebp, eax
mov dword [ebx], 0xe
mov edx, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edx
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x43f102
cmp ecx, esi
mov eax, esi
mov esi, dword [esp + 0x24]
cmovbe eax, ecx
cmp eax, esi
cmovbe esi, eax
test esi, esi
je 0x43fabf
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push esi
push edi
push ecx
call fcn.004309f0
sub dword [esp + 0x20], esi
add edi, esi
sub dword [esp + 0x30], esi
add esp, 0xc
add dword [esp + 0x2c], esi
sub dword [ebx + 0x40], esi
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x18]
jmp 0x43ee8a
mov dword [ebx], 0xb
jmp 0x43ee8e
cmp ebp, 0xe
jae 0x43f13d
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [edi]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
inc edi
mov dword [esp + 0x18], edx
add ebp, 8
mov dword [esp + 0x1c], edi
cmp ebp, 0xe
jb 0x43f116
mov esi, dword [esp + 0x44]
mov ecx, edx
shr edx, 5
and ecx, esi
and esi, edx
add ecx, 0x101
shr edx, 5
inc esi
mov eax, edx
mov dword [ebx + 0x60], ecx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebx + 0x64], esi
sub ebp, 0xe
mov dword [ebx + 0x5c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
cmp ecx, 0x11e
ja 0x43eedf
cmp esi, 0x1e
ja 0x43eedf
mov eax, dword [esp + 0x30]
and dword [ebx + 0x68], 0
mov esi, dword [esp + 0x14]
mov dword [ebx], eax
jmp case.0x43e8f6.16
cmp ebp, 3
jae 0x43f1c8
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [edi]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
inc edi
mov dword [esp + 0x18], edx
add ebp, 8
mov dword [esp + 0x1c], edi
cmp ebp, 3
jb 0x43f1a1
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [esp + 0x18], edx
movzx eax, word [eax*2 + 0x461180]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub ebp, 3
mov dword [esp + 0x20], ebp
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x43f198
cmp eax, 0x13
jae 0x43f216
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x461180]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x43f1fb
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea edx, [ebx + 0x70]
xor ecx, ecx
call fcn.0043b578
mov edx, dword [esp + 0x28]
mov edi, eax
add esp, 0x10
mov dword [esp + 0x38], edi
test edi, edi
jne 0x43ea16
and dword [ebx + 0x68], eax
mov eax, dword [esp + 0x50]
mov ecx, eax
mov dword [ebx], eax
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x43f49d
mov ecx, dword [ebx + 0x54]
xor eax, eax
lea esi, [eax + 1]
shl esi, cl
mov ecx, dword [ebx + 0x4c]
lea eax, [esi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov edi, eax
mov dword [esp + 0x40], ecx
movzx ecx, cl
shr edi, 0x10
mov dword [esp + 0x4c], eax
cmp ecx, ebp
jbe 0x43f2cb
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
mov edi, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
movzx eax, byte [edi]
shl eax, cl
add edx, eax
inc edi
mov dword [esp + 0x18], edx
add ebp, 8
mov dword [esp + 0x1c], edi
jmp 0x43f27b
mov ecx, dword [esp + 0x40]
mov esi, ecx
movzx edi, di
mov dword [esp + 0x40], esi
mov esi, edi
cmp si, word [esp + 0x30]
jae 0x43f33f
movzx esi, cl
cmp ebp, esi
jae 0x43f318
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
movzx edx, byte [edi]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
shl edx, cl
add ebp, 8
add dword [esp + 0x18], edx
inc edi
mov dword [esp + 0x1c], edi
cmp ebp, esi
jb 0x43f2ec
mov edx, dword [esp + 0x18]
movzx ecx, ah
mov ax, word [esp + 0x4e]
sub ebp, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
jmp 0x43f485
mov ecx, dword [esp + 0x40]
movzx ecx, cl
cmp si, word [esp + 0x30]
jne 0x43f3b6
lea esi, [ecx + 2]
cmp ebp, esi
jae 0x43f384
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
movzx edx, byte [edi]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
shl edx, cl
add ebp, 8
add dword [esp + 0x18], edx
inc edi
mov dword [esp + 0x1c], edi
cmp ebp, esi
jb 0x43f358
mov edx, dword [esp + 0x18]
movzx ecx, ah
mov eax, dword [ebx + 0x68]
sub ebp, ecx
shr edx, cl
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
test eax, eax
je 0x43eedf
movzx edi, word [ebx + eax*2 + 0x6e]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
sub ebp, 2
jmp 0x43f458
cmp di, word [esp + 0x50]
jne 0x43f408
lea esi, [ecx + 3]
cmp ebp, esi
jae 0x43f3f4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
movzx edx, byte [edi]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
shl edx, cl
add ebp, 8
add dword [esp + 0x18], edx
inc edi
mov dword [esp + 0x1c], edi
cmp ebp, esi
jb 0x43f3c8
mov edx, dword [esp + 0x18]
movzx ecx, ah
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x43f451
lea esi, [ecx + 7]
cmp ebp, esi
jae 0x43f43f
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
movzx edx, byte [edi]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
shl edx, cl
add ebp, 8
add dword [esp + 0x18], edx
inc edi
mov dword [esp + 0x1c], edi
cmp ebp, esi
jb 0x43f413
mov edx, dword [esp + 0x18]
movzx ecx, ah
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add ebp, eax
xor edi, edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x68]
add ecx, dword [ebx + 0x60]
add eax, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
cmp eax, ecx
ja 0x43f497
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], di
mov ecx, dword [ebx + 0x68]
lea ecx, [ecx + 1]
mov dword [ebx + 0x68], ecx
sub esi, 1
jne 0x43f46f
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp ecx, eax
jb 0x43f271
mov ecx, dword [ebx]
jmp 0x43f49d
mov ecx, dword [esp + 0x58]
mov dword [ebx], ecx
cmp ecx, 0x1b
je 0x43ee8a
lea eax, [ebx + 0x530]
xor ecx, ecx
lea esi, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [esi], eax
lea edi, [ebx + 0x2f0]
lea eax, [ebx + 0x54]
inc ecx
push edi
push eax
push esi
push dword [ebx + 0x60]
lea edx, [ebx + 0x70]
mov dword [eax], 9
call fcn.0043b578
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x43f4ec
mov dword [ebx], 0x1b
jmp 0x43f0f9
mov eax, dword [esi]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push edi
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push esi
push dword [ebx + 0x64]
add eax, 0x38
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.0043b578
mov edx, dword [esp + 0x28]
mov ecx, eax
mov esi, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x43ea16
mov edi, dword [esp + 0x3c]
mov dword [ebx], 0x12
cmp esi, 6
jb 0x43f58e
mov eax, dword [esp + 0x24]
cmp eax, 0x102
jb 0x43f58e
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x10], ecx
mov ecx, edi
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [ebx + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x3c], ebp
call fcn.0043ba14
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 4]
mov edx, dword [ebx + 0x38]
mov ebp, dword [ebx + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
jmp 0x43f037
mov ecx, dword [ebx + 0x54]
xor eax, eax
mov edi, dword [ebx + 0x4c]
lea esi, [eax + 1]
shl esi, cl
jmp 0x43f5c6
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
mov eax, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x1c]
mov dword [esp + 0x18], edx
add ebp, 8
lea eax, [esi - 1]
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebp
ja 0x43f59d
test al, al
je 0x43f67c
test al, 0xf0
jne 0x43f67c
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [esp + 0x40], edx
and esi, dword [esp + 0x18]
shr esi, cl
mov ecx, dword [ebx + 0x4c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x43f663
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43fabf
dec esi
movzx edi, dh
mov dword [esp + 0x14], esi
mov ecx, ebp
mov esi, dword [esp + 0x1c]
add ebp, 8
movzx eax, byte [esi]
shl eax, cl
add dword [esp + 0x18], eax
inc esi
movzx eax, word [esp + 0x42]
mov dword [esp + 0x1c], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [esp + 0x18]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, ebp
ja 0x43f618
movzx ecx, dh
mov edx, dword [esp + 0x18]
shr edx, cl
sub ebp, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub ebp, ecx
mov ecx, eax
mov dword [esp + 0x18], edx
shr ecx, 0x10
mov dword [esp + 0x20], ebp
mov dword [ebx + 0x40], ecx
test al, al
jne 0x43f6a7
mov dword [ebx], 0x17
jmp 0x43ee8a
test al, 0x20
jne 0x43ee84
test al, 0x40
jne 0x43eedf
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x13
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x43f714
cmp ebp, esi
jae 0x43f6ff
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
movzx eax, byte [edi]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
shl eax, cl
add ebp, 8
add edx, eax
inc edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
cmp ebp, esi
jb 0x43f6d5
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
sub ebp, esi
mov dword [esp + 0x18], edx
mov dword [ebx], 0x14
mov ecx, dword [ebx + 0x58]
xor eax, eax
mov edi, dword [ebx + 0x50]
lea esi, [eax + 1]
shl esi, cl
jmp 0x43f752
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
mov eax, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x1c]
mov dword [esp + 0x18], edx
add ebp, 8
lea eax, [esi - 1]
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebp
ja 0x43f729
test al, 0xf0
jne 0x43f800
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [esp + 0x40], edx
and esi, dword [esp + 0x18]
shr esi, cl
mov ecx, dword [ebx + 0x50]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x43f7e7
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43fabf
dec esi
movzx edi, dh
mov dword [esp + 0x14], esi
mov ecx, ebp
mov esi, dword [esp + 0x1c]
add ebp, 8
movzx eax, byte [esi]
shl eax, cl
add dword [esp + 0x18], eax
inc esi
movzx eax, word [esp + 0x42]
mov dword [esp + 0x1c], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [esp + 0x18]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, ebp
ja 0x43f79c
movzx ecx, dh
mov edx, dword [esp + 0x18]
shr edx, cl
sub ebp, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub ebp, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
test al, 0x40
jne 0x43eedf
mov ecx, eax
mov dword [ebx], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x43f885
cmp ebp, esi
jae 0x43f86c
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43fac3
movzx eax, byte [edi]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, ebp
shl eax, cl
add ebp, 8
add edx, eax
inc edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
cmp ebp, esi
jb 0x43f842
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
sub ebp, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
mov eax, dword [ebx + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add eax, ecx
cmp dword [ebx + 0x44], eax
ja 0x43eedf
mov dword [ebx], 0x16
jmp 0x43f8a7
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43fabf
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x43f8ea
sub eax, ecx
cmp eax, dword [ebx + 0x30]
jbe 0x43f8d0
sub eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x28]
sub ecx, eax
add ecx, dword [ebx + 0x34]
jmp 0x43f8d8
mov ecx, dword [ebx + 0x34]
sub ecx, eax
add ecx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x40]
cmp eax, esi
mov edi, esi
cmovbe edi, eax
mov dword [esp + 0x4c], edi
mov eax, edi
jmp 0x43f8f5
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x40]
sub ecx, eax
mov eax, esi
mov edi, dword [esp + 0x24]
cmp eax, edi
cmovbe edi, eax
sub dword [esp + 0x24], edi
sub esi, edi
mov dword [ebx + 0x40], esi
mov esi, dword [esp + 0x2c]
sub ecx, esi
mov al, byte [ecx + esi]
mov byte [esi], al
inc esi
sub edi, 1
jne 0x43f90d
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x14]
cmp dword [ebx + 0x40], edi
jne 0x43ee8e
mov dword [ebx], 0x12
jmp 0x43ee8e
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x43fabf
mov edi, dword [esp + 0x2c]
mov al, byte [ebx + 0x40]
mov byte [edi], al
inc edi
dec ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
jmp 0x43f929
cmp dword [ebx + 8], 0
je 0x43fa32
cmp ebp, 0x20
jae 0x43f997
mov ecx, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [ecx]
dec esi
mov ecx, ebp
mov dword [esp + 0x14], esi
shl eax, cl
add ebp, 8
mov ecx, dword [esp + 0x1c]
add edx, eax
inc ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
cmp ebp, 0x20
jb 0x43f968
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
sub ecx, eax
add dword [edi + 0x18], ecx
mov dword [esp + 0x34], ecx
adc dword [edi + 0x1c], 0
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x43f9ed
mov eax, dword [esp + 0x2c]
sub eax, ecx
cmp dword [ebx + 0x10], 0
mov ecx, dword [ebx + 0x18]
je 0x43f9d3
test eax, eax
je 0x43f9e3
push dword [esp + 0x34]
mov edx, eax
call fcn.0043d955
jmp 0x43f9de
push dword [esp + 0x34]
mov edx, eax
call fcn.0043d41a
mov edx, dword [esp + 0x1c]
pop ecx
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov ecx, edx
and ecx, dword [esp + 0x54]
mov eax, edx
shl eax, 0x10
xor edi, edi
add ecx, eax
mov eax, edx
shr eax, 8
and eax, dword [esp + 0x54]
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp dword [ebx + 0x10], edi
cmovne ecx, edx
cmp ecx, dword [ebx + 0x18]
jne 0x43ea16
mov edx, edi
mov ebp, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
jmp 0x43fa34
xor edi, edi
mov dword [ebx], 0x19
jmp 0x43fa3e
xor edi, edi
cmp dword [ebx + 8], edi
je 0x43fa89
cmp dword [ebx + 0x10], edi
je 0x43fa89
cmp ebp, 0x20
jae 0x43fa7a
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x43fabf
movzx eax, byte [edi]
mov ecx, ebp
shl eax, cl
dec esi
add edx, eax
mov dword [esp + 0x14], esi
add ebp, 8
mov dword [esp + 0x18], edx
inc edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edi
cmp ebp, 0x20
jb 0x43fa51
xor edi, edi
cmp edx, dword [ebx + 0x1c]
jne 0x43ea16
mov dword [esp + 0x18], edi
mov ebp, edi
mov dword [ebx], 0x1a
xor ecx, ecx
inc ecx
jmp 0x43fabb
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], ebp
push 2
jmp 0x43fb9f
push 0xfffffffffffffffd
pop ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esi], edi
mov edi, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov dword [ebx + 0x3c], ebp
xor ebp, ebp
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ebp
jne 0x43fafd
cmp dword [ebx], 0x18
jge 0x43fb17
cmp edi, dword [esi + 0x14]
je 0x43fb17
mov edx, edi
mov ecx, esi
call fcn.0043b4a9
test eax, eax
je 0x43fb17
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x43fb9f
mov eax, dword [esp + 0x48]
sub eax, dword [esi + 4]
sub edi, dword [esi + 0x14]
add dword [esi + 8], eax
mov dword [esp + 0x48], eax
adc dword [esi + 0xc], ebp
add dword [esi + 0x18], edi
adc dword [esi + 0x1c], ebp
add dword [ebx + 0x1c], edi
cmp dword [ebx + 8], ebp
je 0x43fb65
test edi, edi
je 0x43fb65
mov edx, dword [esi + 0x10]
mov ecx, dword [ebx + 0x18]
sub edx, edi
cmp dword [ebx + 0x10], ebp
je 0x43fb56
test edx, edx
je 0x43fb5f
push edi
call fcn.0043d955
jmp 0x43fb5c
push edi
call fcn.0043d41a
mov ebp, eax
pop ecx
mov dword [ebx + 0x18], ebp
mov dword [esi + 0x30], ebp
mov ecx, dword [ebx + 4]
mov edx, 0x80
neg ecx
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, edx
add ecx, eax
mov eax, dword [esp + 0x38]
add ecx, dword [ebx + 0x3c]
cmp dword [esp + 0x48], 0
mov dword [esi + 0x2c], ecx
jne 0x43fba0
test edi, edi
jne 0x43fba0
push 0xfffffffffffffffb
test eax, eax
pop ecx
cmove eax, ecx
jmp 0x43fba0
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret