Function at 0x5dafa2
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ecx, 6
push edi
push esi
push ebx
sub esp, 0x194
mov eax, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1a8]
sar eax, 1
sar edx, 2
test byte [esp + 0x1a8], 0x40
mov dword [esp + 0x18c], eax
mov dword [esp + 0x188], edx
jmp 0x5dafea
add ecx, 1
mov eax, dword [esp + 0x1a8]
sar eax, cl
test al, 1
je 0x5dafdc
mov dword [esp + 0x7c], 0xd
mov dword [esp + 0x180], 2
mov ebx, dword [esp + 0x18c]
sub dword [esp + 0x7c], ecx
mov edi, dword [esp + 0x1ac]
mov ebp, dword [esp + 0x1b0]
movzx ecx, byte [esp + 0x7c]
lea esi, [edi + ebx*4 - 0x1c]
mov eax, dword [esp + 0x188]
add ebx, dword [esp + 0x188]
shl dword [esp + 0x180], cl
mov edx, dword [esp + 0x1ac]
lea edi, [ebp + ebx*4]
lea ecx, [edx + eax*4]
mov ebp, dword [esp + 0x180]
mov dword [esp + 0x84], ebx
shl ebp, 2
mov ebx, 0xc6aa60
mov dword [esp + 0x17c], ecx
mov eax, dword [ebx]
sub edi, 0x10
imul dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov ecx, edx
imul dword [esi + 0x18]
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi + 8], edx
mov eax, dword [ebx]
imul dword [esi + 0x18]
mov eax, dword [ebx + 4]
add ebx, ebp
mov ecx, edx
imul dword [esi + 0x10]
sub ecx, edx
add ecx, ecx
mov dword [edi + 0xc], ecx
mov eax, dword [ebx]
imul dword [esi]
mov eax, dword [ebx + 4]
mov ecx, edx
imul dword [esi + 8]
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi], edx
mov eax, dword [ebx]
imul dword [esi + 8]
mov eax, dword [ebx + 4]
add ebx, ebp
mov ecx, edx
imul dword [esi]
sub esi, 0x20
sub ecx, edx
add ecx, ecx
cmp dword [esp + 0x17c], esi
mov dword [edi + 4], ecx
jbe 0x5db061
mov ebp, dword [esp + 0x180]
shl ebp, 2
mov eax, dword [ebx + 4]
sub edi, 0x10
imul dword [esi + 0x10]
mov eax, dword [ebx]
mov ecx, edx
imul dword [esi + 0x18]
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi + 8], edx
mov eax, dword [ebx + 4]
imul dword [esi + 0x18]
mov eax, dword [ebx]
sub ebx, ebp
mov ecx, edx
imul dword [esi + 0x10]
sub ecx, edx
add ecx, ecx
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 4]
imul dword [esi]
mov eax, dword [ebx]
mov ecx, edx
imul dword [esi + 8]
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi], edx
mov eax, dword [ebx + 4]
imul dword [esi + 8]
mov eax, dword [ebx]
sub ebx, ebp
mov ecx, edx
imul dword [esi]
sub esi, 0x20
sub ecx, edx
add ecx, ecx
cmp esi, dword [esp + 0x1ac]
mov dword [edi + 4], ecx
jae 0x5db0d1
mov edi, dword [esp + 0x18c]
mov ecx, dword [esp + 0x1ac]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x1b0]
mov eax, dword [esp + 0x188]
lea esi, [ecx + edi*4 - 0x20]
lea edx, [ecx + eax*4]
lea edi, [ebp + ebx*4]
mov ebp, dword [esp + 0x180]
mov ebx, 0xc6aa60
shl ebp, 2
mov dword [esp + 0x178], edx
add ebx, ebp
mov eax, dword [ebx]
imul dword [esi + 0x18]
mov eax, dword [ebx + 4]
mov ecx, edx
imul dword [esi + 0x10]
sub ecx, edx
add ecx, ecx
mov dword [edi], ecx
mov eax, dword [ebx]
imul dword [esi + 0x10]
mov eax, dword [ebx + 4]
add ebx, ebp
mov ecx, edx
imul dword [esi + 0x18]
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi + 4], edx
mov eax, dword [ebx]
imul dword [esi + 8]
mov eax, dword [ebx + 4]
mov ecx, edx
imul dword [esi]
sub ecx, edx
add ecx, ecx
mov dword [edi + 8], ecx
mov eax, dword [ebx]
imul dword [esi]
mov eax, dword [ebx + 4]
mov ecx, edx
imul dword [esi + 8]
sub esi, 0x20
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi + 0xc], edx
add edi, 0x10
cmp dword [esp + 0x178], esi
jbe 0x5db17b
mov ebp, dword [esp + 0x180]
shl ebp, 2
sub ebx, ebp
mov eax, dword [ebx + 4]
imul dword [esi + 0x18]
mov eax, dword [ebx]
mov ecx, edx
imul dword [esi + 0x10]
sub ecx, edx
add ecx, ecx
mov dword [edi], ecx
mov eax, dword [ebx + 4]
imul dword [esi + 0x10]
mov eax, dword [ebx]
sub ebx, ebp
mov ecx, edx
imul dword [esi + 0x18]
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi + 4], edx
mov eax, dword [ebx + 4]
imul dword [esi + 8]
mov eax, dword [ebx]
mov ecx, edx
imul dword [esi]
sub ecx, edx
add ecx, ecx
mov dword [edi + 8], ecx
mov eax, dword [ebx + 4]
imul dword [esi]
mov eax, dword [ebx]
mov ecx, edx
imul dword [esi + 8]
sub esi, 0x20
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi + 0xc], edx
add edi, 0x10
cmp esi, dword [esp + 0x1ac]
jae 0x5db1eb
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x18c]
mov ebx, dword [esp + 0x1b0]
not eax
lea esi, [ebx + ebp*4]
mov dword [esp + 0x170], 0
add eax, 8
mov dword [esp + 0x174], esi
test eax, eax
mov dword [esp + 0x78], eax
jle 0x5db318
mov eax, 1
movzx ecx, byte [esp + 0x170]
xor ebp, ebp
shl eax, cl
cmp eax, 0
jle 0x5db2ff
mov ebx, dword [esp + 0x170]
mov esi, dword [esp + 0x7c]
mov edi, 4
lea edx, [ebx + esi]
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0x16c], eax
sar ebx, cl
mov ecx, edx
xor esi, esi
shl edi, cl
mov dword [esp + 0x168], edi
xor edi, edi
lea eax, [esi + edi]
mov ecx, dword [esp + 0x168]
mov edx, ebx
add eax, dword [esp + 0x174]
mov dword [esp], ecx
add ebp, 1
call fcn.005da9e4
lea eax, [ebx + ebx*2]
add edi, ebx
add esi, eax
cmp dword [esp + 0x16c], ebp
jg 0x5db2d1
sub dword [esp + 0x78], 1
add dword [esp + 0x170], 1
mov eax, dword [esp + 0x78]
test eax, eax
jg 0x5db289
mov dword [esp + 0x74], 0
mov ebp, dword [esp + 0x18c]
cmp dword [esp + 0x74], ebp
jge 0x5dba1e
mov dword [esp + 0x80], 0
mov esi, dword [esp + 0x80]
add esi, dword [esp + 0x74]
add esi, dword [esp + 0x174]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x38]
mov ebx, dword [esi + 0x7c]
mov ebp, ecx
mov eax, dword [esi + 0x3c]
add ecx, edx
sub ebp, edx
mov edi, ebx
mov dword [esi + 0x78], ecx
sub edi, eax
mov ecx, dword [esi + 0x70]
add ebx, eax
mov dword [esp + 0x164], ebp
mov ebp, dword [esi + 0x30]
mov dword [esi + 0x7c], ebx
mov dword [esp + 0x160], edi
mov ebx, ecx
mov edi, dword [esi + 0x74]
add ecx, ebp
sub ebx, ebp
mov edx, dword [esi + 0x34]
mov dword [esi + 0x70], ecx
mov eax, 0x7641af3d
mov ecx, edi
sub ecx, edx
add edi, edx
imul ebx
mov eax, 0x30fbc54d
mov dword [esi + 0x74], edi
mov edi, edx
imul ecx
mov eax, 0x7641af3d
sub edi, edx
imul ecx
mov eax, 0x30fbc54d
mov ecx, edx
imul ebx
add edi, edi
mov eax, edx
mov dword [esp + 0x15c], edi
mov edi, dword [esi + 0x68]
add eax, eax
mov ebx, dword [esi + 0x6c]
mov edx, dword [esi + 0x2c]
lea ebp, [eax + ecx*2]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x158], ebp
mov ebp, edi
add edi, ecx
sub ebp, ecx
mov ecx, ebx
mov dword [esi + 0x68], edi
sub ecx, edx
mov eax, ebp
mov edi, 0x5a82799a
sub eax, ecx
add ebx, edx
imul edi
mov dword [esi + 0x6c], ebx
mov eax, edx
add eax, eax
mov dword [esp + 0x154], eax
lea eax, [ebp + ecx]
mov ecx, dword [esi + 0x60]
imul edi
mov ebp, dword [esi + 0x20]
mov edi, dword [esi + 0x64]
mov ebx, edx
mov eax, 0x30fbc54d
mov edx, dword [esi + 0x24]
add ebx, ebx
mov dword [esp + 0x150], ebx
mov ebx, ecx
add ecx, ebp
sub ebx, ebp
mov dword [esi + 0x60], ecx
mov ecx, edi
sub ecx, edx
add edi, edx
imul ebx
mov eax, 0x7641af3d
mov dword [esi + 0x64], edi
mov edi, edx
imul ecx
mov eax, 0x30fbc54d
sub edi, edx
add edi, edi
imul ecx
mov eax, 0x7641af3d
mov dword [esp + 0x14c], edi
mov edi, edx
imul ebx
add edx, edx
mov eax, dword [esi + 0x58]
lea ebp, [edx + edi*2]
mov ecx, eax
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub ecx, edi
add eax, edi
mov ebx, edx
mov edi, dword [esi + 0x5c]
mov dword [esi + 0x58], eax
sub ebx, edi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov ecx, dword [esi + 0x50]
mov ebx, eax
sub ebx, ecx
add edi, edx
add ecx, eax
mov edx, dword [esi + 0x14]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x50], ecx
mov edi, dword [esi + 0x54]
mov ecx, edx
mov eax, 0x30fbc54d
sub ecx, edi
add edi, edx
imul ebx
mov eax, 0x7641af3d
mov dword [esi + 0x54], edi
mov edi, edx
imul ecx
mov eax, edx
add eax, eax
lea edx, [eax + edi*2]
mov eax, 0x30fbc54d
mov edi, dword [esi + 8]
mov dword [esp + 0x148], edx
imul ecx
mov eax, 0x7641af3d
mov ecx, edx
imul ebx
mov ebx, edi
sub ecx, edx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x4c]
add ecx, ecx
mov dword [esp + 0x144], ecx
mov ecx, dword [esi + 0x48]
sub ebx, ecx
add ecx, edi
mov edi, 0x5a82799a
mov dword [esi + 0x48], ecx
mov ecx, edx
sub ecx, eax
add eax, edx
mov dword [esi + 0x4c], eax
lea eax, [ecx + ebx]
sub ecx, ebx
imul edi
mov ebx, dword [esi + 0x44]
mov eax, edx
add eax, eax
mov dword [esp + 0x140], eax
mov eax, 0x5a82799a
imul ecx
mov eax, dword [esi]
mov ecx, dword [esi + 0x40]
mov edi, edx
mov edx, dword [esi + 4]
add edi, edi
mov dword [esp + 0x13c], edi
mov edi, eax
sub edi, ecx
add ecx, eax
mov eax, 0x7641af3d
mov dword [esi + 0x40], ecx
mov ecx, edx
sub ecx, ebx
add ebx, edx
imul edi
mov eax, 0x30fbc54d
mov dword [esi + 0x44], ebx
mov ebx, edx
imul ecx
mov eax, edx
add eax, eax
lea ebx, [eax + ebx*2]
mov eax, 0x7641af3d
imul ecx
mov eax, 0x30fbc54d
mov ecx, edx
imul edi
mov edi, ebx
sub ecx, edx
add ebx, dword [esp + 0x14c]
sub edi, dword [esp + 0x14c]
add ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x138], ebx
mov dword [esi + 0x20], ebx
mov ebx, ecx
sub ebx, ebp
lea eax, [ebp + ecx]
mov ebp, 0x5a82799a
mov dword [esi + 0x24], eax
lea eax, [edi + ebx]
sub ebx, edi
imul ebp
mov eax, 0x5a82799a
mov edi, dword [esp + 0x154]
mov ecx, edx
imul ebx
mov eax, dword [esp + 0x154]
add ecx, ecx
mov ebx, dword [esp + 0x13c]
sub eax, dword [esp + 0x140]
sub ebx, dword [esp + 0x150]
mov dword [esp + 0x134], ecx
mov ecx, dword [esp + 0x150]
add ecx, dword [esp + 0x13c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
mov dword [esi + 0x2c], ecx
sub ebx, dword [esp + 0x148]
add eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x158]
sub ecx, dword [esp + 0x144]
lea ebp, [edx + edx]
add edi, dword [esp + 0x140]
mov dword [esi + 0x34], eax
mov edx, dword [esp + 0x15c]
mov eax, ebx
add edx, dword [esp + 0x148]
mov dword [esi + 0x28], edi
sub eax, ecx
mov edi, 0x5a82799a
mov dword [esi + 0x30], edx
imul edi
lea eax, [ebx + ecx]
mov ecx, 0x5a82799a
mov edi, edx
imul ecx
mov eax, dword [esp + 0x160]
mov ebx, edx
mov edx, dword [esp + 0x164]
add eax, dword [esp + 0x6c]
add edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x164]
add edi, edi
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x160]
sub ecx, dword [esp + 0x70]
sub edx, dword [esp + 0x6c]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x134]
add eax, edi
add ebx, ebx
sub edi, dword [esp + 0x134]
mov dword [esp + 0x130], eax
lea eax, [ebx + ebp]
sub ebx, ebp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x68]
lea ebp, [ecx + eax]
sub ecx, eax
mov eax, dword [esp + 0x64]
add eax, edx
sub edx, dword [esp + 0x64]
mov dword [esp + 0x128], eax
lea eax, [ecx + ebx]
sub ecx, ebx
mov dword [esi], eax
mov eax, edx
add edx, edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
sub eax, edi
mov ecx, dword [esp + 0x130]
mov edi, ebp
mov edx, dword [esp + 0x128]
mov ebx, dword [esp + 0x128]
mov dword [esi + 4], eax
sub edi, dword [esp + 0x130]
sub edx, dword [esp + 0x12c]
lea eax, [ebp + ecx]
add ebx, dword [esp + 0x12c]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x10], edi
lea ebx, [esi + 0x20]
mov ebp, dword [esp + 0x138]
mov edi, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
add ebp, edi
sub edi, dword [esp + 0x138]
mov dword [esp + 0x120], edi
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x124], ebp
lea edx, [edi + ecx]
mov ebp, dword [ebx + 8]
sub edi, ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x11c], edx
mov edx, dword [ebx + 0xc]
lea eax, [ecx + ebp]
sub ecx, ebp
mov dword [esp + 0x118], eax
mov eax, dword [ebx + 0x1c]
lea ebp, [eax + edx]
sub eax, edx
lea edx, [ecx + edi]
mov dword [esi + 0x20], edx
mov edx, eax
sub ecx, edi
sub edx, dword [esp + 0x120]
add eax, dword [esp + 0x120]
mov edi, dword [esp + 0x118]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
sub edi, dword [esp + 0x124]
mov ecx, dword [esp + 0x11c]
mov edx, ebp
mov eax, dword [esp + 0x118]
mov dword [ebx + 0x10], edi
sub edx, dword [esp + 0x11c]
add eax, dword [esp + 0x124]
lea edi, [ebp + ecx]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
lea ecx, [esi + 0x40]
mov ebp, dword [esi + 0x40]
mov ebx, dword [ecx + 0x20]
mov edx, dword [ecx + 4]
mov edi, ebp
mov eax, dword [ecx + 0x24]
sub edi, ebx
add ebx, ebp
mov ebp, 0x5a82799a
mov dword [ecx + 0x20], ebx
mov ebx, edx
sub ebx, eax
add eax, edx
mov dword [ecx + 0x24], eax
lea eax, [edi + ebx]
sub ebx, edi
imul ebp
mov eax, edx
add eax, eax
mov dword [esi + 0x40], eax
mov eax, 0x5a82799a
imul ebx
mov eax, dword [ecx + 0x28]
mov edi, dword [ecx + 8]
mov ebx, edx
mov ebp, eax
mov edx, dword [ecx + 0xc]
add ebx, ebx
sub ebp, edi
add eax, edi
mov dword [ecx + 4], ebx
mov dword [esp + 0x114], ebx
mov edi, edx
mov ebx, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov dword [esp + 0x5c], ebp
sub edi, ebx
add ebx, edx
mov dword [ecx + 0x2c], ebx
mov dword [ecx + 8], edi
mov dword [esp + 0x60], edi
mov dword [ecx + 0xc], ebp
mov ebx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x10]
mov edi, ebx
mov ebp, dword [ecx + 0x34]
mov edx, dword [ecx + 0x14]
sub edi, eax
add ebx, eax
mov dword [ecx + 0x30], ebx
mov ebx, ebp
mov eax, edi
sub ebx, edx
add ebp, edx
mov dword [ecx + 0x34], ebp
sub eax, ebx
mov ebp, 0x5a82799a
imul ebp
mov eax, edx
add eax, eax
mov dword [ecx + 0x10], eax
mov dword [esp + 0x110], eax
lea eax, [edi + ebx]
mov ebx, dword [ecx + 0x38]
imul ebp
mov eax, dword [ecx + 0x18]
mov edi, ebx
add ebx, eax
lea ebp, [edx + edx]
sub edi, eax
mov eax, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x1c]
mov dword [ecx + 0x38], ebx
mov ebx, eax
add eax, edx
sub ebx, edx
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x3c], eax
mov edx, dword [esp + 0x110]
mov eax, dword [esi + 0x40]
add edx, eax
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x110]
sub edx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0x114]
add edx, ebp
sub ebp, dword [esp + 0x114]
mov dword [esp + 0x104], edx
lea edx, [edi + eax]
sub edi, eax
mov eax, dword [esp + 0x5c]
add eax, ebx
sub ebx, dword [esp + 0x5c]
mov dword [esp + 0x100], eax
lea eax, [edi + ebp]
sub edi, ebp
mov dword [esi + 0x40], eax
mov eax, ebx
add ebx, dword [esp + 0x108]
sub eax, dword [esp + 0x108]
mov dword [ecx + 8], edi
mov ebp, edx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], ebx
mov edi, dword [esp + 0x100]
mov ebx, dword [esp + 0x100]
sub ebp, dword [esp + 0x10c]
sub edi, dword [esp + 0x104]
add edx, dword [esp + 0x10c]
add ebx, dword [esp + 0x104]
mov dword [ecx + 0x10], ebp
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x14], edi
lea ebx, [esi + 0x60]
mov ebp, dword [esi + 0x60]
mov edi, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
lea eax, [edi + ebp]
sub edi, ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0xf8], edi
mov edi, dword [ebx + 0x14]
mov dword [esp + 0xfc], eax
lea edx, [edi + ecx]
sub edi, ecx
mov ecx, dword [ebx + 0x18]
lea eax, [ecx + ebp]
mov dword [esp + 0xf4], edx
sub ecx, ebp
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xf0], eax
mov eax, dword [ebx + 0x1c]
lea ebp, [eax + edx]
sub eax, edx
lea edx, [ecx + edi]
mov dword [esi + 0x60], edx
sub ecx, edi
mov edx, eax
add eax, dword [esp + 0xf8]
mov dword [ebx + 8], ecx
mov edi, dword [esp + 0xf0]
mov dword [ebx + 0xc], eax
mov ecx, ebp
mov eax, dword [esp + 0xf0]
sub edx, dword [esp + 0xf8]
sub edi, dword [esp + 0xfc]
sub ecx, dword [esp + 0xf4]
add eax, dword [esp + 0xfc]
mov dword [ebx + 4], edx
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
mov esi, dword [esp + 0xf4]
add dword [esp + 0x74], 0x20
mov edi, dword [esp + 0x18c]
lea edx, [ebp + esi]
add dword [esp + 0x80], 0x60
cmp dword [esp + 0x74], edi
mov dword [ebx + 0x1c], edx
jl 0x5db33c
sar dword [esp + 0x1a8], 1
mov esi, dword [esp + 0x1b0]
cmp dword [esp + 0x180], 3
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], esi
lea ebx, [esi + eax*4]
mov dword [esp + 0xdc], 0xc69a60
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe0], ebx
jle 0x5dba82
mov ecx, dword [esp + 0x180]
sar ecx, 1
lea edi, [ecx*4 + 0xc6aa60]
mov dword [esp + 0xdc], edi
mov ebp, dword [esp + 0xdc]
mov edx, dword [esp + 0x180]
add ebp, 0x1000
shl edx, 2
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe8]
and edx, 0xf0
mov ebp, dword [esp + 0xe8]
add esi, 1
sar edx, 4
sar ecx, 8
and ebp, 0xf
movzx edi, byte [edx + 0xb40eec]
movzx ebx, byte [ebp + 0xb40eec]
mov dword [esp + 0x58], esi
shl edi, 4
movzx esi, byte [ecx + 0xb40eec]
shl ebx, 8
or esi, edi
movzx ecx, byte [esp + 0x7c]
mov edx, dword [esp + 0xec]
or esi, ebx
sub dword [esp + 0xe0], 0x10
mov eax, esi
sar esi, cl
xor eax, 0xfff
sar eax, cl
lea ecx, [edx + esi*4]
lea ebp, [edx + eax*4]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [esp + 0xd0], edi
mov ecx, dword [ebp]
add edi, esi
mov dword [esp + 0xcc], ebx
mov ebp, ebx
mov dword [esp + 0xd4], edi
mov edi, dword [esp + 0xdc]
sub ebp, ecx
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0xd4]
add ecx, dword [esp + 0xcc]
imul ebx
mov eax, dword [esp + 0xdc]
sub esi, dword [esp + 0xd0]
mov edi, edx
mov edx, dword [eax]
sar esi, 1
mov eax, edx
mov dword [esp + 0x20], edx
sar ecx, 1
imul ebp
mov eax, ebp
mov ebp, dword [esp + 0xdc]
add edi, edx
imul ebx
mov eax, dword [esp + 0xd4]
mov ebx, edx
imul dword [esp + 0x20]
add ebp, dword [esp + 0xc8]
sub ebx, edx
lea eax, [ecx + edi]
mov dword [esp + 0x54], ebp
lea edx, [esi + ebx]
mov ebp, dword [esp + 0xe4]
sub ecx, edi
mov dword [ebp], eax
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xe0]
sub ebx, esi
and edx, 0xf0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x58]
sar edx, 4
sar ecx, 8
add dword [esp + 0xe8], 2
movzx edi, byte [edx + 0xb40eec]
movzx esi, byte [ecx + 0xb40eec]
movzx ecx, byte [esp + 0x7c]
shl edi, 4
mov edx, dword [esp + 0xec]
or esi, edi
and dword [esp + 0x58], 0xf
mov ebp, dword [esp + 0x58]
movzx ebx, byte [ebp + 0xb40eec]
shl ebx, 8
or esi, ebx
mov eax, esi
sar esi, cl
xor eax, 0xfff
sar eax, cl
lea ecx, [edx + esi*4]
lea ebp, [edx + eax*4]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [esp + 0xc4], edi
mov ecx, dword [ebp]
add edi, esi
mov dword [esp + 0xc0], ebx
mov ebp, ebx
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x54]
sub ebp, ecx
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x50]
imul ebx
mov eax, dword [esp + 0x54]
mov edi, edx
mov edx, dword [eax]
mov eax, edx
mov dword [esp + 0x1c], edx
imul ebp
mov eax, ebp
add edi, edx
imul ebx
mov eax, dword [esp + 0x50]
mov ebx, edx
imul dword [esp + 0x1c]
sub ebx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x54]
add edx, dword [esp + 0xc8]
mov dword [esp + 8], eax
mov dword [esp + 0xdc], edx
add ecx, dword [esp + 0xc0]
sub esi, dword [esp + 0xc4]
sar ecx, 1
mov ebp, dword [esp + 0xe4]
sar esi, 1
lea eax, [ecx + edi]
sub ecx, edi
mov dword [ebp + 8], eax
lea eax, [esi + ebx]
sub ebx, esi
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0xe0]
add ebp, 0x10
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0xd8]
mov dword [eax], ecx
cmp edx, ebx
mov dword [esp + 0xe4], ebp
jb 0x5dbaa7
mov eax, dword [esp + 0x180]
shl eax, 2
mov dword [esp + 0xb0], eax
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe8]
and edx, 0xf0
mov ebp, dword [esp + 0xe8]
add esi, 1
sar edx, 4
sar ecx, 8
and ebp, 0xf
movzx edi, byte [edx + 0xb40eec]
movzx ebx, byte [ebp + 0xb40eec]
mov dword [esp + 0x48], esi
shl edi, 4
movzx esi, byte [ecx + 0xb40eec]
shl ebx, 8
or esi, edi
movzx ecx, byte [esp + 0x7c]
mov edx, dword [esp + 0xec]
or esi, ebx
sub dword [esp + 0xe0], 0x10
mov eax, esi
sar esi, cl
xor eax, 0xfff
sar eax, cl
lea ecx, [edx + esi*4]
lea ebp, [edx + eax*4]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [esp + 0xb8], edi
mov ecx, dword [ebp]
add edi, esi
mov dword [esp + 0xb4], ebx
mov ebp, ebx
mov dword [esp + 0xbc], edi
mov edi, dword [esp + 0xdc]
sub ebp, ecx
sub edi, dword [esp + 0xb0]
mov eax, dword [esp + 0xbc]
add ecx, dword [esp + 0xb4]
mov ebx, dword [edi]
mov dword [esp + 0x4c], edi
sub esi, dword [esp + 0xb8]
imul ebx
mov eax, dword [esp + 0x4c]
sar esi, 1
mov edi, edx
mov edx, dword [eax + 4]
sar ecx, 1
mov eax, edx
mov dword [esp + 0x18], edx
imul ebp
mov eax, ebp
mov ebp, dword [esp + 0xe4]
add edi, edx
imul ebx
mov eax, dword [esp + 0xbc]
mov ebx, edx
imul dword [esp + 0x18]
lea eax, [ecx + edi]
sub ebx, edx
mov dword [ebp], eax
sub ecx, edi
lea edx, [esi + ebx]
sub ebx, esi
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0xe0]
and edx, 0xf0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x48]
sar edx, 4
add dword [esp + 0xe8], 2
sar ecx, 8
movzx edi, byte [edx + 0xb40eec]
mov edx, dword [esp + 0xec]
movzx esi, byte [ecx + 0xb40eec]
shl edi, 4
movzx ecx, byte [esp + 0x7c]
or esi, edi
and dword [esp + 0x48], 0xf
mov ebp, dword [esp + 0x48]
movzx ebx, byte [ebp + 0xb40eec]
shl ebx, 8
or esi, ebx
mov eax, esi
sar esi, cl
xor eax, 0xfff
sar eax, cl
lea ecx, [edx + esi*4]
lea ebp, [edx + eax*4]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [esp + 0xac], edi
mov ecx, dword [ebp]
add edi, esi
mov dword [esp + 0xa8], ebx
mov ebp, ebx
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x4c]
sub ebp, ecx
sub edi, dword [esp + 0xb0]
mov eax, dword [esp + 0x44]
mov ebx, dword [edi]
mov dword [esp + 0xdc], edi
imul ebx
mov eax, dword [esp + 0xdc]
mov edi, edx
mov edx, dword [eax + 4]
mov eax, edx
mov dword [esp + 0x14], edx
imul ebp
mov eax, ebp
add edi, edx
imul ebx
mov eax, dword [esp + 0x44]
mov ebx, edx
imul dword [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
add ecx, dword [esp + 0xa8]
sub esi, dword [esp + 0xac]
sub ebx, edx
sar ecx, 1
sar esi, 1
mov edx, dword [esp + 0xe4]
lea ebp, [ecx + edi]
lea eax, [esi + ebx]
mov dword [edx + 8], ebp
mov ebp, dword [esp + 0xe0]
mov dword [edx + 0xc], eax
add edx, 0x10
sub ecx, edi
sub ebx, esi
cmp edx, ebp
mov dword [ebp], ecx
mov dword [ebp + 4], ebx
mov dword [esp + 0xe4], edx
jb 0x5dbcf2
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x1b0]
mov edx, dword [esp + 0x180]
lea ebx, [eax + ebp*4]
sar edx, 2
mov ebp, eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebx
je 0x5dc122
cmp edx, 1
je 0x5dc33b
cmp edx, 3
mov ebx, 0xc69a60
jle 0x5dbf70
mov edi, dword [esp + 0x180]
sar edi, 3
lea ebx, [edi*4 + 0xc6aa60]
lea esi, [edx*4]
mov eax, dword [ebx]
sub dword [esp + 0xa4], 0x10
imul dword [ebp]
mov eax, dword [ebp + 4]
neg eax
mov ecx, edx
imul dword [ebx + 4]
mov eax, edx
mov edx, dword [esp + 0xa4]
add eax, eax
lea edi, [eax + ecx*2]
mov dword [edx + 0xc], edi
mov eax, dword [ebp + 4]
neg eax
imul dword [ebx]
mov eax, dword [ebx + 4]
add ebx, esi
mov edi, edx
imul dword [ebp]
mov eax, dword [esp + 0xa0]
sub edi, edx
add edi, edi
mov dword [eax], edi
mov eax, dword [ebx]
imul dword [ebp + 8]
mov eax, dword [ebp + 0xc]
neg eax
mov edi, edx
imul dword [ebx + 4]
mov ecx, edx
add ecx, ecx
lea edx, [ecx + edi*2]
mov edi, dword [esp + 0xa4]
mov dword [edi + 8], edx
mov eax, dword [ebp + 0xc]
neg eax
imul dword [ebx]
mov eax, dword [ebx + 4]
add ebx, esi
mov ecx, edx
imul dword [ebp + 8]
sub ecx, edx
mov edx, dword [esp + 0xa0]
add ecx, ecx
mov dword [edx + 4], ecx
mov eax, dword [ebx]
imul dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
neg eax
mov ecx, edx
imul dword [ebx + 4]
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi + 4], edx
mov eax, dword [ebp + 0x14]
neg eax
imul dword [ebx]
mov eax, dword [ebx + 4]
add ebx, esi
mov ecx, edx
imul dword [ebp + 0x10]
sub ecx, edx
mov edx, dword [esp + 0xa0]
add ecx, ecx
mov dword [edx + 8], ecx
mov eax, dword [ebx]
imul dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
neg eax
mov ecx, edx
imul dword [ebx + 4]
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov dword [edi], edx
mov eax, dword [ebp + 0x1c]
neg eax
imul dword [ebx]
mov eax, dword [ebx + 4]
add ebx, esi
mov ecx, edx
imul dword [ebp + 0x18]
add ebp, 0x20
sub ecx, edx
mov edx, dword [esp + 0xa0]
add ecx, ecx
mov dword [edx + 0xc], ecx
add edx, 0x10
cmp ebp, dword [esp + 0xa4]
mov dword [esp + 0xa0], edx
jb 0x5dbf77
mov ebp, dword [esp + 0x1b0]
mov edx, dword [esp + 0x188]
mov eax, dword [esp + 0x84]
lea ebx, [ebp + edx*4]
lea ecx, [ebp + eax*4]
mov edx, ebx
sub ecx, 0x10
sub ebx, 0x10
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0xc], eax
neg eax
mov dword [edx], eax
mov ebp, dword [ecx + 8]
mov dword [ebx + 8], ebp
neg ebp
mov dword [edx + 4], ebp
mov esi, dword [ecx + 4]
mov dword [ebx + 4], esi
neg esi
mov dword [edx + 8], esi
mov edi, dword [ecx]
mov dword [ebx], edi
neg edi
mov dword [edx + 0xc], edi
add edx, 0x10
cmp edx, ecx
jb 0x5dc0a4
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0x1b0]
mov esi, dword [esp + 0x18c]
lea ecx, [edi + ebx*4]
lea ebx, [edi + esi*4]
mov edx, ecx
sub edx, 0x10
mov esi, dword [ecx + 0xc]
mov dword [edx], esi
mov edi, dword [ecx + 8]
mov dword [edx + 4], edi
mov eax, dword [ecx + 4]
mov dword [edx + 8], eax
mov ebp, dword [ecx]
add ecx, 0x10
cmp edx, ebx
mov dword [edx + 0xc], ebp
ja 0x5dc0f7
add esp, 0x194
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [0xc6aa60]
mov edi, dword [0xc6aa64]
mov dword [esp + 0x2c], 0xc69a60
mov dword [esp + 0x98], esi
mov dword [esp + 0x24], 0xc6aa68
mov dword [esp + 0x94], edi
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x98]
mov esi, dword [esi]
mov edi, dword [ebx + 4]
sub dword [esp + 0xa4], 0x10
mov dword [esp + 0x8c], esi
sub esi, dword [esp + 0x98]
mov ebx, edi
sar esi, 2
sub ebx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
add eax, esi
sar ebx, 2
mov edi, dword [esp + 0x94]
mov dword [esp + 0x28], eax
imul dword [ebp]
mov eax, dword [ebp + 4]
add edi, ebx
neg eax
mov ecx, edx
imul edi
add dword [esp + 0x2c], 8
mov eax, edx
mov edx, dword [esp + 0xa4]
add eax, eax
lea ecx, [eax + ecx*2]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 4]
neg eax
imul dword [esp + 0x28]
mov eax, dword [ebp]
mov ecx, edx
imul edi
mov edi, dword [esp + 0xa0]
sub ecx, edx
mov edx, dword [esp + 0x88]
add ecx, ecx
sub edx, ebx
mov dword [edi], ecx
mov ecx, dword [esp + 0x8c]
mov ebx, edx
sub ecx, esi
mov eax, dword [ebp + 8]
imul ecx
mov eax, dword [ebp + 0xc]
mov esi, ecx
neg eax
mov edi, edx
imul ebx
mov eax, edx
mov edx, dword [esp + 0xa4]
add eax, eax
lea ecx, [eax + edi*2]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 0xc]
neg eax
imul esi
mov eax, dword [ebp + 8]
mov ecx, edx
imul ebx
mov eax, dword [esp + 0xa0]
sub ecx, edx
add ecx, ecx
mov dword [eax + 4], ecx
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x8c]
mov edx, dword [esi]
mov edi, dword [esi + 4]
add esi, 8
mov dword [esp + 0x98], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x94], edi
mov esi, dword [esp + 0x98]
sub esi, dword [esp + 0x8c]
sar esi, 2
add ebx, esi
mov dword [esp + 0x90], ebx
mov ebx, edi
mov edi, dword [esp + 0x88]
sub ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
sar ebx, 2
imul dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add edi, ebx
neg eax
mov ecx, edx
imul edi
mov eax, edx
mov edx, dword [esp + 0xa4]
add eax, eax
lea ecx, [eax + ecx*2]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0x14]
neg eax
imul dword [esp + 0x90]
mov eax, dword [ebp + 0x10]
mov ecx, edx
imul edi
mov edi, dword [esp + 0xa0]
sub ecx, edx
mov edx, dword [esp + 0x94]
add ecx, ecx
sub edx, ebx
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x98]
mov ebx, edx
sub ecx, esi
mov eax, dword [ebp + 0x18]
imul ecx
mov esi, ecx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xc], edx
neg eax
mov edi, edx
imul ebx
mov eax, edx
mov edx, dword [esp + 0xa4]
add eax, eax
lea ecx, [eax + edi*2]
mov dword [edx], ecx
mov eax, dword [ebp + 0x1c]
neg eax
imul esi
mov eax, dword [ebp + 0x18]
add ebp, 0x20
mov ecx, edx
imul ebx
mov ebx, dword [esp + 0xa0]
sub ecx, edx
add ecx, ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
cmp ebp, dword [esp + 0xa4]
mov dword [esp + 0xa0], ebx
jb 0x5dc14c
jmp 0x5dc085
mov esi, dword [0xc6aa60]
mov ebx, dword [0xc6aa64]
mov dword [esp + 0x184], 0xc69a60
sar esi, 1
sar ebx, 1
mov dword [esp + 0x40], 0xc6aa68
mov ecx, dword [esp + 0x184]
mov eax, dword [ebp]
sub dword [esp + 0xa4], 0x10
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
sar edi, 1
sar edx, 1
add esi, edi
add ebx, edx
mov dword [esp + 0x9c], edx
imul esi
mov eax, dword [ebp + 4]
neg eax
mov ecx, edx
imul ebx
mov eax, edx
mov edx, dword [esp + 0xa4]
add eax, eax
lea ecx, [eax + ecx*2]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 4]
neg eax
imul esi
mov eax, dword [ebp]
mov esi, dword [esp + 0xa0]
mov ecx, edx
imul ebx
sub ecx, edx
mov edx, dword [esp + 0x40]
add ecx, ecx
mov dword [esi], ecx
mov ebx, dword [edx]
mov esi, dword [edx + 4]
sar ebx, 1
sar esi, 1
lea eax, [edi + ebx]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
imul dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add edi, esi
neg eax
mov ecx, edx
imul edi
mov eax, edx
mov edx, dword [esp + 0xa4]
add eax, eax
lea ecx, [eax + ecx*2]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 0xc]
neg eax
imul dword [esp + 0x3c]
mov eax, dword [ebp + 8]
mov ecx, edx
imul edi
mov edi, dword [esp + 0xa0]
sub ecx, edx
add ecx, ecx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x184]
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
add ecx, 0x10
sar edi, 1
sar edx, 1
lea eax, [ebx + edi]
mov dword [esp + 0x38], edx
lea ebx, [esi + edx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x184], ecx
imul dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, edx
neg eax
imul ebx
mov eax, edx
mov edx, dword [esp + 0xa4]
add eax, eax
lea esi, [eax + ecx*2]
mov dword [edx + 4], esi
mov esi, dword [esp + 0xa0]
mov eax, dword [ebp + 0x14]
neg eax
imul dword [esp + 0x34]
mov eax, dword [ebp + 0x10]
mov ecx, edx
imul ebx
sub ecx, edx
mov edx, dword [esp + 0x40]
add ecx, ecx
mov dword [esi + 8], ecx
mov esi, dword [edx + 8]
mov ebx, dword [edx + 0xc]
add edx, 0x10
sar esi, 1
sar ebx, 1
mov dword [esp + 0x40], edx
lea eax, [edi + esi]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], eax
imul dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
add edi, ebx
neg eax
mov ecx, edx
imul edi
mov eax, edx
add eax, eax
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0xa4]
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
neg eax
imul dword [esp + 0x30]
mov eax, dword [ebp + 0x18]
add ebp, 0x20
mov ecx, edx
imul edi
sub ecx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa0]
add ecx, ecx
mov dword [esp + 8], eax
mov dword [edx + 0xc], ecx
add edx, 0x10
cmp ebp, dword [esp + 0xa4]
mov dword [esp + 0xa0], edx
jb 0x5dc35e
jmp 0x5dc085