Function at 0x54eb57
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x190]
movsx eax, word [ebx + 0xe]
mov dword [ebp - 4], eax
movsx edx, word [ebx + 0xc]
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx + 0x8a4]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x8c]
shr edx, 8
inc edx
mov eax, dword [ebx + 0x7c]
mov ecx, edx
xor edx, edx
div ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x8b0]
mov dword [ebp - 0x34], ecx
test byte [ebp - 8], 0x20
je 0x54ebb7
mov eax, 0x800000
jmp 0x54ebbc
mov eax, 0x8000
mov dword [ebp - 0x48], eax
xor edx, edx
mov dword [ebp - 0x4c], edx
cmp word [ebx + 0xa], 0
je 0x54ebeb
test byte [ebp - 8], 0x80
jne 0x54ebeb
cmp word [ebx + 8], 3
jge 0x54ebe3
mov ecx, dword [ebp - 0x48]
shl ecx, 2
mov dword [ebp - 0x48], ecx
jmp 0x54ebeb
mov ecx, dword [ebp - 0x48]
add ecx, ecx
mov dword [ebp - 0x48], ecx
mov eax, dword [ebx + 0x7c]
add eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x8c]
jbe 0x54ec0b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x8c]
sub eax, dword [ebx + 0x7c]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x54ec18
xor eax, eax
jmp 0x551500
cmp dword [ebx + 0x7c], 0
jne 0x54ec61
push ebx
call fcn.0054e274
pop ecx
mov edx, dword [ebp + 8]
push dword [edx + 0x74]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x70]
lea ecx, [ebx + 0x24]
push ecx
call fcn.0054e16f
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x98], 0
je 0x54ec61
mov edx, dword [ebp + 8]
push dword [edx + 0x78]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x70]
lea eax, [ebx + 0x50]
push eax
call fcn.0054e16f
add esp, 0xc
mov edx, dword [ebp - 0x18]
cmp byte [ebx + edx*8 + 0x84], 0
jne 0x54ecc6
cmp dword [ebx + 0x884], 0
jne 0x54ec94
push ebx
call fcn.0054e37b
pop ecx
mov dword [ebx + 0x888], eax
shl eax, 8
push eax
call fcn.005400c4
pop ecx
mov dword [ebx + 0x884], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + edx*8 + 0x88], ecx
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebx + 0x888]
add ecx, dword [ebx + 0x884]
push ecx
push ebx
call fcn.0054e424
add esp, 8
mov eax, dword [ebp - 0x18]
mov byte [ebx + eax*8 + 0x84], 1
push 0x10
lea edx, [ebx + 0x8b4]
push edx
lea ecx, [ebp - 0x114]
push ecx
call fcn.0053fff8
add esp, 0xc
push 8
lea eax, [ebx + 0x8c4]
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.0053fff8
add esp, 0xc
cmp word [ebx + 0xa], 0
je 0x54ed09
test byte [ebp - 7], 0xa0
je 0x54ed24
mov dword [ebp - 0xc], 0xffffff00
jmp 0x54ed24
test byte [ebp - 7], 0x20
je 0x54ed24
test byte [ebp - 7], 0x80
je 0x54ed1c
mov ecx, 0xfffffe00
jmp 0x54ed21
mov ecx, 0xffffff00
mov dword [ebp - 0xc], ecx
test byte [ebp - 8], 0x20
je 0x54ed56
mov ecx, dword [ebp - 4]
mov eax, 0xff800000
sar eax, cl
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
shl eax, cl
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, 0x7fffff
sar eax, cl
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
shl eax, cl
mov dword [ebp - 0x28], eax
jmp 0x54ed80
mov ecx, dword [ebp - 4]
mov eax, 0xffff8000
sar eax, cl
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
shl eax, cl
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, 0x7fff
sar eax, cl
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
shl eax, cl
mov dword [ebp - 0x28], eax
cmp word [ebx + 8], 3
jne 0x54f3c0
cmp word [ebx + 0xa], 0
jne 0x54f3c0
test byte [ebp - 8], 1
je 0x54f3c0
test byte [ebp - 8], 2
je 0x54ef0f
test byte [ebp - 8], 0x40
je 0x54ee99
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
jmp 0x54ee24
inc dword [ebx + 0x30]
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [ebx + 0x2c]
jne 0x54ee0c
lea eax, [ebx + 0x24]
push eax
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 4
jl 0x54edf9
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x50], eax
cmp dword [ebx + 0x48], 0x20
jle 0x54ee50
sub dword [ebx + 0x48], 4
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x54ee58
sub dword [ebx + 0x48], 4
shr dword [ebx + 0x3c], 4
mov ecx, dword [ebp - 0x50]
and ecx, 0xf
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, 4
add ecx, edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x50]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x54edcb
jmp 0x551233
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x54eeb0
jmp 0x551233
test byte [ebp - 8], 0x10
je 0x54f1bf
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x551233
test byte [ebp - 7], 4
je 0x54ef50
push 0
push ebx
call fcn.0055158c
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
jmp 0x54ef68
push 0
push ebx
call fcn.00551b63
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
test byte [ebp - 7], 0x80
je 0x54eff2
mov edx, dword [ebx + 0x80]
mov dword [ebp - 0x14], edx
lea eax, [ebx + 0x8cc]
jmp 0x54efe5
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x10]
mov dword [ebp - 0x58], ecx
mov edx, dword [eax + 8]
imul edx, dword [ebp - 0x58]
add edx, 0x100
sar edx, 9
add edx, edi
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x58], 0
je 0x54efd3
test edi, edi
je 0x54efd3
xor edi, dword [ebp - 0x58]
jl 0x54efc4
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x200
jne 0x54efd3
dec dword [eax + 8]
jmp 0x54efd3
mov edx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp edx, dword [ebp - 0xc]
jne 0x54efd3
inc dword [eax + 8]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
and ecx, 7
mov dword [eax + ecx*4 + 0x10], edi
add eax, 0x60
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test edx, edx
jne 0x54ef83
jmp 0x54f070
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x8cc]
jmp 0x54f065
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax + 8]
imul edx, dword [ebp - 0x5c]
add edx, 0x80
sar edx, 8
add edx, edi
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x5c], 0
je 0x54f053
test edi, edi
je 0x54f053
xor edi, dword [ebp - 0x5c]
jl 0x54f044
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x54f053
dec dword [eax + 8]
jmp 0x54f053
mov edx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp edx, dword [ebp - 0xc]
jne 0x54f053
inc dword [eax + 8]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
and ecx, 7
mov dword [eax + ecx*4 + 0x10], edi
add eax, 0x60
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test edx, edx
jne 0x54f003
mov eax, dword [ebp - 0x10]
inc eax
and eax, 7
mov dword [ebp - 0x10], eax
test byte [ebp - 8], 0x40
je 0x54f192
cmp dword [ebx + 0x8a0], 8
jl 0x54f111
cmp dword [ebx + 0x48], 0
je 0x54f0a2
dec dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
and ecx, 1
jmp 0x54f0c9
inc dword [ebx + 0x30]
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [ebx + 0x2c]
jne 0x54f0b5
lea eax, [ebx + 0x24]
push eax
call dword [ebx + 0x24]
pop ecx
mov dword [ebx + 0x48], 7
mov edx, dword [ebx + 0x30]
xor ecx, ecx
mov cl, byte [edx]
mov dword [ebx + 0x3c], ecx
and ecx, 1
test ecx, ecx
je 0x54f0d7
shr dword [ebx + 0x3c], 1
mov eax, 1
jmp 0x54f0dc
shr dword [ebx + 0x3c], 1
xor eax, eax
test eax, eax
jne 0x54f16d
jmp 0x54f111
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x54f0f9
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 4
jl 0x54f0e6
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x48], 0x20
jle 0x54f13d
sub dword [ebx + 0x48], 4
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x54f145
sub dword [ebx + 0x48], 4
shr dword [ebx + 0x3c], 4
and dword [ebp - 0x54], 0xf
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebx + 0x89c]
je 0x54f167
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x89c], eax
xor edx, edx
mov dword [ebx + 0x8a0], edx
jmp 0x54f16d
inc dword [ebx + 0x8a0]
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
shl edi, 4
add edi, dword [ebx + 0x89c]
mov dword [ebp - 0x54], edi
add ecx, edi
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x54f1ab
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add ecx, edi
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
shl edi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x54ef30
jmp 0x551233
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
lea esi, [ebp - 0x40]
mov eax, dword [esi]
imul dword [ebp - 0x110]
add eax, 0x80
sar eax, 8
add ecx, eax
add ecx, edi
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x110], 0
setge dl
and edx, 1
test edi, edi
setg cl
and ecx, 1
cmp edx, ecx
jne 0x54f23e
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x54f24f
lea edx, [ebp - 0x40]
dec dword [edx]
jmp 0x54f24f
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x54f24f
lea edx, [ebp - 0x40]
inc dword [edx]
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x60]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x114]
add dword [edx], eax
test byte [ebp - 8], 0x40
je 0x54f385
cmp dword [ebx + 0x8a0], 8
jl 0x54f2ff
cmp dword [ebx + 0x48], 0
je 0x54f290
dec dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
and ecx, 1
jmp 0x54f2b7
inc dword [ebx + 0x30]
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [ebx + 0x2c]
jne 0x54f2a3
lea eax, [ebx + 0x24]
push eax
call dword [ebx + 0x24]
pop ecx
mov dword [ebx + 0x48], 7
mov edx, dword [ebx + 0x30]
xor ecx, ecx
mov cl, byte [edx]
mov dword [ebx + 0x3c], ecx
and ecx, 1
test ecx, ecx
je 0x54f2c5
shr dword [ebx + 0x3c], 1
mov eax, 1
jmp 0x54f2ca
shr dword [ebx + 0x3c], 1
xor eax, eax
test eax, eax
jne 0x54f35b
jmp 0x54f2ff
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x54f2e7
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 4
jl 0x54f2d4
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x60], eax
cmp dword [ebx + 0x48], 0x20
jle 0x54f32b
sub dword [ebx + 0x48], 4
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x54f333
sub dword [ebx + 0x48], 4
shr dword [ebx + 0x3c], 4
and dword [ebp - 0x60], 0xf
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebx + 0x89c]
je 0x54f355
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0x89c], eax
xor edx, edx
mov dword [ebx + 0x8a0], edx
jmp 0x54f35b
inc dword [ebx + 0x8a0]
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
shl eax, 4
add eax, dword [ebx + 0x89c]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x38], 4
jmp 0x54f3ac
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
lea eax, [ebp - 0x114]
add ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x114]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x54f1d6
jmp 0x551233
cmp word [ebx + 8], 3
jne 0x550478
cmp word [ebx + 0xa], 0
jne 0x550478
test byte [ebp - 8], 1
jne 0x550478
mov ecx, dword [ebx + 0x890]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebx + 0x894]
mov dword [ebp - 0x68], eax
mov edx, dword [ebx + 0x88c]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebx + 0x898]
mov dword [ebp - 0x70], ecx
test byte [ebp - 8], 2
je 0x54f641
test byte [ebp - 8], 0x40
je 0x54f55e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jae 0x55044f
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x55044f
push 1
push ebx
call fcn.0055203c
add esp, 8
mov dword [ebp - 0x78], eax
and eax, 1
add edi, edi
or eax, edi
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x78]
sar edx, 1
add dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x114]
add dword [eax], ecx
mov edx, dword [ebp - 0x74]
sub edx, dword [ebp - 0x78]
sar edx, 1
add dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x10c]
add dword [eax], ecx
jmp 0x54f4c5
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x54f4ad
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 8
jl 0x54f49a
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x7c], eax
cmp dword [ebx + 0x48], 0x20
jle 0x54f4f1
sub dword [ebx + 0x48], 8
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x54f4f9
sub dword [ebx + 0x48], 8
shr dword [ebx + 0x3c], 8
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
shl eax, 4
mov edx, dword [ebp - 0x7c]
sar edx, 4
and edx, 0xf
add eax, edx
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add eax, ecx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x38], 4
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
shl eax, 4
mov edx, dword [ebp - 0x7c]
and edx, 0xf
add eax, edx
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add eax, ecx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x54f42f
jmp 0x55044f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jae 0x55044f
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x55044f
push 1
push ebx
call fcn.0055203c
add esp, 8
mov dword [ebp - 0x84], eax
and eax, 1
add edi, edi
or eax, edi
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0x84]
sar edx, 1
add dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x84]
sar ecx, 1
add dword [ebp - 0x108], ecx
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x110]
add dword [ecx], eax
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add edx, eax
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x10c]
mov ecx, dword [ebp - 0x108]
add dword [edx], ecx
mov ecx, dword [edx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10c]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x54f575
jmp 0x55044f
test byte [ebp - 8], 0x10
je 0x550049
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x55044f
test byte [ebp - 7], 0x10
je 0x54f697
push 0
push ebx
call fcn.0055158c
add esp, 8
mov esi, eax
cmp esi, 0x80000000
je 0x55044f
push 1
push ebx
call fcn.0055158c
add esp, 8
mov dword [ebp - 0x8c], eax
jmp 0x54f934
test byte [ebp - 7], 4
je 0x54f80f
push 0
push ebx
call fcn.0055158c
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x55044f
push 1
push ebx
call fcn.0055158c
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x64]
jle 0x54f771
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x70]
cmp ecx, edx
jge 0x54f70c
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x70]
jge 0x54f70c
mov dword [ebp - 0x8c], edi
mov esi, eax
add edi, eax
mov dword [ebp - 0x88], edi
mov edx, esi
sub edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
jmp 0x54f8ac
mov dword [ebp - 0x90], edi
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x64]
jge 0x54f754
add eax, eax
mov edx, dword [ebp - 0x90]
and edx, 1
or eax, edx
mov dword [ebp - 0x88], eax
mov esi, dword [ebp - 0x88]
add esi, dword [ebp - 0x90]
sar esi, 1
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
sar eax, 1
mov dword [ebp - 0x8c], eax
jmp 0x54f8ac
mov esi, eax
mov edx, eax
sub edx, dword [ebp - 0x90]
mov dword [ebp - 0x8c], edx
add eax, edx
mov dword [ebp - 0x88], eax
jmp 0x54f8ac
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x70]
cmp ecx, edx
jge 0x54f7ac
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x70]
jge 0x54f7ac
mov esi, edi
mov dword [ebp - 0x8c], eax
add edi, eax
mov dword [ebp - 0x88], edi
mov edx, esi
sub edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
jmp 0x54f8ac
mov dword [ebp - 0x90], edi
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x68]
jge 0x54f7f4
add eax, eax
mov edx, dword [ebp - 0x90]
and edx, 1
or eax, edx
mov dword [ebp - 0x88], eax
mov esi, dword [ebp - 0x88]
add esi, dword [ebp - 0x90]
sar esi, 1
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
sar eax, 1
mov dword [ebp - 0x8c], eax
jmp 0x54f8ac
mov dword [ebp - 0x8c], eax
mov esi, eax
add esi, dword [ebp - 0x90]
add eax, esi
mov dword [ebp - 0x88], eax
jmp 0x54f8ac
push 0
push ebx
call fcn.00551b63
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x55044f
push 1
push ebx
call fcn.00551b63
add esp, 8
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x68]
jg 0x54f86e
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x64]
jg 0x54f86e
add eax, eax
mov edx, edi
and edx, 1
or eax, edx
mov dword [ebp - 0x88], eax
mov esi, dword [ebp - 0x88]
add esi, edi
sar esi, 1
mov eax, dword [ebp - 0x88]
sub eax, edi
sar eax, 1
mov dword [ebp - 0x8c], eax
jmp 0x54f89e
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x68]
jg 0x54f88c
mov esi, eax
mov ecx, eax
sub ecx, edi
mov dword [ebp - 0x8c], ecx
add eax, ecx
mov dword [ebp - 0x88], eax
jmp 0x54f89e
mov dword [ebp - 0x8c], eax
mov esi, eax
add esi, edi
add eax, esi
mov dword [ebp - 0x88], eax
mov eax, esi
sub eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x88]
sar edx, 1
push edx
call fcn.0054014c
pop ecx
mov ecx, dword [ebp - 0x6c]
sar ecx, 8
mov edx, dword [ebp - 0x6c]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x6c], eax
push esi
call fcn.0054014c
pop ecx
mov ecx, dword [ebp - 0x64]
sar ecx, 8
mov edx, dword [ebp - 0x64]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x64], eax
push dword [ebp - 0x8c]
call fcn.0054014c
pop ecx
mov ecx, dword [ebp - 0x68]
sar ecx, 8
mov edx, dword [ebp - 0x68]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x68], eax
push dword [ebp - 0x90]
call fcn.0054014c
pop ecx
mov ecx, dword [ebp - 0x70]
sar ecx, 8
mov edx, dword [ebp - 0x70]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x70], eax
test byte [ebp - 7], 0x40
je 0x54f934
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x88]
sar eax, 1
mov dword [ebp - 0x8c], eax
test byte [ebp - 7], 0x80
je 0x54fbd9
mov edx, dword [ebx + 0x80]
mov dword [ebp - 0x14], edx
lea eax, [ebx + 0x8cc]
jmp 0x54fbc5
cmp dword [eax], 0
jle 0x54fa57
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x10]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x30]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [eax]
and edx, 7
mov dword [ebp - 0xa4], edx
mov edx, dword [eax + 8]
imul edx, dword [ebp - 0x9c]
add edx, 0x100
sar edx, 9
add edx, esi
mov ecx, dword [eax + 0xc]
imul ecx, dword [ebp - 0xa0]
add ecx, 0x100
sar ecx, 9
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x9c], 0
je 0x54f9ee
test esi, esi
je 0x54f9ee
xor esi, dword [ebp - 0x9c]
jl 0x54f9df
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x200
jne 0x54f9ee
dec dword [eax + 8]
jmp 0x54f9ee
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54f9ee
inc dword [eax + 8]
cmp dword [ebp - 0xa0], 0
je 0x54fa30
cmp dword [ebp - 0x8c], 0
je 0x54fa30
mov ecx, dword [ebp - 0xa0]
xor ecx, dword [ebp - 0x8c]
jl 0x54fa21
mov ecx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp ecx, 0x200
jne 0x54fa30
dec dword [eax + 0xc]
jmp 0x54fa30
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54fa30
inc dword [eax + 0xc]
mov esi, edx
mov ecx, dword [ebp - 0xa4]
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0xa4]
mov dword [eax + ecx*4 + 0x30], edx
jmp 0x54fbc2
cmp dword [eax], 0xffffffff
jne 0x54fb0d
mov edx, dword [eax + 8]
imul edx, dword [eax + 0x10]
add edx, 0x100
sar edx, 9
add edx, esi
cmp dword [eax + 0x10], 0
je 0x54faa3
test esi, esi
je 0x54faa3
xor esi, dword [eax + 0x10]
jl 0x54fa94
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x200
jne 0x54faa3
dec dword [eax + 8]
jmp 0x54faa3
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54faa3
inc dword [eax + 8]
mov esi, edx
mov edx, dword [eax + 0xc]
imul edx, esi
add edx, 0x100
sar edx, 9
add edx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], edx
test esi, esi
je 0x54faf9
cmp dword [ebp - 0x8c], 0
je 0x54faf9
mov ecx, dword [ebp - 0x8c]
xor ecx, esi
jl 0x54faea
mov edx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp edx, 0x200
jne 0x54faf9
dec dword [eax + 0xc]
jmp 0x54faf9
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54faf9
inc dword [eax + 0xc]
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov dword [eax + 0x10], edx
jmp 0x54fbc2
mov ecx, dword [eax + 8]
imul ecx, dword [eax + 0x10]
add ecx, 0x100
sar ecx, 9
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
cmp dword [eax + 0x10], 0
je 0x54fb65
cmp dword [ebp - 0x8c], 0
je 0x54fb65
mov edx, dword [eax + 0x10]
xor edx, dword [ebp - 0x8c]
jl 0x54fb56
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x200
jne 0x54fb65
dec dword [eax + 8]
jmp 0x54fb65
mov edx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp edx, dword [ebp - 0xc]
jne 0x54fb65
inc dword [eax + 8]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 0xc]
imul edx, dword [ebp - 0x8c]
add edx, 0x100
sar edx, 9
add edx, esi
cmp dword [ebp - 0x8c], 0
je 0x54fbbd
test esi, esi
je 0x54fbbd
xor esi, dword [ebp - 0x8c]
jl 0x54fbae
mov ecx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp ecx, 0x200
jne 0x54fbbd
dec dword [eax + 0xc]
jmp 0x54fbbd
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54fbbd
inc dword [eax + 0xc]
mov esi, edx
mov dword [eax + 0x10], edx
add eax, 0x60
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test edx, edx
jne 0x54f952
jmp 0x54fe5c
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x8cc]
jmp 0x54fe4d
cmp dword [eax], 0
jle 0x54fcdf
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x10]
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4 + 0x30]
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0x10]
add edx, dword [eax]
and edx, 7
mov dword [ebp - 0xac], edx
mov edx, dword [eax + 8]
imul edx, ecx
add edx, 0x80
sar edx, 8
add edx, esi
mov edi, dword [eax + 0xc]
imul edi, dword [ebp - 0xa8]
add edi, 0x80
sar edi, 8
add edi, dword [ebp - 0x8c]
mov dword [ebp - 0x94], edi
test ecx, ecx
je 0x54fc76
test esi, esi
je 0x54fc76
xor ecx, esi
jl 0x54fc67
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x54fc76
dec dword [eax + 8]
jmp 0x54fc76
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54fc76
inc dword [eax + 8]
cmp dword [ebp - 0xa8], 0
je 0x54fcb8
cmp dword [ebp - 0x8c], 0
je 0x54fcb8
mov ecx, dword [ebp - 0xa8]
xor ecx, dword [ebp - 0x8c]
jl 0x54fca9
mov ecx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp ecx, 0x100
jne 0x54fcb8
dec dword [eax + 0xc]
jmp 0x54fcb8
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54fcb8
inc dword [eax + 0xc]
mov esi, edx
mov ecx, dword [ebp - 0xac]
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0xac]
mov dword [eax + ecx*4 + 0x30], edx
jmp 0x54fe4a
cmp dword [eax], 0xffffffff
jne 0x54fd95
mov edx, dword [eax + 8]
imul edx, dword [eax + 0x10]
add edx, 0x80
sar edx, 8
add edx, esi
cmp dword [eax + 0x10], 0
je 0x54fd2b
test esi, esi
je 0x54fd2b
xor esi, dword [eax + 0x10]
jl 0x54fd1c
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x54fd2b
dec dword [eax + 8]
jmp 0x54fd2b
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54fd2b
inc dword [eax + 8]
mov esi, edx
mov edx, dword [eax + 0xc]
imul edx, esi
add edx, 0x80
sar edx, 8
add edx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], edx
test esi, esi
je 0x54fd81
cmp dword [ebp - 0x8c], 0
je 0x54fd81
mov ecx, dword [ebp - 0x8c]
xor ecx, esi
jl 0x54fd72
mov edx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp edx, 0x100
jne 0x54fd81
dec dword [eax + 0xc]
jmp 0x54fd81
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54fd81
inc dword [eax + 0xc]
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov dword [eax + 0x10], edx
jmp 0x54fe4a
mov ecx, dword [eax + 8]
imul ecx, dword [eax + 0x10]
add ecx, 0x80
sar ecx, 8
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
cmp dword [eax + 0x10], 0
je 0x54fded
cmp dword [ebp - 0x8c], 0
je 0x54fded
mov edx, dword [eax + 0x10]
xor edx, dword [ebp - 0x8c]
jl 0x54fdde
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x54fded
dec dword [eax + 8]
jmp 0x54fded
mov edx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp edx, dword [ebp - 0xc]
jne 0x54fded
inc dword [eax + 8]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 0xc]
imul edx, dword [ebp - 0x8c]
add edx, 0x80
sar edx, 8
add edx, esi
cmp dword [ebp - 0x8c], 0
je 0x54fe45
test esi, esi
je 0x54fe45
xor esi, dword [ebp - 0x8c]
jl 0x54fe36
mov ecx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp ecx, 0x100
jne 0x54fe45
dec dword [eax + 0xc]
jmp 0x54fe45
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x54fe45
inc dword [eax + 0xc]
mov esi, edx
mov dword [eax + 0x10], edx
add eax, 0x60
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test edx, edx
jne 0x54fbed
mov eax, dword [ebp - 0x10]
inc eax
and eax, 7
mov dword [ebp - 0x10], eax
test byte [ebp - 7], 0x40
je 0x54fea7
mov ecx, dword [ebp - 0x8c]
add ecx, ecx
mov dword [ebp - 0x90], esi
and esi, 1
or ecx, esi
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
sar eax, 1
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x88]
add esi, dword [ebp - 0x90]
sar esi, 1
test byte [ebp - 8], 0x40
je 0x54ffff
cmp dword [ebx + 0x8a0], 8
jl 0x54ff3e
cmp dword [ebx + 0x48], 0
je 0x54fecf
dec dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
and eax, 1
jmp 0x54fef6
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x54fee2
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov dword [ebx + 0x48], 7
mov ecx, dword [ebx + 0x30]
xor eax, eax
mov al, byte [ecx]
mov dword [ebx + 0x3c], eax
and eax, 1
test eax, eax
je 0x54ff04
shr dword [ebx + 0x3c], 1
mov edx, 1
jmp 0x54ff09
shr dword [ebx + 0x3c], 1
xor edx, edx
test edx, edx
jne 0x54ffa9
jmp 0x54ff3e
inc dword [ebx + 0x30]
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x2c]
jne 0x54ff26
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 8
jl 0x54ff13
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x98], eax
cmp dword [ebx + 0x48], 0x20
jle 0x54ff6d
sub dword [ebx + 0x48], 8
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x54ff75
sub dword [ebx + 0x48], 8
shr dword [ebx + 0x3c], 8
and dword [ebp - 0x98], 0xff
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebx + 0x89c]
je 0x54ffa3
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0x89c], eax
xor edx, edx
mov dword [ebx + 0x8a0], edx
jmp 0x54ffa9
inc dword [ebx + 0x8a0]
mov ecx, esi
shl ecx, 4
mov eax, dword [ebx + 0x89c]
sar eax, 4
add ecx, eax
mov esi, ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
add dword [ebp - 0x38], 4
mov edx, dword [ebp - 0x8c]
shl edx, 4
mov eax, dword [ebx + 0x89c]
and eax, 0xf
add edx, eax
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x38]
mov dword [ecx], edx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add edx, eax
mov dword [ebp - 0x34], edx
add dword [ebp - 0x38], 4
jmp 0x550035
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*8]
lea edi, [esi + esi*2]
add ecx, edi
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
shl esi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x8c]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x54f662
jmp 0x55044f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jae 0x55044f
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x55044f
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x68]
jg 0x5500c5
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x64]
jg 0x5500c5
push 1
push ebx
call fcn.0055203c
add esp, 8
add eax, eax
mov ecx, edi
and ecx, 1
or eax, ecx
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
add ecx, edi
sar ecx, 1
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp - 0xb0]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xb8], eax
jmp 0x550125
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x68]
jg 0x5500fa
push 1
push ebx
call fcn.0055203c
add esp, 8
mov dword [ebp - 0xb4], eax
sub eax, edi
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], edx
jmp 0x550125
push 1
push ebx
call fcn.0055203c
add esp, 8
mov dword [ebp - 0xb8], eax
add edi, eax
mov dword [ebp - 0xb4], edi
mov edx, dword [ebp - 0xb8]
add edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb0], edx
mov ecx, dword [ebp - 0xb0]
sar ecx, 1
push ecx
call fcn.0054014c
pop ecx
mov edx, dword [ebp - 0x6c]
sar edx, 8
mov ecx, dword [ebp - 0x6c]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0x6c], eax
push dword [ebp - 0xb4]
call fcn.0054014c
pop ecx
mov edx, dword [ebp - 0x64]
sar edx, 8
mov ecx, dword [ebp - 0x64]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0x64], eax
push dword [ebp - 0xb8]
call fcn.0054014c
pop ecx
mov edx, dword [ebp - 0x68]
sar edx, 8
mov ecx, dword [ebp - 0x68]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x114]
mov ecx, dword [eax]
lea eax, [ebp - 0x40]
mov edx, dword [eax]
imul edx, dword [ebp - 0x110]
add edx, 0x80
sar edx, 8
add ecx, edx
add ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], ecx
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
mov edx, dword [edx]
imul edx, dword [ebp - 0x108]
add edx, 0x80
sar edx, 8
add eax, edx
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0x110], 0
setge al
and eax, 1
cmp dword [ebp - 0xb4], 0
setg cl
and ecx, 1
cmp eax, ecx
jne 0x550205
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x550216
lea edx, [ebp - 0x40]
dec dword [edx]
jmp 0x550216
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x550216
lea edx, [ebp - 0x40]
inc dword [edx]
cmp dword [ebp - 0x108], 0
setge cl
and ecx, 1
cmp dword [ebp - 0xb8], 0
setg al
and eax, 1
cmp ecx, eax
jne 0x550249
lea edx, [ebp - 0x3c]
mov eax, dword [edx]
inc dword [edx]
cmp eax, 0x100
jne 0x55025a
lea edx, [ebp - 0x3c]
dec dword [edx]
jmp 0x55025a
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x55025a
lea edx, [ebp - 0x3c]
inc dword [edx]
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0xbc]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x114]
add dword [edx], eax
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0xc0]
sub eax, dword [ecx]
mov dword [ebp - 0x108], eax
lea edx, [ebp - 0x10c]
add dword [edx], eax
test byte [ebp - 8], 0x40
je 0x5503f6
cmp dword [ebx + 0x8a0], 8
jl 0x550329
cmp dword [ebx + 0x48], 0
je 0x5502ba
dec dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
and ecx, 1
jmp 0x5502e1
inc dword [ebx + 0x30]
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [ebx + 0x2c]
jne 0x5502cd
lea eax, [ebx + 0x24]
push eax
call dword [ebx + 0x24]
pop ecx
mov dword [ebx + 0x48], 7
mov edx, dword [ebx + 0x30]
xor ecx, ecx
mov cl, byte [edx]
mov dword [ebx + 0x3c], ecx
and ecx, 1
test ecx, ecx
je 0x5502ef
shr dword [ebx + 0x3c], 1
mov eax, 1
jmp 0x5502f4
shr dword [ebx + 0x3c], 1
xor eax, eax
test eax, eax
jne 0x550394
jmp 0x550329
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x550311
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 8
jl 0x5502fe
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0xc4], eax
cmp dword [ebx + 0x48], 0x20
jle 0x550358
sub dword [ebx + 0x48], 8
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x550360
sub dword [ebx + 0x48], 8
shr dword [ebx + 0x3c], 8
and dword [ebp - 0xc4], 0xff
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [ebx + 0x89c]
je 0x55038e
mov eax, dword [ebp - 0xc4]
mov dword [ebx + 0x89c], eax
xor edx, edx
mov dword [ebx + 0x8a0], edx
jmp 0x550394
inc dword [ebx + 0x8a0]
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
shl eax, 4
mov edx, dword [ebx + 0x89c]
sar edx, 4
add eax, edx
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x38], 4
lea ecx, [ebp - 0x10c]
mov ecx, dword [ecx]
shl ecx, 4
mov eax, dword [ebx + 0x89c]
and eax, 0xf
add ecx, eax
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
add dword [ebp - 0x38], 4
jmp 0x550440
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*8]
lea eax, [ebp - 0x114]
mov ecx, dword [eax]
lea ecx, [ecx + ecx*2]
add edx, ecx
lea eax, [ebp - 0x10c]
add edx, dword [eax]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x114]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
shl edx, cl
mov ecx, dword [ebp - 0x38]
mov dword [ecx], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x550060
mov eax, dword [ebp - 0x64]
mov dword [ebx + 0x890], eax
mov edx, dword [ebp - 0x68]
mov dword [ebx + 0x894], edx
mov ecx, dword [ebp - 0x6c]
mov dword [ebx + 0x88c], ecx
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0x898], eax
jmp 0x551233
cmp word [ebx + 8], 3
jne 0x550877
cmp word [ebx + 0xa], 0
je 0x550877
test byte [ebp - 8], 1
je 0x550877
test byte [ebp - 8], 2
je 0x55057e
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x550525
lea eax, [ebp - 0x114]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x550517
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x55056a
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x550554
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x550546
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x55056a
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x5504b9
jmp 0x551233
test dword [ebp - 8], 0x410
je 0x55072b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x551233
test byte [ebp - 7], 4
je 0x5505bb
lea edx, [ebp - 0x30]
push edx
push 0
push ebx
call fcn.0055230c
add esp, 0xc
mov edi, eax
jmp 0x5505c8
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x551233
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x8cc]
jmp 0x55065a
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4 + 0x10]
mov ecx, edx
and ecx, 0xffff
imul ecx, dword [eax + 8]
sar ecx, 7
mov esi, edx
and esi, 0xffff0000
sar esi, 7
imul esi, dword [eax + 8]
add ecx, esi
inc ecx
sar ecx, 1
add ecx, edi
mov dword [ebp - 0xc8], ecx
test edx, edx
je 0x550645
test edi, edi
je 0x550645
xor edx, edi
jl 0x550636
mov edx, dword [eax + 8]
inc dword [eax + 8]
cmp edx, 0x100
jne 0x550645
dec dword [eax + 8]
jmp 0x550645
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x550645
inc dword [eax + 8]
mov edi, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x10]
add edx, dword [eax]
and edx, 7
mov dword [eax + edx*4 + 0x10], edi
add eax, 0x60
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test ecx, ecx
jne 0x5505e5
mov eax, dword [ebp - 0x10]
inc eax
and eax, 7
mov dword [ebp - 0x10], eax
test byte [ebp - 8], 0x80
je 0x5506bc
test byte [ebp - 7], 1
je 0x55069e
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebx + 0x8a8]
add edi, ecx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add eax, edi
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x30]
neg edx
mov dword [ebx + 0x8a8], edx
jmp 0x5506ac
add edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add ecx, edi
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
shl edi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
add dword [ebp - 0x38], 4
jmp 0x550717
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add edx, edi
mov dword [ebp - 0x34], edx
cmp edi, dword [ebp - 0x1c]
jge 0x5506ea
mov ecx, dword [ebp - 0x48]
neg ecx
cmp edi, ecx
jge 0x5506dc
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x550717
cmp edi, dword [ebp - 0x20]
jle 0x550709
cmp edi, dword [ebp - 0x48]
jle 0x5506fb
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x550717
mov ecx, dword [ebp - 4]
shl edi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x5505a2
jmp 0x551233
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
lea esi, [ebp - 0x40]
mov eax, dword [esi]
imul dword [ebp - 0x110]
add eax, 0x80
sar eax, 8
add ecx, eax
add ecx, edi
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0x110], 0
setge dl
and edx, 1
test edi, edi
setg cl
and ecx, 1
cmp edx, ecx
jne 0x5507ad
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x5507be
lea edx, [ebp - 0x40]
dec dword [edx]
jmp 0x5507be
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x5507be
lea edx, [ebp - 0x40]
inc dword [edx]
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0xcc]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0xcc]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x114]
mov ecx, dword [ecx]
cmp ecx, dword [ebp - 0x1c]
jge 0x55081e
lea eax, [ebp - 0x114]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x550810
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x550863
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x55084d
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x55083f
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x550863
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x550742
jmp 0x551233
cmp word [ebx + 8], 3
jne 0x550f9c
cmp word [ebx + 0xa], 0
je 0x550f9c
test byte [ebp - 8], 1
jne 0x550f9c
test byte [ebp - 8], 2
je 0x550a21
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x550924
lea eax, [ebp - 0x114]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x550916
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x550969
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x550953
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x550945
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x550969
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
push 1
push ebx
call fcn.0055203c
add esp, 8
add dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
lea ecx, [ebp - 0x10c]
add dword [ecx], edx
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x5509c8
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x5509ba
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x550a0d
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x5509f7
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x5509e9
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x550a0d
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x5508b8
jmp 0x551233
test dword [ebp - 8], 0x410
je 0x550d39
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x551233
test byte [ebp - 7], 4
je 0x550a6f
lea edx, [ebp - 0x30]
push edx
push 0
push ebx
call fcn.0055230c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
call fcn.0055230c
add esp, 0xc
mov edx, eax
jmp 0x550a89
push 0
push ebx
call fcn.0055203c
add esp, 8
mov esi, eax
push 1
push ebx
call fcn.0055203c
add esp, 8
mov edx, eax
cmp esi, 0x80000000
je 0x551233
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x8cc]
jmp 0x550bc8
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*4 + 0x10]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*4 + 0x30]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
and ecx, 7
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0xe0]
and ecx, 0xffff
imul ecx, dword [eax + 8]
sar ecx, 7
mov edi, dword [ebp - 0xe0]
and edi, 0xffff0000
sar edi, 7
imul edi, dword [eax + 8]
add ecx, edi
inc ecx
sar ecx, 1
add ecx, esi
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xe0], 0
je 0x550b3b
test esi, esi
je 0x550b3b
xor esi, dword [ebp - 0xe0]
jl 0x550b2c
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x550b3b
dec dword [eax + 8]
jmp 0x550b3b
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x550b3b
inc dword [eax + 8]
mov esi, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xe8]
mov dword [eax + ecx*4 + 0x10], esi
mov ecx, dword [ebp - 0xe4]
and ecx, 0xffff
imul ecx, dword [eax + 0xc]
sar ecx, 7
mov edi, dword [ebp - 0xe4]
and edi, 0xffff0000
sar edi, 7
imul edi, dword [eax + 0xc]
add ecx, edi
inc ecx
sar ecx, 1
add ecx, edx
mov dword [ebp - 0xd4], ecx
cmp dword [ebp - 0xe4], 0
je 0x550bb5
test edx, edx
je 0x550bb5
xor edx, dword [ebp - 0xe4]
jl 0x550ba6
mov edx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp edx, 0x100
jne 0x550bb5
dec dword [eax + 0xc]
jmp 0x550bb5
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x550bb5
inc dword [eax + 0xc]
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe8]
mov dword [eax + ecx*4 + 0x30], edx
add eax, 0x60
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test ecx, ecx
jne 0x550aa9
mov eax, dword [ebp - 0x10]
inc eax
and eax, 7
mov dword [ebp - 0x10], eax
test byte [ebp - 8], 0x80
je 0x550c21
test byte [ebp - 7], 1
je 0x550c1b
mov eax, dword [ebp - 0x30]
add eax, dword [ebx + 0x8a8]
add esi, eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebx + 0x8ac]
add edx, ecx
mov eax, dword [ebp - 0x30]
neg eax
mov dword [ebx + 0x8a8], eax
mov ecx, dword [ebp - 0x2c]
neg ecx
mov dword [ebx + 0x8ac], ecx
jmp 0x550c21
add esi, dword [ebp - 0x30]
add edx, dword [ebp - 0x2c]
test byte [ebp - 7], 0x40
je 0x550c4e
add edx, edx
mov eax, esi
and eax, 1
or edx, eax
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xdc], esi
sub edx, esi
sar edx, 1
mov esi, dword [ebp - 0xd8]
add esi, dword [ebp - 0xdc]
sar esi, 1
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*8]
lea ecx, [esi + esi*2]
add eax, ecx
add eax, edx
mov dword [ebp - 0x34], eax
test byte [ebp - 8], 0x80
je 0x550c85
mov ecx, dword [ebp - 4]
shl esi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x550d25
cmp esi, dword [ebp - 0x1c]
jge 0x550ca8
mov eax, dword [ebp - 0x48]
neg eax
cmp esi, eax
jge 0x550c9a
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x550cd5
cmp esi, dword [ebp - 0x20]
jle 0x550cc7
cmp esi, dword [ebp - 0x48]
jle 0x550cb9
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x550cd5
mov ecx, dword [ebp - 4]
shl esi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
add dword [ebp - 0x38], 4
cmp edx, dword [ebp - 0x1c]
jge 0x550cf8
mov ecx, dword [ebp - 0x48]
neg ecx
cmp edx, ecx
jge 0x550cea
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [edx], eax
add dword [ebp - 0x38], 4
jmp 0x550d25
cmp edx, dword [ebp - 0x20]
jle 0x550d17
cmp edx, dword [ebp - 0x48]
jle 0x550d09
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x550d25
mov ecx, dword [ebp - 4]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x550a45
jmp 0x551233
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
lea esi, [ebp - 0x40]
mov eax, dword [esi]
imul dword [ebp - 0x110]
add eax, 0x80
sar eax, 8
add ecx, eax
add ecx, edi
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0x110], 0
setge dl
and edx, 1
test edi, edi
setg cl
and ecx, 1
cmp edx, ecx
jne 0x550dbb
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x550dcc
lea edx, [ebp - 0x40]
dec dword [edx]
jmp 0x550dcc
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x550dcc
lea edx, [ebp - 0x40]
inc dword [edx]
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0xec]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0xec]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
push 1
push ebx
call fcn.0055203c
add esp, 8
mov edi, eax
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
imul eax, dword [ebp - 0x108]
add eax, 0x80
sar eax, 8
add edx, eax
add edx, edi
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0x108], 0
setge dl
and edx, 1
test edi, edi
setg cl
and ecx, 1
cmp edx, ecx
jne 0x550e5a
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x550e6b
lea edx, [ebp - 0x3c]
dec dword [edx]
jmp 0x550e6b
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x550e6b
lea edx, [ebp - 0x3c]
inc dword [edx]
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0xec]
sub eax, dword [ecx]
mov dword [ebp - 0x108], eax
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 0xec]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x114]
mov ecx, dword [ecx]
cmp ecx, dword [ebp - 0x1c]
jge 0x550ecb
lea eax, [ebp - 0x114]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x550ebd
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x550f10
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x550efa
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x550eec
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x550f10
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x550f43
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x48]
neg edx
cmp eax, edx
jge 0x550f35
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x550f88
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x20]
jle 0x550f72
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
cmp edx, dword [ebp - 0x48]
jle 0x550f64
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x550f88
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x550d50
jmp 0x551233
cmp word [ebx + 8], 2
jne 0x551083
test byte [ebp - 8], 1
je 0x551083
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.00551dc3
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x551233
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
cmp word [ebx + 0xa], 0
je 0x551059
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x1c]
jge 0x55102d
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x48]
neg eax
cmp ecx, eax
jge 0x551020
mov dword [ebp - 0x4c], 1
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
jmp 0x551059
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x20]
jle 0x551059
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x48]
jle 0x55104e
mov dword [ebp - 0x4c], 1
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x114]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x550fc8
jmp 0x551233
cmp word [ebx + 8], 3
jge 0x55122e
test byte [ebp - 8], 1
jne 0x55122e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x551233
push 0
push ebx
call fcn.00551dc3
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x551233
push 1
push ebx
call fcn.00551dc3
add esp, 8
mov dword [ebp - 0xf4], eax
and eax, 1
add edi, edi
or eax, edi
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
add edx, dword [ebp - 0xf4]
sar edx, 1
add dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x114]
add dword [eax], ecx
mov edx, dword [ebp - 0xf0]
sub edx, dword [ebp - 0xf4]
sar edx, 1
add dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x10c]
add dword [eax], ecx
cmp word [ebx + 0xa], 0
je 0x5511f1
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x551167
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x48]
neg edx
cmp eax, edx
jge 0x55115a
mov dword [ebp - 0x4c], 1
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x551193
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x20]
jle 0x551193
lea eax, [ebp - 0x114]
mov edx, dword [eax]
cmp edx, dword [ebp - 0x48]
jle 0x551188
mov dword [ebp - 0x4c], 1
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x5511c5
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x5511b8
mov dword [ebp - 0x4c], 1
lea edx, [ebp - 0x10c]
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x5511f1
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x5511f1
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x5511e6
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x10c]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10c]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x5510af
jmp 0x551233
xor ecx, ecx
mov dword [ebp - 0x44], ecx
cmp word [ebx + 0xa], 0
je 0x551240
test byte [ebp - 8], 0x80
je 0x5512a2
test byte [ebp - 8], 1
je 0x55124d
mov eax, 1
jmp 0x551252
mov eax, 2
imul dword [ebp + 0x10]
shl eax, 2
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0xf8]
jae 0x5512a2
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x48]
jg 0x55128a
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x48]
neg eax
cmp ecx, eax
jge 0x551293
mov dword [ebp - 0x4c], 1
jmp 0x5512a2
add dword [ebp - 0x38], 0xc
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0xf8]
jb 0x551272
cmp dword [ebp - 0x4c], 0
je 0x5512d1
mov ecx, dword [ebp + 0x10]
shl ecx, 2
test byte [ebp - 8], 1
je 0x5512bb
mov eax, 1
jmp 0x5512c0
mov eax, 2
imul ecx, eax
push ecx
push 0
push dword [ebp + 0xc]
call fcn.00540030
add esp, 0xc
cmp dword [ebp - 0x44], 0
je 0x5514be
mov edx, dword [ebp - 0x44]
add dword [ebx + 0x7c], edx
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 0x8c]
jne 0x5514be
cmp word [ebx + 8], 3
jne 0x55131c
mov edx, dword [ebp + 8]
cmp dword [edx + 0x98], 0
je 0x55130b
mov ecx, dword [ebx + 0x18]
jmp 0x55130e
mov ecx, dword [ebx + 0x14]
cmp ecx, dword [ebp - 0x34]
je 0x55131c
mov eax, dword [ebp + 8]
inc dword [eax + 0x90]
mov edx, dword [ebp + 8]
test byte [edx + 0x9c], 4
je 0x5514be
push 0x400
call fcn.005400c4
pop ecx
mov dword [ebp - 0xfc], eax
lea ecx, [ebx + 0x24]
push ecx
call fcn.0054e23f
pop ecx
test eax, eax
je 0x5513ab
lea eax, [ebx + 0x24]
push eax
call fcn.0054e23f
pop ecx
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x60]
push eax
mov ecx, dword [ebp + 8]
push dword [ecx + 0x5c]
call fcn.005400e4
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
lea eax, [ebx + 0x24]
push eax
call fcn.0054e23f
pop ecx
push eax
lea ecx, [ebx + 0x24]
push ecx
call fcn.0054e25c
pop ecx
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x60]
push edx
call fcn.0053fff8
add esp, 0xc
lea edx, [ebx + 0x24]
push edx
call fcn.0054e23f
pop ecx
mov ecx, dword [ebp + 8]
add dword [ecx + 0x60], eax
push 4
push dword [ebp - 0xfc]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x74]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x70]
call dword [edx]
add esp, 0xc
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x551423
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x60]
add eax, dword [ebp - 0x100]
push eax
mov edx, dword [ebp + 8]
push dword [edx + 0x5c]
call fcn.005400e4
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
push dword [ebp - 0x100]
push dword [ebp - 0xfc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ebp + 8]
add ecx, dword [eax + 0x60]
push ecx
call fcn.0053fff8
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x100]
add dword [edx + 0x60], ecx
jmp 0x5513ab
push dword [ebp - 0xfc]
call fcn.005400d4
pop ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x60], 0x10
jbe 0x5514be
xor eax, eax
mov dword [ebp - 0x104], eax
jmp 0x55144c
inc dword [ebp - 0x104]
cmp dword [ebp - 0x104], 0x10
jge 0x55146e
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x5c]
mov eax, dword [ebp - 0x104]
xor edx, edx
mov dl, byte [ecx + eax]
cmp edx, 0xff
je 0x551446
cmp dword [ebp - 0x104], 0x10
jne 0x5514a2
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x60]
sub eax, 0x10
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x5c]
add ecx, 0x10
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x5c]
call fcn.0053fff8
add esp, 0xc
mov edx, dword [ebp + 8]
sub dword [edx + 0x60], 0x10
jmp 0x5514be
mov ecx, dword [ebp + 8]
push dword [ecx + 0x5c]
call fcn.005400d4
pop ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x60], eax
push 0x10
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebx + 0x8b4]
push ecx
call fcn.0053fff8
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push eax
lea edx, [ebx + 0x8c4]
push edx
call fcn.0053fff8
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 0x8b0], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x8a4], eax
mov eax, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret