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

Disassembly:
sub esp, 0x174
mov eax, dword [0x5dbef0]
xor eax, esp
mov dword [esp + 0x170], eax
mov ecx, dword [esp + 0x17c]
mov edx, dword [esp + 0x184]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x184]
push edi
mov edi, dword [esp + 0x19c]
mov dword [esp + 0x4c], esi
cmp dword [esi + 0x7608], 1
mov dword [esp + 0xbc], ecx
jne 0x50e36a
mov eax, dword [esi + 0x7600]
jmp 0x50e373
mov eax, dword [esp + 0x190]
add eax, ecx
mov ebp, dword [esi + 0x7604]
mov ebx, ecx
mov ecx, dword [esi + 0x7578]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x74b0]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x74b4]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x74b8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], eax
test edi, edi
je 0x5102ca
push 8
pop eax
push dword [esp + 0x198]
cmp edi, eax
mov dword [esi + 0x750c], 1
push edx
cmovl eax, edi
add esi, 0x682c
lea edi, [esp + 0x11c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xf0]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00509bf6
add esp, 0xc
cmp eax, 0xffffff88
jbe 0x50e406
push 0xffffffffffffffec
pop ebx
jmp 0x510328
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0xe8]
push dword [ebx]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0051302e
push dword [ebx + 8]
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x118]
push eax
call fcn.0051302e
push dword [ebx + 4]
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.0051302e
mov ebp, dword [esp + 0x114]
lea eax, [esp + 0x144]
mov ebx, dword [esp + 0x110]
add esp, 0x24
mov dword [esp + 0x60], eax
xor edi, edi
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x48], edi
cmp ebx, 0x20
jbe 0x50e48f
push 3
pop esi
jmp 0x50e543
cmp ebp, dword [esp + 0xf8]
jb 0x50e4ce
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], ebx
push 4
lea eax, [esp + 0x88]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov eax, dword [esp + 0x90]
add esp, 0xc
xor esi, esi
jmp 0x50e526
mov ecx, dword [esp + 0xf4]
cmp ebp, ecx
jne 0x50e4e3
cmp ebx, 0x20
sbb esi, esi
add esi, 2
jmp 0x50e54a
mov edx, ebx
mov eax, ebp
shr edx, 3
xor esi, esi
sub eax, edx
cmp eax, ecx
jae 0x50e4f7
mov edx, ebp
sub edx, ecx
inc esi
imul eax, edx, 0xfffffff8
sub ebp, edx
push 4
push ebp
mov dword [esp + 0xf8], ebp
add ebx, eax
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xf8], ebx
call fcn.00527800
mov eax, dword [esp + 0xcc]
add esp, 0xc
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xe8], eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xf4]
cmp edi, dword [esp + 0x3c]
jge 0x50eb8b
cmp esi, 2
ja 0x50e3fe
mov ecx, dword [esp + 0x110]
mov esi, dword [esp + 0x10c]
mov edi, dword [esp + 0xfc]
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
mov ebx, dword [ecx + esi*8 + 4]
mov esi, ebx
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x68], esi
mov esi, dword [ebx + edi*8 + 4]
mov cl, byte [ebx + edi*8 + 2]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], esi
mov esi, dword [eax + edx*8 + 4]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10c]
mov byte [esp + 0x36], cl
mov ecx, dword [esp + 0x110]
mov bl, byte [ecx + esi*8 + 2]
mov byte [esp + 0x35], bl
mov bl, byte [eax + edx*8 + 2]
mov byte [esp + 0x37], bl
mov ebx, dword [esp + 0x100]
movzx esi, word [ebx + edi*8]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x10c]
movzx ebx, word [ecx + esi*8]
movzx ecx, byte [ecx + esi*8 + 3]
mov dword [esp + 0x7c], ebx
movzx ebx, word [eax + edx*8]
movzx eax, byte [eax + edx*8 + 3]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x80], eax
mov al, byte [esp + 0x37]
mov dword [esp + 0x78], ecx
movzx edi, byte [ebx + edi*8 + 3]
mov dword [esp + 0x58], edi
cmp al, 1
jbe 0x50e7dd
cmp dword [esp + 0x1a0], 0
je 0x50e6fb
cmp al, 0x19
jb 0x50e6fb
movzx eax, al
sub eax, 5
push eax
lea eax, [esp + 0xec]
push eax
call fcn.0050d5fe
mov esi, dword [esp + 0xf4]
mov edi, eax
shl edi, 5
add edi, dword [esp + 0x20]
pop ecx
pop ecx
cmp esi, 0x20
ja 0x50e6cd
mov ecx, dword [esp + 0xf0]
cmp ecx, dword [esp + 0xf8]
jb 0x50e686
lea eax, [esp + 0xe8]
push eax
call fcn.00509d19
jmp 0x50e6cc
cmp ecx, dword [esp + 0xf4]
je 0x50e6cd
mov edx, esi
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0xf4]
jae 0x50e6aa
mov edx, ecx
sub edx, dword [esp + 0xf4]
imul eax, edx, 0xfffffff8
sub ecx, edx
push ecx
mov dword [esp + 0xf4], ecx
add esi, eax
mov dword [esp + 0xf0], esi
call fcn.0050659e
mov dword [esp + 0xec], eax
pop ecx
lea eax, [esp + 0xe8]
push 5
push eax
call fcn.0050d5fe
pop ecx
add edi, eax
pop ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x10], ecx
jmp 0x50e7ad
movzx eax, al
push eax
lea eax, [esp + 0xec]
push eax
call fcn.0050d5fe
pop ecx
pop ecx
mov ecx, dword [esp + 0xec]
mov edi, eax
add edi, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmp ecx, 0x20
ja 0x50e7a2
mov ebp, dword [esp + 0xf0]
cmp ebp, dword [esp + 0xf8]
jb 0x50e743
lea eax, [esp + 0xe8]
push eax
call fcn.00509d19
jmp 0x50e6df
mov esi, dword [esp + 0xf4]
cmp ebp, esi
je 0x50e795
mov edx, ecx
mov eax, ebp
shr edx, 3
sub eax, edx
cmp eax, esi
jae 0x50e75f
mov edx, ebp
sub edx, esi
imul eax, edx, 0xfffffff8
sub ebp, edx
push ebp
mov dword [esp + 0xf4], ebp
add ecx, eax
mov dword [esp + 0xf0], ecx
call fcn.0050659e
pop ecx
mov ecx, dword [esp + 0xec]
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xe8], edx
mov dword [esp + 0x14], ecx
jmp 0x50e7ad
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x10], esi
jmp 0x50e7b4
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0xf0]
mov eax, dword [esp + 0x118]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x10]
jmp 0x50e877
mov ecx, dword [esp + 0x5c]
xor ebx, ebx
test ecx, ecx
sete bl
test al, al
jne 0x50e803
mov edi, dword [esp + ebx*4 + 0x114]
neg ecx
sbb eax, eax
and eax, 4
mov eax, dword [esp + eax + 0x114]
jmp 0x50e7c9
lea eax, [esp + 0xe8]
push 1
push eax
call fcn.0050d5fe
mov edx, dword [esp + 0x11c]
pop ecx
pop ecx
lea ecx, [ebx + eax]
add ecx, dword [esp + 0x18]
lea edi, [edx - 1]
cmp ecx, 3
je 0x50e831
mov edi, dword [esp + ecx*4 + 0x114]
mov ebp, dword [esp + 0xf0]
xor eax, eax
test edi, edi
sete al
add edi, eax
mov eax, dword [esp + 0x11c]
cmp ecx, 1
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x14], ecx
cmovne eax, dword [esp + 0x118]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x118], edx
mov dword [esp + 0x10], eax
mov dl, byte [esp + 0x35]
test dl, dl
mov dword [esp + 0x114], edi
mov dword [esp + 0x6c], edi
movzx edx, dl
je 0x50e8b6
mov ebx, dword [esp + 0x54]
and ecx, 0x1f
shl eax, cl
mov ecx, edx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x14]
add ecx, edx
add ebx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0x68], ebx
mov bl, byte [esp + 0x36]
movzx edi, bl
lea eax, [edx + edi]
cmp eax, 0x14
jb 0x50e965
cmp ecx, 0x20
ja 0x50e965
cmp ebp, dword [esp + 0xf8]
jb 0x50e908
lea eax, [esp + 0xe8]
push eax
call fcn.00509d19
mov eax, dword [esp + 0xec]
mov ebp, dword [esp + 0xf4]
pop ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x50e969
mov edx, dword [esp + 0xf4]
cmp ebp, edx
je 0x50e95f
mov esi, ecx
mov eax, ebp
shr esi, 3
sub eax, esi
cmp eax, edx
jae 0x50e924
mov esi, ebp
sub esi, edx
imul eax, esi, 0xfffffff8
sub ebp, esi
push ebp
mov dword [esp + 0xf4], ebp
add ecx, eax
mov dword [esp + 0xf0], ecx
call fcn.0050659e
mov ebp, dword [esp + 0xf4]
pop ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x10], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0x14], ecx
jmp 0x50e969
mov eax, dword [esp + 0x10]
jmp 0x50e970
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xf4]
test bl, bl
je 0x50e992
mov ebx, dword [esp + 0x5c]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x14]
add ecx, edi
add ebx, eax
mov dword [esp + 0x64], ebx
cmp ecx, 0x20
ja 0x50ea34
cmp ebp, dword [esp + 0xf8]
jb 0x50e9f1
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], ecx
push 4
lea eax, [esp + 0xbc]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov edi, dword [esp + 0xc4]
mov ebp, dword [esp + 0xfc]
add esp, 0xc
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x10], edi
mov dword [esp + 0xe8], edi
jmp 0x50ea38
cmp ebp, edx
je 0x50ea34
mov esi, ecx
mov eax, ebp
shr esi, 3
sub eax, esi
cmp eax, edx
jae 0x50ea06
mov esi, ebp
sub esi, edx
imul eax, esi, 0xfffffff8
sub ebp, esi
push 4
push ebp
mov dword [esp + 0xf8], ebp
add ecx, eax
lea eax, [esp + 0xbc]
push eax
mov dword [esp + 0xf8], ecx
call fcn.00527800
mov edi, dword [esp + 0xc0]
jmp 0x50e9d3
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov edx, edi
lea esi, [eax + ecx]
mov ecx, esi
mov dword [esp + 0xec], esi
neg ecx
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5bc460]
mov eax, dword [esp + 0x74]
movzx eax, ax
add edx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xfc], edx
mov edx, edi
lea ecx, [esi + eax]
neg ecx
lea ebx, [esi + eax]
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5bc460]
mov eax, dword [esp + 0x7c]
movzx eax, ax
add edx, eax
mov dword [esp + 0x10c], edx
cmp ebx, 0x20
ja 0x50eb3b
cmp ebp, dword [esp + 0xf8]
jb 0x50ead5
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], ebx
push 4
lea eax, [esp + 0x8c]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov edi, dword [esp + 0x94]
jmp 0x50eb1f
mov esi, dword [esp + 0xf4]
cmp ebp, esi
je 0x50eb3b
mov ecx, ebx
mov eax, ebp
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x50eaf1
mov ecx, ebp
sub ecx, esi
mov eax, ecx
sub ebp, ecx
shl eax, 3
sub ebx, eax
mov dword [esp + 0xf0], ebp
push 4
lea eax, [esp + 0x90]
mov dword [esp + 0xf0], ebx
push ebp
push eax
call fcn.00527800
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0xf8]
add esp, 0xc
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0xe8], edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x80]
lea esi, [esp + 0x64]
add ebx, eax
mov edx, edi
mov ecx, ebx
mov dword [esp + 0xec], ebx
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x60]
mov edi, ecx
and edx, dword [eax*4 + 0x5bc460]
mov eax, dword [esp + 0x70]
movzx eax, ax
movsd dword es:[edi], dword [esi]
add edx, eax
mov dword [esp + 0x104], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
inc edi
add ecx, 0xc
mov dword [esp + 0x60], ecx
jmp 0x50e47a
cmp ebx, 0x20
jbe 0x50eb98
push 3
pop esi
jmp 0x50ec3f
cmp ebp, dword [esp + 0xf8]
jb 0x50ebd1
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], ebx
push 4
lea eax, [esp + 0x74]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov ecx, dword [esp + 0x7c]
add esp, 0xc
xor esi, esi
jmp 0x50ec22
cmp ebp, ecx
jne 0x50ebdf
cmp ebx, 0x20
sbb esi, esi
add esi, 2
jmp 0x50ec3f
mov edx, ebx
mov eax, ebp
shr edx, 3
xor esi, esi
sub eax, edx
cmp eax, ecx
jae 0x50ebf3
mov edx, ebp
sub edx, ecx
inc esi
imul eax, edx, 0xfffffff8
sub ebp, edx
push 4
push ebp
mov dword [esp + 0xf8], ebp
add ebx, eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0xf8], ebx
call fcn.00527800
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov eax, dword [esp + 0xec]
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x10], ecx
cmp edi, dword [esp + 0x19c]
jge 0x50fad6
cmp esi, 2
ja 0x50e3fe
mov ecx, dword [esp + 0x110]
mov esi, dword [esp + 0x10c]
mov edi, dword [esp + 0xfc]
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
mov ebx, dword [ecx + esi*8 + 4]
mov esi, ebx
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x68], esi
mov esi, dword [ebx + edi*8 + 4]
mov cl, byte [ebx + edi*8 + 2]
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], esi
mov esi, dword [eax + edx*8 + 4]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10c]
mov byte [esp + 0x37], cl
mov ecx, dword [esp + 0x110]
mov bl, byte [ecx + esi*8 + 2]
mov byte [esp + 0x35], bl
mov bl, byte [eax + edx*8 + 2]
mov byte [esp + 0x36], bl
mov ebx, dword [esp + 0x100]
movzx esi, word [ebx + edi*8]
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x10c]
movzx ebx, word [ecx + esi*8]
movzx ecx, byte [ecx + esi*8 + 3]
mov dword [esp + 0xa8], ebx
movzx ebx, word [eax + edx*8]
movzx eax, byte [eax + edx*8 + 3]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x36]
mov dword [esp + 0xa4], ecx
movzx edi, byte [ebx + edi*8 + 3]
mov dword [esp + 0x9c], edi
cmp al, 1
jbe 0x50ef11
cmp dword [esp + 0x1a0], 0
je 0x50ee2a
cmp al, 0x19
jb 0x50ee2a
mov edx, dword [esp + 0x14]
mov ecx, edx
mov ebx, dword [esp + 0x10]
and ecx, 0x1f
movzx eax, al
mov edi, ebx
shl edi, cl
sub eax, 5
mov ecx, eax
add edx, eax
neg ecx
and ecx, 0x1f
shr edi, cl
shl edi, 5
add edi, dword [esp + 0x18]
cmp edx, 0x20
ja 0x50ee0c
cmp ebp, dword [esp + 0xf8]
jb 0x50eda9
mov eax, edx
and edx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], edx
push 4
lea eax, [esp + 0x80]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov ebx, dword [esp + 0x88]
jmp 0x50edf0
mov esi, dword [esp + 0xf4]
cmp ebp, esi
je 0x50ee0c
mov ecx, edx
mov eax, ebp
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x50edc5
mov ecx, ebp
sub ecx, esi
mov eax, ecx
sub ebp, ecx
shl eax, 3
sub edx, eax
mov dword [esp + 0xf0], ebp
push 4
lea eax, [esp + 0x7c]
mov dword [esp + 0xf0], edx
push ebp
push eax
call fcn.00527800
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0xf8]
add esp, 0xc
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x10]
mov ecx, edx
and ecx, 0x1f
mov eax, ebx
shl eax, cl
add edx, 5
shr eax, 0x1b
mov dword [esp + 0x14], edx
add edi, eax
jmp 0x50ef01
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov esi, dword [esp + 0x10]
and ecx, 0x1f
movzx edx, al
mov edi, esi
shl edi, cl
add ebx, edx
mov ecx, edx
mov dword [esp + 0x14], ebx
neg ecx
and ecx, 0x1f
shr edi, cl
add edi, dword [esp + 0x18]
cmp ebx, 0x20
ja 0x50ef01
cmp ebp, dword [esp + 0xf8]
jb 0x50ee9b
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], ebx
push 4
lea eax, [esp + 0x64]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov ecx, dword [esp + 0x6c]
mov esi, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xf4], ecx
jmp 0x50eeec
mov ecx, dword [esp + 0xf4]
cmp ebp, ecx
je 0x50ef01
mov edx, ebx
mov eax, ebp
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x50eeb7
mov edx, ebp
sub edx, ecx
mov eax, edx
sub ebp, edx
shl eax, 3
sub ebx, eax
mov dword [esp + 0xf0], ebp
push 4
lea eax, [esp + 0x60]
mov dword [esp + 0xf0], ebx
push ebp
push eax
call fcn.00527800
mov eax, dword [esp + 0x68]
mov esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xf8]
add esp, 0xc
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x14]
jmp 0x50ef94
mov ecx, dword [esp + 0x58]
xor edx, edx
mov esi, dword [esp + 0x10]
test ecx, ecx
sete dl
test al, al
jne 0x50ef3f
mov edi, dword [esp + edx*4 + 0x114]
neg ecx
sbb eax, eax
mov ecx, dword [esp + 0x14]
and eax, 4
mov eax, dword [esp + eax + 0x114]
jmp 0x50efa2
mov ecx, dword [esp + 0x14]
mov eax, esi
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
inc ecx
add edx, eax
mov dword [esp + 0x14], ecx
add edx, dword [esp + 0x18]
mov dword [esp + 0xec], ecx
cmp edx, 3
jne 0x50ef72
mov edi, dword [esp + 0x114]
dec edi
jmp 0x50ef79
mov edi, dword [esp + edx*4 + 0x114]
xor eax, eax
test edi, edi
sete al
add edi, eax
mov eax, dword [esp + 0x11c]
cmp edx, 1
cmovne eax, dword [esp + 0x118]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x118], eax
mov al, byte [esp + 0x35]
mov dword [esp + 0x114], edi
mov dword [esp + 0x6c], edi
movzx edx, al
test al, al
je 0x50efe3
mov ebx, dword [esp + 0x54]
and ecx, 0x1f
mov eax, esi
shl eax, cl
mov ecx, edx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x14]
add ecx, edx
add ebx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x68], ebx
mov bl, byte [esp + 0x37]
movzx edi, bl
lea eax, [edx + edi]
cmp eax, 0x14
jb 0x50f0a6
cmp ecx, 0x20
ja 0x50f0a6
cmp ebp, dword [esp + 0xf8]
jb 0x50f056
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], ecx
push 4
lea eax, [esp + 0x78]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xf8]
add esp, 0xc
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0x14], ecx
jmp 0x50f0aa
mov edx, dword [esp + 0xf4]
cmp ebp, edx
je 0x50f0a0
mov esi, ecx
mov eax, ebp
shr esi, 3
sub eax, esi
cmp eax, edx
jae 0x50f072
mov esi, ebp
sub esi, edx
imul eax, esi, 0xfffffff8
sub ebp, esi
push 4
push ebp
mov dword [esp + 0xf8], ebp
add ecx, eax
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0xf8], ecx
call fcn.00527800
mov eax, dword [esp + 0x9c]
jmp 0x50f034
mov eax, dword [esp + 0x10]
jmp 0x50f0b1
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xf4]
test bl, bl
je 0x50f0d3
mov ebx, dword [esp + 0x58]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x14]
add ecx, edi
add ebx, eax
mov dword [esp + 0x64], ebx
cmp ecx, 0x20
ja 0x50f171
cmp ebp, dword [esp + 0xf8]
jb 0x50f12e
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], ecx
push 4
lea eax, [esp + 0x98]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xfc]
add esp, 0xc
mov ecx, dword [esp + 0xec]
mov dword [esp + 0xe8], ebx
jmp 0x50f175
cmp ebp, edx
je 0x50f171
mov esi, ecx
mov eax, ebp
shr esi, 3
sub eax, esi
cmp eax, edx
jae 0x50f143
mov esi, ebp
sub esi, edx
imul eax, esi, 0xfffffff8
sub ebp, esi
push 4
push ebp
mov dword [esp + 0xf8], ebp
add ecx, eax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0xf8], ecx
call fcn.00527800
mov ebx, dword [esp + 0xa4]
jmp 0x50f114
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x9c]
mov edx, ebx
lea esi, [eax + ecx]
mov ecx, esi
mov dword [esp + 0xec], esi
neg ecx
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5bc460]
mov eax, dword [esp + 0xa0]
movzx eax, ax
add edx, eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xfc], edx
mov edx, ebx
lea ecx, [eax + esi]
neg ecx
lea edi, [eax + esi]
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5bc460]
mov eax, dword [esp + 0xa8]
movzx eax, ax
add edx, eax
mov dword [esp + 0x10c], edx
cmp edi, 0x20
ja 0x50f279
cmp ebp, dword [esp + 0xf8]
jb 0x50f21e
mov eax, edi
and edi, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xec], edi
push 4
lea eax, [esp + 0xb0]
mov dword [esp + 0xf4], ebp
push ebp
push eax
call fcn.00527800
mov ebx, dword [esp + 0xb8]
jmp 0x50f268
mov ecx, dword [esp + 0xf4]
cmp ebp, ecx
je 0x50f279
mov edx, edi
mov eax, ebp
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x50f23a
mov edx, ebp
sub edx, ecx
mov eax, edx
sub ebp, edx
shl eax, 3
sub edi, eax
mov dword [esp + 0xf0], ebp
push 4
lea eax, [esp + 0xb4]
mov dword [esp + 0xf0], edi
push ebp
push eax
call fcn.00527800
mov ebx, dword [esp + 0xbc]
mov edi, dword [esp + 0xf8]
add esp, 0xc
mov dword [esp + 0xe8], ebx
mov eax, dword [esp + 0x50]
add edi, eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xec], edi
neg edi
and edi, 0x1f
mov ecx, edi
mov ebp, dword [edx + 0x7608]
shr ebx, cl
and ebx, dword [eax*4 + 0x5bc460]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
movzx eax, ax
add ebx, eax
mov dword [esp + 0x104], ebx
cmp ebp, 2
jne 0x50f578
mov eax, dword [esp + 0x48]
lea ebx, [esp + 0x120]
mov esi, dword [edx + 0x7604]
and eax, 7
imul eax, eax, 0xc
add ebx, eax
mov dword [esp + 0x1c], ebx
mov edi, dword [ebx]
lea eax, [edi + ecx]
cmp eax, esi
jbe 0x50f578
mov ebp, dword [esp + 0x20]
sub esi, ecx
je 0x50f316
mov eax, dword [esp + 0x2c]
sub eax, ebp
cmp esi, eax
ja 0x50facf
push esi
push ecx
push ebp
call fcn.0051323a
mov edx, dword [esp + 0x58]
sub edi, esi
add esp, 0xc
mov dword [ebx], edi
add ebp, esi
mov dword [esp + 0x20], ebp
and dword [edx + 0x7608], 0
lea edi, [esp + 0xc4]
mov esi, ebx
lea eax, [edx + 0x1760c]
mov dword [esp + 0x38], eax
lea ecx, [edx + 0x760c]
mov dword [esp + 0x30], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, ecx
mov edi, edx
sub edi, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x38]
ja 0x50f56f
mov eax, dword [esp + 0x2c]
lea ecx, [ebx + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x50f56f
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50f56f
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc4]
movups xmm0, xmmword [ecx + 0x760c]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50f3f7
add eax, 0xfffffff0
lea esi, [ecx + 0x761c]
lea ecx, [ebp + 0x10]
movups xmm0, xmmword [esi]
lea ebp, [ecx + eax]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50f3f0
mov eax, dword [esp + 0x1c]
add ecx, 0x10
add esi, 0x10
movups xmm0, xmmword [esi]
lea esi, [esi + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x50f3d8
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x30], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50f46e
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50e3fe
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
jbe 0x50f904
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call fcn.00527800
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xc8], esi
mov esi, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc8], esi
cmp ecx, 0x10
jb 0x50f4a8
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50fa74
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50f48b
jmp 0x50fa74
cmp ecx, 8
jae 0x50f4eb
mov al, byte [edi]
mov esi, dword [ecx*4 + 0x5bc340]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5bc320]
push 4
mov byte [edx + 3], al
lea eax, [edx + 4]
push edi
push eax
call fcn.00527800
add esp, 0xc
sub edi, esi
mov esi, dword [esp + 0xc8]
jmp 0x50f4f4
push edi
push edx
call fcn.0050db17
pop ecx
pop ecx
cmp esi, 8
jbe 0x50fa74
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50f53a
sub edi, esi
mov ebp, edx
lea eax, [esi + edi]
push eax
push esi
call fcn.0050db17
add esi, 8
pop ecx
pop ecx
cmp esi, ebp
jb 0x50f51e
mov ebp, dword [esp + 0x20]
jmp 0x50fa74
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50fa74
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50f552
jmp 0x50fa74
mov esi, dword [esp + 0x1c]
jmp 0x50fa40
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x120]
and eax, 7
imul eax, eax, 0xc
add edx, eax
cmp ebp, 2
mov ebp, dword [esp + 0x20]
mov esi, edx
mov dword [esp + 0x54], edx
jne 0x50f809
mov eax, dword [edx]
lea edi, [esp + 0xd0]
movsd dword es:[edi], dword [esi]
add eax, 0xffffffe0
add eax, ecx
mov dword [esp + 0x58], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, ecx
mov edi, edx
sub edi, dword [esp + 0xd8]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x38]
ja 0x50f7d2
lea eax, [ebx + ebp]
cmp eax, dword [esp + 0x58]
ja 0x50f7d2
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50f7d2
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xd0]
movups xmm0, xmmword [ecx]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50f661
add eax, 0xfffffff0
lea esi, [ecx + 0x10]
lea ecx, [ebp + 0x10]
movups xmm0, xmmword [esi]
lea ebp, [ecx + eax]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50f65a
mov eax, dword [esp + 0x1c]
add ecx, 0x10
add esi, 0x10
movups xmm0, xmmword [esi]
lea esi, [esi + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x50f642
mov esi, dword [esp + 0xd4]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50f6dc
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50e3fe
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
jbe 0x50f904
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call fcn.00527800
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xd4], esi
mov esi, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x18], edx
mov dword [esp + 0xd4], esi
cmp ecx, 0x10
jb 0x50f716
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50fa74
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50f6f9
jmp 0x50fa74
cmp ecx, 8
jae 0x50f748
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5bc320]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5bc340]
add edx, 4
push 4
jmp 0x50f74c
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call fcn.00527800
add esp, 0xc
cmp esi, 8
jbe 0x50fa74
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50f79d
sub edi, esi
mov ebp, edx
push 8
lea eax, [edi + esi]
push eax
push esi
call fcn.00527800
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50f782
jmp 0x50f531
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50fa74
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50f7b5
jmp 0x50fa74
push dword [esp + 0x40]
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push eax
sub esp, 0xc
mov edi, esp
push dword [esp + 0x78]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x50]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00512e60
add esp, 0x2c
jmp 0x50fa6a
lea edi, [esp + 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, ecx
mov edi, edx
sub edi, dword [esp + 0xe4]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x38]
ja 0x50fa3c
mov eax, dword [esp + 0x2c]
lea ecx, [ebx + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x50fa3c
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50fa3c
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xdc]
movups xmm0, xmmword [ecx]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50f8c6
add eax, 0xfffffff0
lea esi, [ecx + 0x10]
lea ecx, [ebp + 0x10]
movups xmm0, xmmword [esi]
lea ebp, [ecx + eax]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50f8bf
mov eax, dword [esp + 0x1c]
add ecx, 0x10
add esi, 0x10
movups xmm0, xmmword [esi]
lea esi, [esi + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x50f8a7
mov esi, dword [esp + 0xe0]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50f94d
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50e3fe
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
ja 0x50f914
push esi
push edi
push edx
call fcn.00527800
add esp, 0xc
jmp 0x50fa74
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call fcn.00527800
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xe0], esi
mov esi, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x18], edx
mov dword [esp + 0xe0], esi
cmp ecx, 0x10
jb 0x50f987
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50fa74
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50f96a
jmp 0x50fa74
cmp ecx, 8
jae 0x50f9b9
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5bc320]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5bc340]
add edx, 4
push 4
jmp 0x50f9bd
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call fcn.00527800
add esp, 0xc
cmp esi, 8
jbe 0x50fa74
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50fa0e
sub edi, esi
mov ebp, edx
push 8
lea eax, [edi + esi]
push eax
push esi
call fcn.00527800
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50f9f3
jmp 0x50f531
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50fa74
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50fa22
jmp 0x50fa74
mov esi, dword [esp + 0x54]
push dword [esp + 0x40]
lea eax, [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push eax
sub esp, 0xc
mov edi, esp
push dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00512d7b
add esp, 0x28
mov ebx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
cmp ebx, 0xffffff88
ja 0x510328
mov eax, dword [esp + 0x48]
lea edi, [esp + 0x120]
mov ecx, dword [esp + 0xf4]
lea esi, [esp + 0x64]
and eax, 7
add ebp, ebx
mov ebx, dword [esp + 0xec]
imul eax, eax, 0xc
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x14], ebx
add edi, eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x10], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
inc edi
mov dword [esp + 0x48], edi
jmp 0x50eb8b
push 0xffffffffffffffba
jmp 0x50e400
sub edi, dword [esp + 0x3c]
jmp 0x510295
mov edx, dword [esp + 0x4c]
lea ebx, [esp + 0x120]
mov ebp, dword [esp + 0x20]
and edi, 7
imul eax, edi, 0xc
add ebx, eax
cmp dword [edx + 0x7608], 2
mov dword [esp + 0x14], ebx
jne 0x51000c
mov edi, dword [ebx]
mov ecx, dword [esp + 0x28]
mov esi, dword [edx + 0x7604]
lea eax, [edi + ecx]
cmp eax, esi
jbe 0x50fd9d
sub esi, ecx
je 0x50fb45
mov eax, dword [esp + 0x2c]
sub eax, ebp
cmp esi, eax
ja 0x50facf
push esi
push ecx
push ebp
call fcn.0051323a
mov edx, dword [esp + 0x58]
sub edi, esi
add esp, 0xc
mov dword [ebx], edi
add ebp, esi
mov dword [esp + 0x20], ebp
and dword [edx + 0x7608], 0
lea edi, [esp + 0xdc]
mov esi, ebx
lea eax, [edx + 0x1760c]
mov dword [esp + 0x38], eax
lea ecx, [edx + 0x760c]
mov dword [esp + 0x30], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, ecx
mov edi, edx
sub edi, dword [esp + 0xe4]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x38]
ja 0x510249
mov eax, dword [esp + 0x2c]
lea ecx, [ebx + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x510249
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x510249
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xdc]
movups xmm0, xmmword [ecx + 0x760c]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50fc2c
add ecx, 0x761c
add eax, 0xfffffff0
mov dword [esp + 0x3c], ecx
lea ecx, [ebp + 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x3c]
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0xe0]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50fc2c
mov eax, dword [esp + 0x3c]
add ecx, 0x10
add eax, 0x10
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, dword [esp + 0x1c]
jb 0x50fc12
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x30], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50fca3
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50e3fe
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
jbe 0x510111
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call fcn.00527800
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xe0], esi
mov esi, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x18], edx
mov dword [esp + 0xe0], esi
cmp ecx, 0x10
jb 0x50fcdd
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x510281
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50fcc0
jmp 0x510281
cmp ecx, 8
jae 0x50fd0f
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5bc320]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5bc340]
add edx, 4
push 4
jmp 0x50fd13
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call fcn.00527800
add esp, 0xc
cmp esi, 8
jbe 0x510281
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50fd68
sub edi, esi
mov ebp, edx
push 8
lea eax, [edi + esi]
push eax
push esi
call fcn.00527800
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50fd49
mov ebp, dword [esp + 0x20]
jmp 0x510281
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x510281
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50fd80
jmp 0x510281
mov esi, ebx
lea edi, [esp + 0xd0]
add eax, 0xffffffe0
mov dword [esp + 0x3c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, ecx
mov edi, edx
sub edi, dword [esp + 0xd8]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x38]
ja 0x50ffd5
lea eax, [ebx + ebp]
cmp eax, dword [esp + 0x3c]
ja 0x50ffd5
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50ffd5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xd0]
movups xmm0, xmmword [ecx]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50fe64
add ecx, 0x10
add eax, 0xfffffff0
mov dword [esp + 0x3c], ecx
lea ecx, [ebp + 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x3c]
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0xd4]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50fe64
mov eax, dword [esp + 0x3c]
add ecx, 0x10
add eax, 0x10
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, dword [esp + 0x1c]
jb 0x50fe4a
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50fedf
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50e3fe
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
jbe 0x510111
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call fcn.00527800
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xd4], esi
mov esi, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x18], edx
mov dword [esp + 0xd4], esi
cmp ecx, 0x10
jb 0x50ff19
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x510281
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50fefc
jmp 0x510281
cmp ecx, 8
jae 0x50ff4b
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5bc320]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5bc340]
add edx, 4
push 4
jmp 0x50ff4f
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call fcn.00527800
add esp, 0xc
cmp esi, 8
jbe 0x510281
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50ffa0
sub edi, esi
mov ebp, edx
push 8
lea eax, [edi + esi]
push eax
push esi
call fcn.00527800
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50ff85
jmp 0x50fd5f
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x510281
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50ffb8
jmp 0x510281
push dword [esp + 0x40]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push eax
sub esp, 0xc
mov edi, esp
push dword [esp + 0x5c]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x50]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00512e60
add esp, 0x2c
jmp 0x510277
mov esi, ebx
lea edi, [esp + 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, dword [esp + 0x28]
mov edi, edx
sub edi, dword [esp + 0xcc]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x38]
ja 0x510249
mov eax, dword [esp + 0x2c]
lea ecx, [ebx + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x510249
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x510249
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc4]
movups xmm0, xmmword [ecx]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x5100d3
add ecx, 0x10
add eax, 0xfffffff0
mov dword [esp + 0x3c], ecx
lea ecx, [ebp + 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x3c]
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0xc8]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x5100d3
mov eax, dword [esp + 0x3c]
add ecx, 0x10
add eax, 0x10
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, dword [esp + 0x1c]
jb 0x5100b9
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x51015a
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50e3fe
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
ja 0x510121
push esi
push edi
push edx
call fcn.00527800
add esp, 0xc
jmp 0x510281
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call fcn.00527800
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xc8], esi
mov esi, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc8], esi
cmp ecx, 0x10
jb 0x510194
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x510281
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x510177
jmp 0x510281
cmp ecx, 8
jae 0x5101c6
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5bc320]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5bc340]
add edx, 4
push 4
jmp 0x5101ca
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call fcn.00527800
add esp, 0xc
cmp esi, 8
jbe 0x510281
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x51021b
sub edi, esi
mov ebp, edx
push 8
lea eax, [edi + esi]
push eax
push esi
call fcn.00527800
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x510200
jmp 0x50fd5f
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x510281
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x51022f
jmp 0x510281
push dword [esp + 0x40]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push eax
sub esp, 0xc
mov edi, esp
push dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00512d7b
add esp, 0x28
mov ebx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
cmp ebx, 0xffffff88
ja 0x510328
mov edi, dword [esp + 0x48]
add ebp, ebx
mov dword [esp + 0x20], ebp
inc edi
mov dword [esp + 0x48], edi
cmp edi, dword [esp + 0x19c]
jl 0x50fadf
mov edi, dword [esp + 0x4c]
lea esi, [esp + 0x114]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
lea edi, [edi + 0x682c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
cmp dword [esi + 0x7608], 2
jne 0x510300
mov eax, dword [esp + 0x2c]
sub ebp, ecx
sub eax, ebx
cmp ebp, eax
ja 0x50facf
test ebx, ebx
je 0x5102f4
push ebp
push ecx
push ebx
call fcn.00527800
add esp, 0xc
add ebx, ebp
lea ecx, [esi + 0x760c]
lea ebp, [esi + 0x1760c]
mov eax, dword [esp + 0x2c]
sub ebp, ecx
sub eax, ebx
cmp ebp, eax
ja 0x50facf
test ebx, ebx
je 0x510321
push ebp
push ecx
push ebx
call fcn.00527800
add esp, 0xc
add ebx, ebp
sub ebx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x180]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00526e79
add esp, 0x174
ret