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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov edx, ecx
push edi
mov dword [ebp - 0x10], edx
call fcn.0b0d435b
test eax, eax
jne case.0xb0d466c.16211
cmp dword [edx + 0xc], eax
je case.0xb0d466c.16211
cmp dword [edx], eax
jne 0xb0d4609
cmp dword [edx + 4], eax
jne case.0xb0d466c.16211
mov esi, dword [edx + 0x1c]
mov ecx, 0x3f40
mov dword [ebp - 0x44], esi
mov eax, dword [esi + 4]
cmp eax, 0x3f3f
jne 0xb0d4623
mov dword [esi + 4], ecx
mov eax, ecx
mov ecx, dword [edx + 0xc]
add eax, 0xffffc0cc
and dword [ebp - 0x2c], 0
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x1c]
push 0x1f
mov dword [ebp - 0x28], edx
pop edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x3c], ecx
cmp eax, edx
ja case.0xb0d466c.16211
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edi
jmp dword [eax*4 + 0xb0d5a18]
cmp dword [esi + 0xc], 0
jne 0xb0d4685
mov dword [esi + 4], 0x3f40
jmp 0xb0d58bc
push 0x10
pop eax
cmp edi, eax
jae 0xb0d46be
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0xc]
push 0x10
pop ecx
inc eax
mov dword [ebp - 0x14], ebx
cmp edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
jb 0xb0d468f
test byte [esi + 0xc], 2
je 0xb0d470d
cmp ebx, 0x8b1f
jne 0xb0d470d
xor edi, edi
cmp dword [esi + 0x28], edi
jne 0xb0d46da
mov dword [esi + 0x28], 0xf
mov byte [ebp - 0x20], bl
lea edx, [ebp - 0x20]
shr ebx, 8
xor ecx, ecx
push 2
mov dword [esi + 0x1c], edi
mov byte [ebp - 0x1f], bl
call fcn.0b0d64bf
mov ebx, edi
mov dword [esi + 0x1c], eax
pop ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov dword [esi + 4], 0x3f35
mov edx, dword [ebp - 0x10]
jmp 0xb0d58b9
mov eax, dword [esi + 0x24]
test eax, eax
je 0xb0d4718
or dword [eax + 0x30], 0xffffffff
test byte [esi + 0xc], 1
je 0xb0d47c8
movzx ecx, bl
mov eax, ebx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
jne 0xb0d47c5
mov eax, ebx
and al, 0xf
cmp al, 8
je 0xb0d4755
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0xb0a7eb4
jmp 0xb0d58b2
mov eax, dword [esi + 0x28]
sub edi, 4
shr ebx, 4
mov ecx, ebx
mov dword [ebp - 0x14], ebx
and ecx, 0xf
mov dword [ebp - 0x18], edi
add ecx, 8
test eax, eax
jne 0xb0d4775
mov dword [esi + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0xb0d47b6
cmp ecx, eax
ja 0xb0d47b6
mov edx, dword [ebp - 0x10]
xor edi, edi
inc edi
shr ebx, 8
mov eax, edi
mov dword [esi + 0x1c], edi
shl eax, cl
not ebx
mov dword [esi + 0x18], eax
and ebx, 2
xor eax, eax
or ebx, 0x3f3d
mov dword [esi + 0x14], eax
mov dword [edx + 0x30], edi
mov edi, eax
mov dword [esi + 4], ebx
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
jmp 0xb0d58b9
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0xb0a7ed0
jmp 0xb0d58b2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0xb0a7e9c
jmp 0xb0d58b2
push 0x10
pop eax
cmp edi, eax
jae 0xb0d480d
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0xc]
push 0x10
pop ecx
inc eax
mov dword [ebp - 0x14], ebx
cmp edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
jb 0xb0d47de
mov dword [esi + 0x14], ebx
cmp bl, 8
je 0xb0d4828
mov dword [edx + 0x18], 0xb0a7eb4
mov dword [esi + 4], 0x3f51
jmp 0xb0d58bc
test ebx, 0xe000
je 0xb0d4839
mov dword [edx + 0x18], 0xb0a7ee4
jmp 0xb0d481c
mov edx, dword [esi + 0x24]
mov ecx, ebx
shr ecx, 8
test edx, edx
je 0xb0d484c
mov eax, ecx
and eax, 1
mov dword [edx], eax
test dword [esi + 0x14], 0x200
je 0xb0d4872
test byte [esi + 0xc], 4
je 0xb0d4872
mov byte [ebp - 0x1f], cl
lea edx, [ebp - 0x20]
mov ecx, dword [esi + 0x1c]
push 2
mov byte [ebp - 0x20], bl
call fcn.0b0d64bf
pop ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 8]
xor eax, eax
mov edx, dword [ebp - 0xc]
mov ebx, eax
mov edi, eax
mov dword [esi + 4], 0x3f36
test ecx, ecx
je 0xb0d590e
movzx eax, byte [edx]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
inc edx
cmp edi, 0x20
mov dword [ebp - 0xc], edx
jb 0xb0d4885
mov eax, dword [esi + 0x24]
test eax, eax
je 0xb0d48b3
mov dword [eax + 4], ebx
test dword [esi + 0x14], 0x200
je 0xb0d48ef
test byte [esi + 0xc], 4
je 0xb0d48ef
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 0x20], bl
shr eax, 8
mov byte [ebp - 0x1f], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
push 4
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], bl
call fcn.0b0d64bf
mov edx, dword [ebp - 0xc]
pop ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 8]
xor eax, eax
mov ebx, eax
mov dword [esi + 4], 0x3f37
mov edi, eax
test ecx, ecx
je 0xb0d590e
movzx eax, byte [edx]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
push 0x10
pop eax
inc edx
cmp edi, eax
mov dword [ebp - 0xc], edx
jb 0xb0d48ff
mov edx, dword [esi + 0x24]
mov ecx, ebx
shr ecx, 8
test edx, edx
je 0xb0d493d
movzx eax, bl
mov dword [edx + 8], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 0xc], ecx
test dword [esi + 0x14], 0x200
je 0xb0d4963
test byte [esi + 0xc], 4
je 0xb0d4963
mov byte [ebp - 0x1f], cl
lea edx, [ebp - 0x20]
mov ecx, dword [esi + 0x1c]
push 2
mov byte [ebp - 0x20], bl
call fcn.0b0d64bf
pop ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov ebx, edx
mov dword [esi + 4], 0x3f38
mov edi, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
jmp 0xb0d49a2
mov edi, dword [ebp - 0x40]
cmp edi, 0x20
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x38], ebx
jmp 0xb0d48a4
mov edi, dword [ebp - 0x34]
cmp edi, 0x10
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x38], ebx
jmp 0xb0d4920
xor edx, edx
test dword [esi + 0x14], 0x400
je 0xb0d4a1f
push 0x10
pop eax
cmp edi, eax
jae 0xb0d49db
mov edx, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [edx]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
push 0x10
inc edx
pop eax
mov dword [ebp - 0xc], edx
cmp edi, eax
jb 0xb0d49b5
mov eax, dword [esi + 0x24]
mov dword [esi + 0x44], ebx
test eax, eax
je 0xb0d49e8
mov dword [eax + 0x14], ebx
test dword [esi + 0x14], 0x200
je 0xb0d4a11
test byte [esi + 0xc], 4
je 0xb0d4a11
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x20]
mov byte [ebp - 0x20], bl
shr ebx, 8
push 2
mov byte [ebp - 0x1f], bl
call fcn.0b0d64bf
pop ecx
mov dword [esi + 0x1c], eax
xor eax, eax
mov ebx, eax
mov edi, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
jmp 0xb0d4a29
mov eax, dword [esi + 0x24]
test eax, eax
je 0xb0d4a29
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 8]
mov dword [esi + 4], 0x3f39
test dword [esi + 0x14], 0x400
je 0xb0d4afd
mov eax, dword [esi + 0x44]
mov edx, ecx
cmp eax, ecx
cmovbe edx, eax
mov dword [ebp - 0x38], edx
test edx, edx
je 0xb0d4af5
cmp dword [esi + 0x24], 0
mov dword [ebp - 0x30], eax
je 0xb0d4ac0
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ecx + 0x10]
test ecx, ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 8]
je 0xb0d4ac0
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ecx + 0x14]
sub ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 0x24]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x18]
cmp eax, ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 8]
jae 0xb0d4ac0
mov ecx, dword [ebp - 0x40]
add eax, edx
cmp eax, ecx
mov eax, dword [ebp - 0x34]
jbe 0xb0d4aa2
sub ecx, eax
jmp 0xb0d4aa4
mov ecx, edx
add eax, dword [ebp - 0x48]
push ecx
push dword [ebp - 0xc]
push eax
call fcn.0b0f06d0
mov eax, dword [esi + 0x44]
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
test dword [esi + 0x14], 0x200
je 0xb0d4ae2
test byte [esi + 0xc], 4
je 0xb0d4ae2
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [ebp - 0xc]
call fcn.0b0d64bf
pop ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov edx, dword [ebp - 0x38]
sub ecx, edx
mov eax, dword [ebp - 0x30]
add dword [ebp - 0xc], edx
sub eax, edx
mov dword [ebp - 8], ecx
mov dword [esi + 0x44], eax
test eax, eax
jne 0xb0d590e
xor edx, edx
mov dword [esi + 4], 0x3f3a
mov dword [esi + 0x44], edx
jmp 0xb0d4b0d
xor edx, edx
test dword [esi + 0x14], 0x800
je 0xb0d4ba1
test ecx, ecx
je 0xb0d590e
mov eax, edx
mov edx, dword [ebp - 0xc]
mov dl, byte [eax + edx]
inc eax
mov byte [ebp - 1], dl
mov edx, dword [esi + 0x24]
test edx, edx
je 0xb0d4b55
mov edi, dword [edx + 0x1c]
mov dword [ebp - 0x40], edi
test edi, edi
je 0xb0d4b55
mov edi, dword [esi + 0x44]
cmp edi, dword [edx + 0x20]
jae 0xb0d4b55
mov bl, byte [ebp - 1]
mov edx, edi
mov edi, dword [ebp - 0x40]
mov byte [edx + edi], bl
inc dword [esi + 0x44]
cmp byte [ebp - 1], 0
je 0xb0d4b5f
cmp eax, ecx
jb 0xb0d4b24
test dword [esi + 0x14], 0x200
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
je 0xb0d4b8d
test byte [esi + 0xc], 4
je 0xb0d4b8d
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi + 0x1c]
push eax
call fcn.0b0d64bf
pop ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x48]
add dword [ebp - 0xc], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 8], ecx
jne 0xb0d590e
jmp 0xb0d4bab
mov eax, dword [esi + 0x24]
test eax, eax
je 0xb0d4bab
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [esi + 4], 0x3f3b
mov dword [esi + 0x44], edx
jmp 0xb0d4bbb
xor edx, edx
test dword [esi + 0x14], 0x1000
je 0xb0d4c4f
test ecx, ecx
je 0xb0d590e
mov eax, edx
mov edx, dword [ebp - 0xc]
mov dl, byte [eax + edx]
inc eax
mov byte [ebp - 1], dl
mov edx, dword [esi + 0x24]
test edx, edx
je 0xb0d4c03
mov edi, dword [edx + 0x24]
mov dword [ebp - 0x40], edi
test edi, edi
je 0xb0d4c03
mov edi, dword [esi + 0x44]
cmp edi, dword [edx + 0x28]
jae 0xb0d4c03
mov bl, byte [ebp - 1]
mov edx, edi
mov edi, dword [ebp - 0x40]
mov byte [edx + edi], bl
inc dword [esi + 0x44]
cmp byte [ebp - 1], 0
je 0xb0d4c0d
cmp eax, ecx
jb 0xb0d4bd2
test dword [esi + 0x14], 0x200
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
je 0xb0d4c3b
test byte [esi + 0xc], 4
je 0xb0d4c3b
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi + 0x1c]
push eax
call fcn.0b0d64bf
pop ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x48]
add dword [ebp - 0xc], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 8], ecx
jne 0xb0d590e
jmp 0xb0d4c59
mov eax, dword [esi + 0x24]
test eax, eax
je 0xb0d4c59
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x10]
mov dword [esi + 4], 0x3f3c
mov eax, dword [esi + 0x14]
test eax, 0x200
je 0xb0d4ccf
push 0x10
pop eax
cmp edi, eax
jae 0xb0d4ca6
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0xc]
push 0x10
pop ecx
inc eax
mov dword [ebp - 0x14], ebx
cmp edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
jb 0xb0d4c77
test byte [esi + 0xc], 4
je 0xb0d4cc0
movzx eax, word [esi + 0x1c]
cmp ebx, eax
je 0xb0d4cc0
mov dword [edx + 0x18], 0xb0a7f00
jmp 0xb0d58b2
xor eax, eax
mov ebx, eax
mov edi, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0xb0d4ce9
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 0x30], 1
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [esi + 4], 0x3f3f
jmp 0xb0d58b9
cmp edi, 0x20
jae 0xb0d4d2c
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, 0x20
jb 0xb0d4d05
bswap ebx
mov dword [esi + 0x1c], ebx
xor eax, eax
mov dword [edx + 0x30], ebx
mov edi, eax
mov ebx, eax
mov dword [esi + 4], 0x3f3e
jmp 0xb0d4d45
xor eax, eax
cmp dword [esi + 0x10], eax
je 0xb0d58d5
mov dword [esi + 0x1c], 1
mov dword [edx + 0x30], 1
mov dword [esi + 4], 0x3f3f
jmp 0xb0d4d67
xor eax, eax
cmp dword [esi + 8], eax
je 0xb0d4d87
mov ecx, edi
mov dword [esi + 4], 0x3f4e
and ecx, 7
shr ebx, cl
sub edi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
jmp 0xb0d58b9
cmp edi, 3
jae 0xb0d4db6
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, 3
jb 0xb0d4d8f
mov eax, ebx
shr ebx, 1
and eax, 1
mov dword [esi + 8], eax
mov eax, ebx
and eax, 3
sub eax, 0
je 0xb0d4e17
sub eax, 1
je 0xb0d4df2
sub eax, 1
je 0xb0d4de9
sub eax, 1
jne 0xb0d4e1e
mov dword [edx + 0x18], 0xb0a7f14
mov dword [esi + 4], 0x3f51
jmp 0xb0d4e1e
mov dword [esi + 4], 0x3f44
jmp 0xb0d4e1e
mov dword [esi + 0x50], 0xb090a98
mov dword [esi + 0x58], 9
mov dword [esi + 0x54], 0xb091298
mov dword [esi + 0x5c], 5
mov dword [esi + 4], 0x3f47
jmp 0xb0d4e1e
mov dword [esi + 4], 0x3f41
shr ebx, 2
sub edi, 3
jmp 0xb0d47ab
mov ecx, edi
and ecx, 7
sub edi, ecx
shr ebx, cl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
cmp edi, 0x20
jae 0xb0d4e6d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
cmp edi, 0x20
jb 0xb0d4e40
mov eax, ebx
movzx ecx, bx
not eax
shr eax, 0x10
cmp ecx, eax
je 0xb0d4e87
mov dword [edx + 0x18], 0xb0a7f28
jmp 0xb0d58b2
xor eax, eax
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov ebx, eax
mov edi, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov dword [esi + 4], 0x3f43
cmp dword [esi + 0x44], 0
je 0xb0d4eef
cmp dword [esi + 0x44], ecx
mov eax, ecx
cmovbe eax, dword [esi + 0x44]
cmp eax, dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
test eax, eax
je 0xb0d590e
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call fcn.0b0f06d0
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [ebp - 8]
add dword [ebp - 0xc], eax
sub ecx, eax
sub dword [ebp - 0x1c], eax
add dword [ebp - 0x24], eax
sub dword [esi + 0x44], eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
jmp 0xb0d58bc
mov dword [esi + 4], 0x3f3f
jmp 0xb0d58bc
cmp edi, 0xe
jae 0xb0d4f2a
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, 0xe
jb 0xb0d4f03
mov eax, ebx
sub edi, 0xe
shr ebx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x18], edi
mov eax, ebx
add ecx, 0x101
and eax, 0x1f
shr ebx, 5
inc eax
mov dword [esi + 0x64], ecx
mov dword [ebp - 0x48], eax
mov dword [esi + 0x68], eax
mov eax, ebx
and eax, 0xf
shr ebx, 4
add eax, 4
mov dword [ebp - 0x14], ebx
mov dword [esi + 0x60], eax
cmp ecx, 0x11e
ja 0xb0d4f7e
cmp dword [ebp - 0x48], 0x1e
ja 0xb0d4f7e
and dword [esi + 0x6c], 0
mov dword [esi + 4], 0x3f45
jmp 0xb0d4fdd
mov dword [edx + 0x18], 0xb0a7f48
jmp 0xb0d58b2
cmp edi, 3
jae 0xb0d4fb9
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, 3
jb 0xb0d4f92
mov eax, dword [esi + 0x6c]
mov ecx, ebx
and ecx, 7
shr ebx, 3
mov dword [ebp - 0x14], ebx
movzx eax, word [eax*2 + 0xb091320]
mov word [esi + eax*2 + 0x74], cx
inc dword [esi + 0x6c]
sub edi, 3
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x60]
jb 0xb0d4f8a
jmp 0xb0d5000
movzx eax, word [eax*2 + 0xb091320]
xor ecx, ecx
mov word [esi + eax*2 + 0x74], cx
mov eax, dword [esi + 0x6c]
inc eax
mov dword [esi + 0x6c], eax
cmp eax, 0x13
jb 0xb0d4fea
lea eax, [esi + 0x534]
lea ecx, [esi + 0x70]
mov dword [esi + 0x50], eax
mov dword [ecx], eax
lea edx, [esi + 0x58]
lea eax, [esi + 0x2f4]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [esi + 0x74]
xor ecx, ecx
call fcn.0b0d5cf9
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0xb0d504a
mov dword [edx + 0x18], 0xb0a7f6c
jmp 0xb0d58b2
and dword [esi + 0x6c], 0
mov dword [esi + 4], 0x3f46
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x64]
cmp dword [esi + 0x6c], eax
jae 0xb0d5274
mov ecx, dword [esi + 0x58]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x48], eax
jmp 0xb0d5096
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x48]
add edi, 8
mov ecx, dword [esi + 0x50]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x40], eax
cmp ecx, edi
ja 0xb0d5072
mov ecx, eax
shr ecx, 0x10
movzx edx, cx
mov dword [ebp - 0x38], edx
push 0x10
pop edx
cmp cx, dx
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x10]
jae 0xb0d50ec
shr eax, 8
movzx ecx, al
mov eax, dword [esi + 0x6c]
sub edi, ecx
shr ebx, cl
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ebx
mov word [esi + eax*2 + 0x74], cx
inc dword [esi + 0x6c]
mov ecx, dword [esi + 0x6c]
mov dword [ebp - 0x18], edi
jmp 0xb0d5256
push 0x10
pop ecx
cmp word [ebp - 0x38], cx
jne 0xb0d5167
shr eax, 8
movzx eax, al
mov dword [ebp - 0x40], eax
lea ecx, [eax + 2]
mov dword [ebp - 0x48], ecx
cmp edi, ecx
jae 0xb0d5135
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x48]
jb 0xb0d510b
mov eax, dword [ebp - 0x40]
mov ecx, eax
sub edi, eax
mov eax, dword [esi + 0x6c]
shr ebx, cl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
test eax, eax
je 0xb0d5266
movzx eax, word [esi + eax*2 + 0x72]
mov ecx, ebx
and ecx, 3
shr ebx, 2
add ecx, 3
mov dword [ebp - 0x34], eax
sub edi, 2
jmp 0xb0d5217
cmp word [ebp - 0x3e], 0x11
movzx eax, ah
jne 0xb0d51c2
lea ecx, [eax + 3]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], ecx
cmp edi, ecx
jae 0xb0d51ab
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x48]
jb 0xb0d5181
mov eax, dword [ebp - 0x40]
mov ecx, eax
shr ebx, cl
mov ecx, ebx
shr ebx, 3
and ecx, 7
push 0xfffffffffffffffd
pop eax
add ecx, 3
sub eax, dword [ebp - 0x40]
jmp 0xb0d5211
lea ecx, [eax + 7]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], ecx
cmp edi, ecx
jae 0xb0d51fc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x48]
jb 0xb0d51d2
mov eax, dword [ebp - 0x40]
mov ecx, eax
shr ebx, cl
mov ecx, ebx
shr ebx, 7
and ecx, 0x7f
push 0xfffffffffffffff9
pop eax
add ecx, 0xb
sub eax, dword [ebp - 0x40]
add edi, eax
and dword [ebp - 0x34], 0
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x38], ecx
add ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x64]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
cmp ecx, eax
ja 0xb0d5266
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov word [esi + eax*2 + 0x74], dx
mov eax, dword [esi + 0x6c]
lea eax, [eax + 1]
mov dword [esi + 0x6c], eax
sub ecx, 1
jne 0xb0d523b
mov edx, dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x64]
cmp ecx, eax
jb 0xb0d5064
jmp 0xb0d5274
mov dword [edx + 0x18], 0xb0a7f88
mov dword [esi + 4], 0x3f51
cmp dword [esi + 4], 0x3f51
je 0xb0d58b9
xor eax, eax
cmp word [esi + 0x274], ax
jne 0xb0d5298
mov dword [edx + 0x18], 0xb0a7fa4
jmp 0xb0d58b2
lea eax, [esi + 0x534]
lea ecx, [esi + 0x70]
mov dword [esi + 0x50], eax
mov dword [ecx], eax
lea edx, [esi + 0x58]
lea eax, [esi + 0x2f4]
mov dword [edx], 9
push eax
push edx
push ecx
push dword [esi + 0x64]
xor ecx, ecx
lea edx, [esi + 0x74]
inc ecx
call fcn.0b0d5cf9
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0xb0d52df
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0xb0a7fcc
jmp 0xb0d58b2
lea ecx, [esi + 0x70]
mov eax, dword [ecx]
lea edx, [esi + 0x5c]
mov dword [esi + 0x54], eax
lea eax, [esi + 0x2f4]
push eax
mov eax, dword [esi + 0x64]
push edx
push ecx
push dword [esi + 0x68]
add eax, 0x3a
mov dword [edx], 6
push 2
pop ecx
lea edx, [esi + eax*2]
call fcn.0b0d5cf9
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
test eax, eax
je case.0xb0d466c.16199
mov dword [edx + 0x18], 0xb0a7fe8
jmp 0xb0d481c
mov dword [esi + 4], 0x3f48
cmp ecx, 6
jb 0xb0d53a3
mov eax, dword [ebp - 0x1c]
cmp eax, 0x102
jb 0xb0d53a3
mov esi, dword [ebp - 0x24]
mov dword [edx + 0xc], esi
mov esi, dword [ebp - 0x44]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edx], eax
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
call fcn.0b0d60cb
cmp dword [esi + 4], 0x3f3f
mov edx, dword [ebp - 0x10]
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x14], ebx
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], edi
jne 0xb0d58bc
or dword [esi + 0x1bc8], 0xffffffff
jmp 0xb0d58bc
and dword [esi + 0x1bc8], 0
xor eax, eax
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
shl edx, cl
jmp 0xb0d53d7
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
add edi, 8
mov ecx, dword [esi + 0x50]
lea eax, [edx - 1]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0xb0d53b6
test al, al
je 0xb0d5482
test al, 0xf0
jne 0xb0d5482
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [ebp - 0x40], edx
movzx ecx, al
add ecx, edx
shr eax, 0x10
xor edx, edx
mov dword [ebp - 0x38], eax
inc edx
shl edx, cl
lea ecx, [edx - 1]
mov edx, ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x40]
and edx, ebx
shr edx, cl
mov ecx, dword [esi + 0x50]
add edx, eax
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x40]
jmp 0xb0d5468
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
add edi, 8
movzx eax, byte [eax]
shl eax, cl
mov ecx, edx
add ebx, eax
mov eax, dword [ebp - 0x48]
inc dword [ebp - 0xc]
and eax, ebx
shr eax, cl
add eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, edi
ja 0xb0d5435
mov ecx, edx
mov dword [esi + 0x1bc8], edx
shr ebx, cl
sub edi, edx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [esi + 0x1bc8], ecx
sub edi, ecx
shr ebx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov dword [esi + 0x44], ecx
test al, al
jne 0xb0d54b2
mov dword [esi + 4], 0x3f4d
jmp 0xb0d4705
test al, 0x20
je 0xb0d54c9
or dword [esi + 0x1bc8], 0xffffffff
mov dword [esi + 4], 0x3f3f
jmp 0xb0d4705
mov ecx, dword [ebp - 8]
test al, 0x40
je 0xb0d54df
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0xb0a8000
jmp 0xb0d481c
movzx eax, al
and eax, 0xf
mov dword [esi + 4], 0x3f49
mov dword [esi + 0x4c], eax
mov edx, dword [esi + 0x4c]
test edx, edx
je 0xb0d553a
cmp edi, edx
jae 0xb0d5523
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, edx
jb 0xb0d54fd
xor eax, eax
mov ecx, edx
inc eax
sub edi, edx
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [esi + 0x44], eax
add dword [esi + 0x1bc8], edx
mov eax, dword [esi + 0x44]
mov dword [esi + 0x1bcc], eax
mov dword [esi + 4], 0x3f4a
mov ecx, dword [esi + 0x5c]
xor eax, eax
lea edx, [eax + 1]
shl edx, cl
jmp 0xb0d5577
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
add edi, 8
mov ecx, dword [esi + 0x54]
lea eax, [edx - 1]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0xb0d5556
test al, 0xf0
jne 0xb0d561a
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [ebp - 0x40], edx
movzx ecx, al
add ecx, edx
shr eax, 0x10
xor edx, edx
mov dword [ebp - 0x38], eax
inc edx
shl edx, cl
lea ecx, [edx - 1]
mov edx, ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x40]
and edx, ebx
shr edx, cl
mov ecx, dword [esi + 0x54]
add edx, eax
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x40]
jmp 0xb0d5600
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
add edi, 8
movzx eax, byte [eax]
shl eax, cl
mov ecx, edx
add ebx, eax
mov eax, dword [ebp - 0x48]
inc dword [ebp - 0xc]
and eax, ebx
shr eax, cl
add eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, edi
ja 0xb0d55cd
mov ecx, edx
sub edi, edx
shr ebx, cl
add dword [esi + 0x1bc8], edx
mov edx, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [esi + 0x1bc8], ecx
sub edi, ecx
shr ebx, cl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
test al, 0x40
je 0xb0d5645
mov dword [edx + 0x18], 0xb0a801c
jmp 0xb0d58b2
mov ecx, eax
mov dword [esi + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0xb0d56af
cmp edi, ecx
jae 0xb0d5694
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [esi + 0x4c]
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp edi, ecx
jb 0xb0d566b
xor eax, eax
sub edi, ecx
inc eax
mov dword [ebp - 0x18], edi
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [esi + 0x48], eax
add dword [esi + 0x1bc8], ecx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 8]
mov dword [esi + 4], 0x3f4c
cmp dword [ebp - 0x1c], 0
je 0xb0d590e
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x48]
cmp eax, dword [ebp - 0x40]
jbe 0xb0d571d
sub eax, dword [ebp - 0x40]
cmp eax, dword [esi + 0x30]
jbe 0xb0d56f1
cmp dword [esi + 0x1bc4], 0
je 0xb0d56f1
mov dword [edx + 0x18], 0xb0a8034
jmp 0xb0d481c
cmp eax, dword [esi + 0x34]
jbe 0xb0d5703
sub eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x2c]
sub ecx, eax
add ecx, dword [esi + 0x38]
jmp 0xb0d570b
mov ecx, dword [esi + 0x38]
sub ecx, eax
add ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x44]
cmp eax, edx
mov dword [ebp - 0x38], edx
cmovbe edx, eax
mov dword [ebp - 0x34], edx
mov eax, edx
jmp 0xb0d5728
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x1c]
cmp eax, edx
cmova eax, edx
sub edx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x38]
sub edx, eax
mov dword [esi + 0x44], edx
mov edx, eax
mov esi, dword [ebp - 0x24]
sub ecx, esi
mov al, byte [ecx + esi]
mov byte [esi], al
inc esi
sub edx, 1
jne 0xb0d5747
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x44]
cmp dword [esi + 0x44], 0
jne 0xb0d58bc
mov dword [esi + 4], 0x3f48
jmp 0xb0d58bc
cmp dword [ebp - 0x1c], 0
je 0xb0d590e
mov edx, dword [ebp - 0x24]
mov al, byte [esi + 0x44]
inc dword [ebp - 0x24]
dec dword [ebp - 0x1c]
mov byte [edx], al
mov dword [esi + 4], 0x3f48
jmp 0xb0d4ee7
xor eax, eax
cmp dword [esi + 0xc], eax
je 0xb0d584d
cmp edi, 0x20
jae 0xb0d57da
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
cmp edi, 0x20
jb 0xb0d57ab
xor eax, eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x1c]
add dword [edx + 0x14], ecx
add dword [esi + 0x20], ecx
test byte [esi + 0xc], 4
mov dword [ebp - 0x28], ecx
je 0xb0d5819
test ecx, ecx
je 0xb0d5819
mov edx, dword [ebp - 0x24]
push dword [ebp - 0x28]
sub edx, ecx
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x14], eax
je 0xb0d580a
call fcn.0b0d64bf
jmp 0xb0d580f
call fcn.0b0d5ab9
mov edx, dword [ebp - 0x10]
mov dword [esi + 0x1c], eax
pop ecx
mov dword [edx + 0x30], eax
test byte [esi + 0xc], 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
je 0xb0d583e
cmp dword [esi + 0x14], 0
mov eax, ebx
bswap eax
cmovne eax, ebx
cmp eax, dword [esi + 0x1c]
je 0xb0d583e
mov dword [edx + 0x18], 0xb0a8054
jmp 0xb0d58b2
mov ecx, dword [ebp - 8]
xor eax, eax
mov ebx, eax
mov edi, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov dword [esi + 4], 0x3f4f
cmp dword [esi + 0xc], 0
je 0xb0d58f7
xor eax, eax
cmp dword [esi + 0x14], eax
je 0xb0d58f7
cmp edi, 0x20
jae 0xb0d58a0
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0xb0d590e
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
cmp edi, 0x20
jb 0xb0d5871
xor eax, eax
test byte [esi + 0xc], 4
je 0xb0d58f3
cmp ebx, dword [esi + 0x20]
je 0xb0d58f3
mov dword [edx + 0x18], 0xb0a806c
mov dword [esi + 4], 0x3f51
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 4]
sub eax, 0x3f34
cmp eax, 0x1f
jbe 0xb0d4666
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
push 2
jmp 0xb0d58cf
mov ebx, eax
mov edi, eax
mov dword [esi + 4], 0x3f50
mov dword [ebp - 0x2c], 1
jmp 0xb0d590e
mov dword [ebp - 0x2c], 0xfffffffd
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0x10], edx
mov dword [ecx + 4], eax
mov dword [esi + 0x3c], ebx
xor ebx, ebx
mov dword [esi + 0x40], edi
mov edi, dword [ebp - 0x28]
cmp dword [esi + 0x2c], ebx
jne 0xb0d5946
cmp edi, dword [ecx + 0x10]
je 0xb0d596a
cmp dword [esi + 4], 0x3f51
jge 0xb0d596a
mov edx, dword [ecx + 0xc]
mov eax, edi
sub eax, dword [ecx + 0x10]
push eax
call fcn.0b0d4502
pop ecx
test eax, eax
je 0xb0d5967
mov dword [esi + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0xb0d58cf
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
sub edx, dword [ecx + 4]
sub edi, dword [ecx + 0x10]
add dword [ecx + 8], edx
add dword [ecx + 0x14], edi
add dword [esi + 0x20], edi
test byte [esi + 0xc], 4
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], edi
je 0xb0d59b5
test edi, edi
je 0xb0d59b5
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x1c]
sub edx, edi
push edi
cmp dword [esi + 0x14], ebx
je 0xb0d59a1
call fcn.0b0d64bf
jmp 0xb0d59a6
call fcn.0b0d5ab9
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x1c], eax
pop ecx
mov dword [edi + 0x30], eax
jmp 0xb0d59b8
mov edi, dword [ebp - 0x10]
cmp dword [esi + 4], 0x3f47
je 0xb0d59ca
cmp dword [esi + 4], 0x3f42
jne 0xb0d59cf
mov ebx, 0x100
mov ecx, dword [esi + 8]
neg ecx
mov dword [ebp - 0x48], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [esi + 4], 0x3f3f
cmove eax, dword [ebp - 0x48]
add ecx, ebx
add eax, ecx
add eax, dword [esi + 0x40]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x2c]
test edx, edx
jne 0xb0d58d0
cmp dword [ebp - 0x28], edx
jne 0xb0d58d0
push 0xfffffffffffffffb
test eax, eax
pop ecx
cmove eax, ecx
jmp 0xb0d58d0