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

Disassembly:
push ebp
mov ebp, edx
push edi
push esi
push ebx
sub esp, 0x1bc
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1d0]
mov edi, dword [esp + 0x1dc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 0x78], edi
mov esi, dword [esp + 0x1d4]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x28], 0
cmp ebx, 6
ja 0x660f154b
mov eax, dword [eax + 0x10]
imul eax, dword [ebx*4 + 0x661e221c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 8]
test edx, edx
jne 0x660f15ee
mov eax, dword [esp + 0x40]
imul eax, dword [esp + 0x28]
lea edx, [eax + 7]
mov dword [esp + 0x24], eax
mov edi, edx
mov dword [esp + 0x2c], edx
shr edi, 3
add edi, 1
imul edi, esi
mov dword [ebp], edi
mov dword [esp], edi
call sub.msvcrt.dll_malloc
mov edx, dword [esp + 0x6c]
test eax, eax
mov dword [edx], eax
mov edx, dword [esp + 0x2c]
jne 0x660f159a
test edi, edi
jne 0x660f1d31
cmp dword [esp + 0x28], 7
ja 0x660f15b0
and edx, 0xfffffff8
mov ebp, edx
cmp dword [esp + 0x24], edx
jne 0x660f1696
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1dc], edi
mov edi, dword [esp + 0x70]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1d8], edx
mov edx, dword [esp + 0x38]
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.660f0c90
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x9c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x130]
mov dword [esp + 4], eax
lea eax, [esp + 0x110]
mov dword [esp], eax
lea eax, [esp + 0x80]
call fcn.660e7fd0
mov eax, dword [esp + 0x10c]
mov dword [ebp], eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edi, dword [esp + 0x6c]
mov dword [edi], eax
test eax, eax
je 0x660f1d19
mov ebx, dword [esp + 0x14c]
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
mov dword [esp + 0x34], eax
test eax, eax
jne 0x660f1700
test ebx, ebx
je 0x660f1700
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1d0], eax
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.661273a8
sub edi, esi
mov dword [esp], edi
call sub.msvcrt.dll_malloc
mov ebx, eax
test eax, eax
je 0x660f16ea
mov edx, dword [esp + 0x24]
mov dword [esp + 4], esi
mov ecx, ebp
mov dword [esp], edx
mov edx, dword [esp + 0x38]
call fcn.660eac10
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
mov edx, ebx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
call fcn.660f0c90
mov dword [esp + 0x1d0], ebx
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.661273a8
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x150]
lea edx, [esp + 0xd4]
mov dword [esp + 8], eax
lea eax, [esp + 0x190]
mov dword [esp + 4], eax
lea eax, [esp + 0x170]
mov dword [esp], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x10], edi
call fcn.660e7fd0
cmp edi, 7
jbe 0x660f195c
mov dword [esp + 0x44], 0
shr edi, 3
mov eax, dword [esp + 0x44]
mov eax, dword [esp + eax*4 + 0xd4]
mov dword [esp + 0x48], eax
test eax, eax
je 0x660f1842
mov eax, dword [esp + 0x44]
mov esi, dword [esp + eax*4 + 0xb8]
mov dword [esp + 0x24], esi
test esi, esi
je 0x660f1842
imul esi, edi
mov dword [esp + 0x3c], 0
mov ebp, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x4c], esi
mov esi, dword [eax*4 + 0x661e2270]
mov dword [esp + 0x54], esi
mov esi, dword [eax*4 + 0x661e228c]
mov dword [esp + 0x50], esi
mov esi, dword [eax*4 + 0x661e2254]
imul esi, edi
mov dword [esp + 0x2c], esi
lea esi, [esi]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
xor edi, edi
mov esi, dword [esp + 0x3c]
imul ebx, dword [eax*4 + 0x661e2238]
add ebx, dword [esp + 0x54]
imul ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x50]
imul ebx, ebp
add ebx, dword [esp + 0x38]
add esi, dword [esp + eax*4 + 0x190]
mov eax, ebx
add esi, dword [esp + 0x34]
mov ebx, ebp
mov ebp, eax
lea esi, [esi]
nop
mov dword [esp + 4], ebp
add edi, 1
mov dword [esp], esi
add esi, ebx
mov dword [esp + 8], ebx
call sub.msvcrt.dll_memcpy
add ebp, dword [esp + 0x2c]
cmp dword [esp + 0x24], edi
jne 0x660f1808
add dword [esp + 0x30], 1
mov edi, dword [esp + 0x4c]
mov ebp, ebx
add dword [esp + 0x3c], edi
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x48], eax
jne 0x660f17c8
mov edi, ebx
add dword [esp + 0x44], 1
mov eax, dword [esp + 0x44]
cmp eax, 7
jne 0x660f1757
mov edi, dword [esp + 0x70]
xor ebx, ebx
jmp 0x660f1907
mov eax, dword [esp + ebx*4 + 0x114]
mov dword [esp + 0x24], eax
sub eax, edx
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x660f167c
mov eax, dword [esp + ebx*4 + 0x80]
mov edx, dword [esp + 0x34]
add edx, dword [esp + ebx*4 + 0x130]
imul eax, ebp
mov ebp, dword [esp + ebx*4 + 0x9c]
mov dword [esp + 4], ebp
mov dword [esp], eax
lea ecx, [eax + 7]
mov eax, esi
and ecx, 0xfffffff8
call fcn.660eac10
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + ebx*4 + 0xf0]
mov ecx, dword [esp + ebx*4 + 0x80]
add eax, dword [edx]
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov edx, dword [edi + 0x10]
mov dword [esp + 8], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 4], edx
mov edx, dword [esp + ebx*4 + 0x9c]
mov dword [esp], edx
mov edx, esi
call fcn.660f0c90
mov dword [esp], esi
mov ebp, eax
call fcn.661273a8
test ebp, ebp
jne 0x660f167c
add ebx, 1
cmp ebx, 7
je 0x660f167c
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + ebx*4 + 0x110]
cmp ebp, 7
jbe 0x660f185f
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + ebx*4 + 0xf0]
mov ecx, dword [esp + ebx*4 + 0x80]
add edx, dword [esp + 0x34]
add eax, dword [esi]
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], esi
mov esi, dword [edi + 0x10]
mov dword [esp + 8], esi
mov esi, dword [edi + 0xc]
mov dword [esp + 4], esi
mov esi, dword [esp + ebx*4 + 0x9c]
mov dword [esp], esi
call fcn.660f0c90
mov ebp, eax
jmp 0x660f18f3
mov eax, dword [esp + 0x40]
imul eax, dword [esp + 0x28]
mov dword [esp + 0x74], 0
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x74]
mov eax, dword [esp + esi*4 + 0xb8]
mov dword [esp + 0x3c], eax
imul eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + esi*4 + 0xd4]
mov dword [esp + 0x64], eax
test eax, eax
je 0x660f1d02
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x660f1d02
mov eax, dword [esp + 0x28]
test eax, eax
je 0x660f1d02
mov edi, dword [esi*4 + 0x661e2270]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], edi
mov edi, dword [esi*4 + 0x661e2238]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + esi*4 + 0x190]
mov dword [esp + 0x24], edi
shl edi, 3
mov dword [esp + 0x60], edi
mov edi, esi
mov esi, dword [esi*4 + 0x661e2254]
imul esi, eax
imul eax, dword [edi*4 + 0x661e228c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x68], eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x24], 0
imul eax, dword [esp + 0x44]
add eax, dword [esp + 0x58]
imul eax, dword [esp + 0x54]
add eax, dword [esp + 0x68]
mov edi, eax
add esi, dword [esp + 0x48]
not edi
mov dword [esp + 0x2c], edi
mov edi, esi
not edi
mov dword [esp + 0x30], edi
lea esi, [esi]
lea esi, [esi]
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov ebx, 1
mov edx, esi
shr ebp, 3
shr edx, 3
add edx, dword [esp + 0x34]
lea edi, [eax + 1]
and ecx, 7
shl ebx, cl
mov ecx, ebp
mov ebp, dword [esp + 0x38]
movzx ebp, byte [ebp + ecx]
mov ecx, dword [esp + 0x2c]
and ecx, 7
sar ebp, cl
mov ecx, ebp
movzx ebp, byte [edx]
or ebp, ebx
not ebx
and bl, byte [edx]
and ecx, 1
cmovne ebx, ebp
cmp dword [esp + 0x28], 1
mov byte [edx], bl
lea edx, [esi + 1]
je 0x660f1cc0
mov ecx, dword [esp + 0x30]
mov ebx, 1
shr edi, 3
lea ebp, [eax + 2]
shr edx, 3
add edx, dword [esp + 0x34]
sub ecx, 1
and ecx, 7
shl ebx, cl
mov ecx, dword [esp + 0x38]
movzx edi, byte [ecx + edi]
mov ecx, dword [esp + 0x2c]
sub ecx, 1
and ecx, 7
sar edi, cl
mov ecx, edi
movzx edi, byte [edx]
or edi, ebx
not ebx
and bl, byte [edx]
and ecx, 1
cmovne ebx, edi
cmp dword [esp + 0x28], 2
mov byte [edx], bl
lea edx, [esi + 2]
je 0x660f1cc0
mov ecx, dword [esp + 0x30]
lea edi, [eax + 3]
shr ebp, 3
shr edx, 3
mov dword [esp + 0x4c], edi
mov edi, 1
add edx, dword [esp + 0x34]
sub ecx, 2
and ecx, 7
shl edi, cl
mov ebx, edi
mov edi, dword [esp + 0x38]
movzx edi, byte [edi + ebp]
mov ebp, dword [esp + 0x2c]
lea ecx, [ebp - 2]
lea ebp, [esi + 3]
and ecx, 7
sar edi, cl
mov ecx, edi
movzx edi, byte [edx]
or edi, ebx
not ebx
and bl, byte [edx]
and ecx, 1
cmovne ebx, edi
cmp dword [esp + 0x28], 3
mov byte [edx], bl
je 0x660f1cc0
mov ecx, dword [esp + 0x30]
lea edx, [eax + 4]
mov ebx, dword [esp + 0x38]
shr ebp, 3
mov dword [esp + 0x7c], edx
mov edx, 1
add ebp, dword [esp + 0x34]
sub ecx, 3
and ecx, 7
shl edx, cl
mov edi, edx
mov edx, dword [esp + 0x4c]
shr edx, 3
movzx edx, byte [ebx + edx]
mov ebx, dword [esp + 0x2c]
lea ecx, [ebx - 3]
mov ebx, edi
or bl, byte [ebp]
and ecx, 7
sar edx, cl
mov ecx, edx
mov edx, edi
not edx
and dl, byte [ebp]
and ecx, 1
cmovne edx, ebx
cmp dword [esp + 0x28], 4
mov byte [ebp], dl
lea edx, [esi + 4]
je 0x660f1cc0
mov ebp, dword [esp + 0x34]
shr edx, 3
lea edi, [eax + 5]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x30]
lea edi, [ebp + edx]
mov edx, dword [esp + 0x7c]
mov ebp, 1
sub ecx, 4
shr edx, 3
and ecx, 7
movzx edx, byte [ebx + edx]
mov ebx, dword [esp + 0x2c]
shl ebp, cl
lea ecx, [ebx - 4]
mov ebx, ebp
or bl, byte [edi]
and ecx, 7
sar edx, cl
mov ecx, edx
mov edx, ebp
not edx
and dl, byte [edi]
and ecx, 1
cmovne edx, ebx
cmp dword [esp + 0x28], 5
mov byte [edi], dl
lea edi, [esi + 5]
je 0x660f1cc0
mov ecx, dword [esp + 0x30]
mov edx, 1
shr edi, 3
add edi, dword [esp + 0x34]
lea ebx, [eax + 6]
sub ecx, 5
and ecx, 7
shl edx, cl
mov ecx, dword [esp + 0x38]
mov ebp, edx
mov edx, dword [esp + 0x4c]
shr edx, 3
movzx edx, byte [ecx + edx]
mov ecx, dword [esp + 0x2c]
sub ecx, 5
and ecx, 7
sar edx, cl
mov ecx, edx
mov edx, ebp
or dl, byte [edi]
mov byte [esp + 0x4c], dl
mov edx, ebp
movzx ebp, byte [esp + 0x4c]
not edx
and dl, byte [edi]
and ecx, 1
cmovne edx, ebp
cmp dword [esp + 0x28], 6
mov byte [edi], dl
lea edi, [esi + 6]
je 0x660f1cc0
mov ecx, dword [esp + 0x30]
mov edx, 1
shr edi, 3
add edi, dword [esp + 0x34]
sub ecx, 6
and ecx, 7
shl edx, cl
mov ecx, dword [esp + 0x2c]
mov ebp, edx
mov edx, ebx
mov ebx, dword [esp + 0x38]
shr edx, 3
sub ecx, 6
movzx edx, byte [ebx + edx]
and ecx, 7
sar edx, cl
mov ecx, edx
mov edx, ebp
not edx
and dl, byte [edi]
mov ebx, edx
mov edx, ebp
or dl, byte [edi]
and ecx, 1
cmove edx, ebx
mov byte [edi], dl
lea esi, [esi]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x24], 1
mov edi, dword [esp + 0x24]
sub dword [esp + 0x2c], ebx
add eax, ebx
add esi, ecx
sub dword [esp + 0x30], ecx
cmp dword [esp + 0x3c], edi
jne 0x660f1a50
add dword [esp + 0x44], 1
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
add dword [esp + 0x48], edi
cmp eax, dword [esp + 0x64]
jne 0x660f1a10
add dword [esp + 0x74], 1
mov eax, dword [esp + 0x74]
cmp eax, 7
jne 0x660f1971
jmp 0x660f1854
mov eax, dword [esp + 0x14c]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 0x34], eax
jmp 0x660f167c
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
ret