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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0a51345b
pop ecx
test eax, eax
jne case.0xa511d1e.16211
lea eax, [edi + 0xc]
xor ecx, ecx
cmp dword [eax], ecx
je case.0xa511d1e.16211
cmp dword [edi], ecx
jne 0xa511cb1
cmp dword [edi + 4], ecx
jne case.0xa511d1e.16211
lea edx, [edi + 0xc]
jmp 0xa511cb3
mov edx, eax
mov ebx, dword [edi + 0x1c]
mov esi, 0x3f40
mov dword [ebp - 0x30], eax
mov ecx, dword [ebx + 4]
cmp ecx, 0x3f3f
jne 0xa511cd1
mov dword [ebx + 4], esi
mov ecx, esi
mov dword [ebp - 0x30], edx
mov eax, dword [eax]
add ecx, 0xffffc0cc
mov edx, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
xor eax, eax
push 0x1f
mov dword [ebp - 0x28], eax
pop eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
cmp ecx, eax
ja case.0xa511d1e.16211
mov dword [ebp - 0x40], 0x10
mov eax, esi
mov dword [ebp - 0x34], esi
jmp dword [ecx*4 + 0xa5131b3]
xor eax, eax
cmp dword [ebx + 0xc], eax
jne 0xa511d38
mov dword [ebx + 4], 0x3f40
jmp 0xa513088
push 0x10
pop ecx
cmp esi, ecx
jae 0xa511d73
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
push 0x10
inc eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jb 0xa511d42
xor eax, eax
test byte [ebx + 0xc], 2
je 0xa511dd0
cmp edx, 0x8b1f
jne 0xa511dd0
cmp dword [ebx + 0x28], eax
jne 0xa511d8d
mov dword [ebx + 0x28], 0xf
push eax
push eax
push eax
call fcn.0a513873
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x18], al
shr eax, 8
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x18]
push 2
push eax
push dword [ebx + 0x1c]
call fcn.0a513873
add esp, 0x18
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 4], 0x3f35
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0xa513088
mov eax, dword [ebx + 0x24]
test eax, eax
je 0xa511ddb
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 0xc], 1
je 0xa511e8c
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0x14]
jne 0xa511e8c
mov eax, edx
and al, 0xf
cmp al, 8
je 0xa511e18
mov dword [edi + 0x18], 0xa477500
jmp 0xa513081
mov eax, dword [ebx + 0x28]
sub esi, 4
shr edx, 4
mov ecx, edx
mov dword [ebp - 0x14], edx
and ecx, 0xf
mov dword [ebp - 0x10], esi
add ecx, 8
test eax, eax
jne 0xa511e38
mov dword [ebx + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0xa511e80
cmp ecx, eax
ja 0xa511e80
xor esi, esi
xor eax, eax
push esi
inc eax
mov dword [ebx + 0x14], esi
shl eax, cl
push esi
push esi
mov dword [ebx + 0x18], eax
call fcn.0a513629
mov edx, dword [ebp - 0x14]
add esp, 0xc
shr edx, 8
not edx
mov dword [ebx + 0x1c], eax
and edx, 2
mov dword [edi + 0x30], eax
or edx, 0x3f3d
mov dword [ebx + 4], edx
mov edx, esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0xa513088
mov dword [edi + 0x18], 0xa47751c
jmp 0xa513081
mov dword [edi + 0x18], 0xa4774e8
jmp 0xa513081
push 0x10
pop eax
cmp esi, eax
jae 0xa511ed1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
push 0x10
inc eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jb 0xa511ea2
mov dword [ebx + 0x14], edx
cmp dl, 8
jne 0xa511e0c
test edx, 0xe000
je 0xa511ef1
mov dword [edi + 0x18], 0xa477530
jmp 0xa513081
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0xa511f02
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x14], 0x200
je 0xa511f2e
test byte [ebx + 0xc], 4
je 0xa511f2e
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ebx + 0x1c]
call fcn.0a513873
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov esi, dword [ebp - 8]
xor eax, eax
mov edx, eax
mov dword [ebx + 4], 0x3f36
mov dword [ebp - 0x14], edx
mov ecx, eax
jmp 0xa511f5d
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], edx
cmp ecx, 0x20
jae 0xa511f85
mov eax, dword [ebp - 0xc]
test esi, esi
je 0xa512256
movzx eax, byte [eax]
dec esi
shl eax, cl
add ecx, 8
add edx, eax
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp ecx, 0x20
jb 0xa511f60
mov eax, dword [ebx + 0x24]
test eax, eax
je 0xa511f8f
mov dword [eax + 4], edx
test dword [ebx + 0x14], 0x200
je 0xa511fcb
test byte [ebx + 0xc], 4
je 0xa511fcb
mov eax, edx
mov byte [ebp - 0x18], dl
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x16], al
lea eax, [ebp - 0x18]
push 4
shr edx, 0x18
push eax
mov byte [ebp - 0x15], dl
push dword [ebx + 0x1c]
call fcn.0a513873
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 4], 0x3f37
mov edx, eax
mov ecx, eax
mov dword [ebp - 0x14], edx
jmp 0xa511ff6
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], edx
cmp eax, 0x10
jae 0xa51201e
mov eax, dword [ebp - 0xc]
test esi, esi
je 0xa512256
movzx eax, byte [eax]
dec esi
shl eax, cl
add ecx, 8
add edx, eax
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp ecx, 0x10
jb 0xa511ff9
mov esi, dword [ebx + 0x24]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0xa512036
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x14], 0x200
je 0xa51205f
test byte [ebx + 0xc], 4
je 0xa51205f
push 2
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], dl
push eax
mov byte [ebp - 0x17], cl
push dword [ebx + 0x1c]
call fcn.0a513873
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov dword [ebx + 4], 0x3f38
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0xa512076
xor ecx, ecx
test dword [ebx + 0x14], 0x400
je 0xa5120fd
push 0x10
pop eax
cmp esi, eax
jae 0xa5120b8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
push 0x10
inc eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jb 0xa512089
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x44], edx
test eax, eax
je 0xa5120c5
mov dword [eax + 0x14], edx
test dword [ebx + 0x14], 0x200
je 0xa5120f1
test byte [ebx + 0xc], 4
je 0xa5120f1
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ebx + 0x1c]
call fcn.0a513873
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
jmp 0xa512107
mov eax, dword [ebx + 0x24]
test eax, eax
je 0xa512107
mov dword [eax + 0x10], ecx
mov dword [ebx + 4], 0x3f39
test dword [ebx + 0x14], 0x400
je 0xa5121b3
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp - 8]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0xa5121ab
mov edx, dword [ebx + 0x24]
test edx, edx
je 0xa512179
mov edi, dword [edx + 0x10]
test edi, edi
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp + 8]
je 0xa512179
mov edx, dword [edx + 0x14]
sub edx, eax
mov dword [ebp - 0x2c], edx
mov edx, dword [ebx + 0x24]
mov eax, dword [ebp - 0x2c]
mov edx, dword [edx + 0x18]
cmp eax, edx
jae 0xa512179
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x2c]
jbe 0xa512163
sub edx, eax
jmp 0xa512165
mov edx, ecx
add eax, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.0a553d90
mov ecx, dword [ebp - 0x34]
add esp, 0xc
test dword [ebx + 0x14], 0x200
je 0xa51219a
test byte [ebx + 0xc], 4
je 0xa51219a
push ecx
push dword [ebp - 0xc]
push dword [ebx + 0x1c]
call fcn.0a513873
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x44]
sub dword [ebp - 8], ecx
add dword [ebp - 0xc], ecx
sub eax, ecx
mov dword [ebx + 0x44], eax
test eax, eax
jne 0xa512253
xor ecx, ecx
mov dword [ebx + 4], 0x3f3a
mov dword [ebx + 0x44], ecx
jmp 0xa5121c3
xor ecx, ecx
test dword [ebx + 0x14], 0x800
je 0xa5122d2
mov eax, dword [ebp - 8]
test eax, eax
je 0xa5130f8
mov edi, dword [ebp - 8]
mov eax, ecx
mov edx, dword [ebp - 0xc]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0xa512214
cmp dword [ecx + 0x1c], 0
je 0xa512211
mov edx, dword [ebx + 0x44]
cmp edx, dword [ecx + 0x20]
jae 0xa512211
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
cmp byte [ebp - 1], 0
je 0xa51221e
cmp eax, edi
jb 0xa5121e3
test dword [ebx + 0x14], 0x200
mov edi, dword [ebp + 8]
je 0xa512243
test byte [ebx + 0xc], 4
je 0xa512243
push eax
push edx
push dword [ebx + 0x1c]
call fcn.0a513873
mov dword [ebx + 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
add dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0xa5122dc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
xor edi, edi
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [esi], edx
mov edx, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], ecx
cmp dword [ebx + 0x2c], edi
jne 0xa5122ac
cmp edx, dword [esi + 0x10]
je 0xa513103
cmp dword [ebx + 4], 0x3f51
jge 0xa513103
cmp dword [ebx + 4], 0x3f4e
jl 0xa5122ac
cmp dword [ebp + 0xc], 4
je 0xa513103
sub edx, dword [esi + 0x10]
push edx
push dword [esi + 0xc]
push esi
call fcn.0a513492
add esp, 0xc
test eax, eax
je 0xa513100
mov dword [ebx + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0xa51309e
mov eax, dword [ebx + 0x24]
test eax, eax
je 0xa5122dc
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [ebx + 4], 0x3f3b
mov dword [ebx + 0x44], ecx
jmp 0xa5122ec
xor ecx, ecx
test dword [ebx + 0x14], 0x1000
je 0xa51237d
cmp dword [ebp - 8], 0
je 0xa512253
mov edi, dword [ebp - 8]
mov eax, ecx
mov edx, dword [ebp - 0xc]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0xa51233c
cmp dword [ecx + 0x24], 0
je 0xa512339
mov edx, dword [ebx + 0x44]
cmp edx, dword [ecx + 0x28]
jae 0xa512339
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
cmp byte [ebp - 1], 0
je 0xa512346
cmp eax, edi
jb 0xa51230b
test dword [ebx + 0x14], 0x200
mov edi, dword [ebp + 8]
je 0xa51236b
test byte [ebx + 0xc], 4
je 0xa51236b
push eax
push edx
push dword [ebx + 0x1c]
call fcn.0a513873
mov dword [ebx + 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
add dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
jne 0xa512253
jmp 0xa512387
mov eax, dword [ebx + 0x24]
test eax, eax
je 0xa512387
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx + 4], 0x3f3c
test dword [ebx + 0x14], 0x200
je 0xa5123f9
push 0x10
pop eax
cmp esi, eax
jae 0xa5123d3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
push 0x10
inc eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jb 0xa5123a4
test byte [ebx + 0xc], 4
je 0xa5123ed
movzx eax, word [ebx + 0x1c]
cmp edx, eax
je 0xa5123ed
mov dword [edi + 0x18], 0xa47754c
jmp 0xa513081
xor edx, edx
mov esi, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0xa5123fb
xor edx, edx
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0xa512418
mov eax, dword [ebx + 0x14]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x30], 1
push edx
push edx
push edx
call fcn.0a513873
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
jmp 0xa513088
cmp esi, 0x20
jae 0xa51246d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0xa512440
bswap edx
mov dword [ebx + 0x1c], edx
xor eax, eax
mov dword [edi + 0x30], edx
mov esi, eax
mov edx, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebx + 4], 0x3f3e
jmp 0xa51248c
xor eax, eax
cmp dword [ebx + 0x10], eax
je 0xa5130a4
push eax
push eax
push eax
call fcn.0a513629
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
cmp dword [ebp + 0xc], 5
je 0xa512253
cmp dword [ebp + 0xc], 6
je 0xa512253
cmp dword [ebx + 8], 0
je 0xa5124e5
mov ecx, esi
mov dword [ebx + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0xa513088
cmp esi, 3
jae 0xa51251a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 3
jb 0xa5124ed
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 8], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0xa512590
sub eax, 1
je 0xa512556
sub eax, 1
je 0xa51254d
sub eax, 1
jne 0xa512597
mov dword [edi + 0x18], 0xa477560
mov dword [ebx + 4], 0x3f51
jmp 0xa512597
mov dword [ebx + 4], 0x3f44
jmp 0xa512597
cmp dword [ebp + 0xc], 6
mov dword [ebx + 0x50], 0xa476c40
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x54], 0xa477440
mov dword [ebx + 0x5c], 5
mov dword [ebx + 4], 0x3f47
jne 0xa512597
shr edx, 2
sub esi, 3
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0xa512253
mov dword [ebx + 4], 0x3f41
shr edx, 2
sub esi, 3
jmp 0xa511e75
mov ecx, esi
and ecx, 7
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jae 0xa5125e6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0xa5125b9
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0xa512600
mov dword [edi + 0x18], 0xa477574
jmp 0xa513081
xor eax, eax
mov dword [ebx + 0x44], ecx
cmp dword [ebp + 0xc], 6
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx + 4], 0x3f42
je 0xa5130f1
mov dword [ebx + 4], 0x3f43
mov eax, dword [ebx + 0x44]
test eax, eax
je 0xa51266e
mov edi, dword [ebp - 8]
cmp eax, edi
cmovbe edi, eax
cmp edi, dword [ebp - 0x1c]
cmova edi, dword [ebp - 0x1c]
test edi, edi
je 0xa512253
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x20]
call fcn.0a553d90
sub dword [ebp - 8], edi
add esp, 0xc
add dword [ebp - 0xc], edi
sub dword [ebp - 0x1c], edi
add dword [ebp - 0x20], edi
sub dword [ebx + 0x44], edi
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
jmp 0xa513088
mov dword [ebx + 4], 0x3f3f
jmp 0xa513088
cmp esi, 0xe
jae 0xa5126af
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0xe
jb 0xa512682
mov eax, edx
sub esi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x10], esi
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x64], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebx + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x14], edx
mov dword [ebx + 0x60], eax
cmp ecx, 0x11e
ja 0xa512706
cmp dword [ebp - 0x3c], 0x1e
ja 0xa512706
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f45
mov eax, dword [ebx + 0x6c]
jmp 0xa51276f
mov dword [edi + 0x18], 0xa477594
jmp 0xa513081
cmp esi, 3
jae 0xa512747
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 3
jb 0xa51271a
mov eax, dword [ebx + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x14], edx
movzx eax, word [eax*2 + 0xa4774c0]
mov word [ebx + eax*2 + 0x74], cx
mov eax, dword [ebx + 0x6c]
inc eax
sub esi, 3
mov dword [ebx + 0x6c], eax
mov dword [ebp - 0x10], esi
cmp eax, dword [ebx + 0x60]
jb 0xa512712
jmp 0xa51278c
movzx eax, word [eax*2 + 0xa4774c0]
xor ecx, ecx
mov word [ebx + eax*2 + 0x74], cx
mov eax, dword [ebx + 0x6c]
inc eax
mov dword [ebx + 0x6c], eax
cmp eax, 0x13
jb 0xa512776
lea eax, [ebx + 0x534]
lea edx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [edx], eax
lea ecx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea eax, [ebx + 0x74]
push eax
push 0
call fcn.0a513b6b
mov edx, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0xa5127d7
mov dword [edi + 0x18], 0xa4775b8
jmp 0xa513081
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f46
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp dword [ebx + 0x6c], eax
jae 0xa5129c6
mov edi, dword [ebx + 0x50]
jmp 0xa51281d
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x58]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x34], eax
cmp ecx, esi
ja 0xa5127f6
mov edi, eax
shr edi, 0x10
mov ecx, edi
cmp di, word [ebp - 0x40]
jae 0xa51286a
shr eax, 8
movzx ecx, al
mov eax, dword [ebx + 0x6c]
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov word [ebx + eax*2 + 0x74], di
inc dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x6c]
jmp 0xa5129b5
push 0x10
pop edi
cmp cx, di
jne 0xa5128e0
mov ecx, eax
shr ecx, 8
movzx edi, cl
add edi, 2
cmp esi, edi
jae 0xa5128ad
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
mov edx, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x14], edx
inc dword [ebp - 0xc]
cmp esi, edi
jb 0xa512881
mov edx, dword [ebp - 0x14]
movzx ecx, ah
mov eax, dword [ebx + 0x6c]
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
test eax, eax
je 0xa5129ea
movzx eax, word [ebx + eax*2 + 0x72]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [ebp - 0x2c], eax
sub esi, 2
jmp 0xa512980
cmp word [ebp - 0x32], 0x11
movzx edi, ah
jne 0xa512930
add edi, 3
cmp esi, edi
jae 0xa51291d
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
mov edx, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x14], edx
inc dword [ebp - 0xc]
cmp esi, edi
jb 0xa5128f1
mov edx, dword [ebp - 0x14]
mov cl, ah
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0xa512974
add edi, 7
cmp esi, edi
jae 0xa512963
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
mov edx, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x14], edx
inc dword [ebp - 0xc]
cmp esi, edi
jb 0xa512937
mov edx, dword [ebp - 0x14]
mov cl, ah
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
movzx eax, ah
pop ecx
sub ecx, eax
add esi, ecx
and dword [ebp - 0x2c], 0
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
lea ecx, [eax + edi]
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp ecx, eax
ja 0xa5129ea
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
mov word [ebx + ecx*2 + 0x74], dx
mov ecx, dword [ebx + 0x6c]
lea ecx, [ecx + 1]
mov dword [ebx + 0x6c], ecx
sub edi, 1
jne 0xa51299f
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp ecx, eax
jb 0xa5127f1
mov edi, dword [ebp + 8]
cmp dword [ebx + 4], 0x3f51
je 0xa513088
xor eax, eax
cmp word [ebx + 0x274], ax
jne 0xa5129fd
mov dword [edi + 0x18], 0xa4775f0
jmp 0xa513081
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 0xa4775d4
mov dword [ebx + 4], 0x3f51
jmp 0xa5129c6
lea eax, [ebx + 0x534]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [ecx], eax
lea edx, [ebx + 0x2f4]
push edx
lea eax, [ebx + 0x58]
push eax
push ecx
push dword [ebx + 0x64]
mov dword [eax], 9
lea eax, [ebx + 0x74]
push eax
push 1
call fcn.0a513b6b
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0xa512a44
mov dword [edi + 0x18], 0xa477618
mov edx, dword [ebp - 0x14]
jmp 0xa513081
lea ecx, [ebx + 0x70]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f4]
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x5c]
push edx
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x64]
push ecx
push dword [ebx + 0x68]
add eax, 0x3a
lea eax, [ebx + eax*2]
push eax
push 2
call fcn.0a513b6b
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0xa512a85
mov dword [edi + 0x18], 0xa477634
jmp 0xa512a3c
cmp dword [ebp + 0xc], 6
mov dword [ebx + 4], 0x3f47
je 0xa512253
mov edx, dword [ebp - 0x14]
mov dword [ebx + 4], 0x3f48
cmp dword [ebp - 8], 6
jb 0xa512b19
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x102
jb 0xa512b19
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [eax], edi
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 8]
push edi
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], esi
call fcn.0a513f41
cmp dword [ebx + 4], 0x3f3f
mov eax, dword [ebp - 0x30]
mov edx, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x40]
pop ecx
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
pop ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jne 0xa513088
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0xa513088
mov ecx, dword [ebx + 0x58]
xor eax, eax
and dword [ebx + 0x1bc8], 0
inc eax
mov edi, dword [ebx + 0x50]
shl eax, cl
dec eax
mov dword [ebp - 0x2c], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0xa512b84
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
inc dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword [ebp - 0x14], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0xa512b43
test al, al
je 0xa512c28
test al, 0xf0
jne 0xa512c28
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 [ebp - 0x34], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebp - 0x2c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0xa512c07
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
mov edi, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0xc], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0xa512bc0
movzx ecx, dh
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx + 0x44], ecx
test al, al
jne 0xa512c58
mov dword [ebx + 4], 0x3f4d
jmp 0xa512666
test al, 0x20
je 0xa512c6f
or dword [ebx + 0x1bc8], 0xffffffff
mov dword [ebx + 4], 0x3f3f
jmp 0xa512666
test al, 0x40
je 0xa512c82
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 0xa47764c
jmp 0xa513081
movzx eax, al
and eax, 0xf
mov dword [ebx + 4], 0x3f49
mov dword [ebx + 0x4c], eax
mov edi, dword [ebx + 0x4c]
test edi, edi
je 0xa512ce9
cmp esi, edi
jae 0xa512ccc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0xa512ca0
xor eax, eax
mov ecx, edi
inc eax
sub esi, edi
shl eax, cl
dec eax
mov dword [ebp - 0x10], esi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc8], edi
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x1bcc], eax
mov dword [ebx + 4], 0x3f4a
mov ecx, dword [ebx + 0x5c]
xor eax, eax
mov edi, dword [ebx + 0x54]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x2c], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0xa512d5d
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x5c]
add edx, eax
inc dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword [ebp - 0x14], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0xa512d1c
test al, 0xf0
jne 0xa512df9
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 [ebp - 0x34], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebp - 0x2c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0xa512dd8
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
mov edi, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0xc], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0xa512d91
movzx ecx, dh
mov edx, dword [ebp - 0x14]
sub esi, ecx
shr edx, cl
add dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
test al, 0x40
je 0xa512e24
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 0xa477668
jmp 0xa513081
mov ecx, eax
mov dword [ebx + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], eax
mov edi, dword [ebx + 0x4c]
test edi, edi
je 0xa512e93
cmp esi, edi
jae 0xa512e76
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0xa512e4a
xor eax, eax
mov ecx, edi
inc eax
sub esi, edi
shl eax, cl
dec eax
mov dword [ebp - 0x10], esi
and eax, edx
shr edx, cl
add dword [ebx + 0x48], eax
add dword [ebx + 0x1bc8], edi
mov dword [ebp - 0x14], edx
mov edi, dword [ebp + 8]
mov dword [ebx + 4], 0x3f4c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0xa512253
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebx + 0x48]
cmp eax, ecx
jbe 0xa512ef3
sub eax, ecx
cmp eax, dword [ebx + 0x30]
jbe 0xa512ed0
cmp dword [ebx + 0x1bc4], 0
je 0xa512ed0
mov dword [edi + 0x18], 0xa477680
jmp 0xa513081
mov ecx, dword [ebx + 0x34]
cmp eax, ecx
jbe 0xa512edc
sub eax, ecx
mov ecx, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x44]
sub ecx, eax
add ecx, dword [ebx + 0x38]
cmp eax, edi
mov dword [ebp - 0x34], edi
cmovbe edi, eax
mov dword [ebp - 0x2c], edi
mov eax, edi
jmp 0xa512efe
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x1c]
cmp eax, edi
mov edx, dword [ebp - 0x20]
cmova eax, edi
sub edi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x34]
sub edi, eax
sub ecx, edx
mov dword [ebx + 0x44], edi
mov edi, eax
mov al, byte [ecx + edx]
mov byte [edx], al
inc edx
sub edi, 1
jne 0xa512f1d
cmp dword [ebx + 0x44], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x14]
jne 0xa513088
mov dword [ebx + 4], 0x3f48
jmp 0xa513088
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0xa512253
mov edi, dword [ebp - 0x20]
mov al, byte [ebx + 0x44]
inc dword [ebp - 0x20]
dec ecx
mov dword [ebp - 0x1c], ecx
mov byte [edi], al
mov dword [ebx + 4], 0x3f48
jmp 0xa512666
cmp dword [ebx + 0xc], 0
je 0xa51301d
cmp esi, 0x20
jae 0xa512fac
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0xa512f7f
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
add dword [edi + 0x14], ecx
add dword [ebx + 0x20], ecx
test byte [ebx + 0xc], 4
je 0xa512fef
test ecx, ecx
je 0xa512fef
mov eax, dword [ebp - 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0
push ecx
push eax
push dword [ebx + 0x1c]
je 0xa512fdb
call fcn.0a513873
jmp 0xa512fe0
call fcn.0a513629
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x1c]
test byte [ebx + 0xc], 4
mov dword [ebp - 0x24], eax
je 0xa513011
cmp dword [ebx + 0x14], 0
mov eax, edx
bswap eax
cmovne eax, edx
cmp eax, dword [ebx + 0x1c]
je 0xa513011
mov dword [edi + 0x18], 0xa4776a0
jmp 0xa513081
xor eax, eax
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx + 4], 0x3f4f
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0xa5130cc
cmp dword [ebx + 0x14], eax
je 0xa5130cc
cmp esi, 0x20
jae 0xa51306f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xa512253
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0xa513040
xor eax, eax
test byte [ebx + 0xc], 4
je 0xa5130c5
cmp edx, dword [ebx + 0x20]
je 0xa5130c5
mov dword [edi + 0x18], 0xa4776b8
mov dword [ebx + 4], 0x3f51
mov ecx, dword [ebx + 4]
push 0x1f
sub ecx, 0x3f34
pop eax
cmp ecx, eax
jbe 0xa511d19
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], esi
push 2
jmp 0xa51309e
mov dword [ebp - 0x14], eax
mov ecx, eax
jmp 0xa5130cf
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 4], 0x3f50
jmp 0xa5130db
mov ecx, dword [ebp - 0x10]
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0xa512256
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x28], eax
jmp 0xa512253
mov ecx, eax
jmp 0xa512256
mov ecx, dword [ebp - 0x10]
jmp 0xa512259
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
sub eax, dword [esi + 4]
sub edx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], edx
add dword [ebx + 0x20], edx
test byte [ebx + 0xc], 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], edx
je 0xa51314c
test edx, edx
je 0xa51314c
mov eax, dword [esi + 0xc]
push edx
sub eax, edx
push eax
push dword [ebx + 0x1c]
cmp dword [ebx + 0x14], edi
je 0xa51313b
call fcn.0a513873
jmp 0xa513140
call fcn.0a513629
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
cmp dword [ebx + 4], 0x3f47
je 0xa51315e
cmp dword [ebx + 4], 0x3f42
jne 0xa513163
mov edi, 0x100
mov ecx, dword [ebx + 8]
neg ecx
mov dword [ebp - 0x40], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx + 4], 0x3f3f
cmove eax, dword [ebp - 0x40]
add ecx, eax
add ecx, dword [ebx + 0x40]
add ecx, edi
cmp dword [ebp - 0x38], 0
mov dword [esi + 0x2c], ecx
jne 0xa513195
test edx, edx
je 0xa51319b
cmp dword [ebp + 0xc], 4
jne 0xa5131ab
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0xa51309f
mov eax, dword [ebp - 0x28]
jmp 0xa51309f