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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1ac
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0x18], edx
mov ebp, dword [esp + 0x1c0]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x50], ecx
cmp edx, 6
jbe 0x660ea45e
mov ebx, 0x1f
add esp, 0x1ac
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, ecx
mov ecx, dword [eax + 0x10]
imul ecx, dword [edx*4 + 0x661e221c]
mov edi, ecx
test ecx, ecx
je 0x660ea44c
mov eax, dword [eax + 8]
test eax, eax
jne 0x660ea4bd
cmp ecx, 7
ja 0x660ea494
mov ecx, ebx
imul ecx, edi
lea esi, [ecx + 7]
mov dword [esp + 0x14], ecx
and esi, 0xfffffff8
cmp ecx, esi
jne 0x660eab20
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebp
mov eax, dword [esp + 0x1c]
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.660e8600
lea eax, [esp + 0x12c]
mov dword [esp + 0x10], ecx
xor esi, esi
lea ecx, [esp + 0xec]
mov dword [esp + 4], eax
lea eax, [esp + 0x10c]
lea edx, [esp + 0x98]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
call fcn.660e7fd0
cmp edi, 7
jbe 0x660ea74f
mov edx, dword [esp + esi*4 + 0xec]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + esi*4 + 0x7c]
add edx, eax
add eax, dword [esp + esi*4 + 0x10c]
mov dword [esp + 4], edi
mov ebx, dword [esp + esi*4 + 0x98]
mov dword [esp], ebx
call fcn.660e8600
mov ebx, eax
test eax, eax
jne 0x660ea451
add esi, 1
cmp esi, 7
jne 0x660ea500
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], edi
lea ebx, [esp + 0xb4]
lea edx, [esp + 0xd0]
mov dword [esp + 0xc], ebp
lea ecx, [esp + 0x14c]
mov ebp, edi
mov dword [esp + 8], eax
lea eax, [esp + 0x18c]
shr ebp, 3
mov dword [esp + 0x78], eax
mov dword [esp + 4], eax
lea eax, [esp + 0x16c]
mov dword [esp], eax
mov eax, ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], ebx
call fcn.660e7fd0
mov eax, edi
mov dword [esp + 0x6c], 0
shr eax, 5
shl eax, 2
lea edi, [eax + 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edi
lea edi, [eax + 2]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x18]
add edi, eax
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov edi, dword [edi + eax*4]
mov dword [esp + 0x54], edi
test edi, edi
je 0x660ea72e
mov edi, dword [esp + 0x70]
mov edi, dword [edi + eax*4]
mov dword [esp + 0x2c], edi
test edi, edi
je 0x660ea72e
imul edi, ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x78]
mov edi, dword [edi + eax*4]
mov dword [esp + 0x58], edi
mov edi, dword [eax*4 + 0x661e2270]
mov dword [esp + 0x5c], edi
mov edi, dword [eax*4 + 0x661e2238]
mov dword [esp + 0x60], edi
mov edi, dword [eax*4 + 0x661e228c]
mov dword [esp + 0x64], edi
mov edi, dword [eax*4 + 0x661e2254]
lea eax, [ebp - 1]
mov dword [esp + 0x34], eax
imul edi, ebp
mov dword [esp + 0x30], edi
mov edi, ebp
nop
mov ebx, dword [esp + 0x60]
imul ebx, dword [esp + 0x44]
xor ebp, ebp
add ebx, dword [esp + 0x5c]
imul ebx, dword [esp + 0x50]
add ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
imul ebx, edi
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x18]
add ebx, eax
add eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
lea esi, [esi]
mov eax, ecx
sub eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, ebx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, ebx
or eax, ecx
test al, 3
sete dl
cmp dword [esp + 0x34], 3
seta al
test dl, al
je 0x660eab60
lea edx, [ecx + 1]
mov eax, ebx
sub eax, edx
cmp eax, 2
jbe 0x660eab60
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov edx, ecx
lea esi, [ebx + eax]
mov eax, ebx
mov ecx, dword [edx]
add eax, 4
add edx, 4
mov dword [eax - 4], ecx
cmp eax, esi
jne 0x660ea6c4
mov ecx, dword [esp + 0x28]
add ecx, edi
cmp edi, dword [esp + 0x24]
je 0x660ea700
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
movzx eax, byte [eax + edx]
mov edx, dword [esp + 0x3c]
mov byte [edx + esi], al
cmp edi, dword [esp + 0x38]
ja 0x660eab80
add ebp, 1
add ebx, dword [esp + 0x30]
cmp ebp, dword [esp + 0x2c]
jne 0x660ea678
add dword [esp + 0x44], 1
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x44]
add dword [esp + 0x4c], edx
cmp dword [esp + 0x54], eax
jne 0x660ea640
mov ebp, edi
add dword [esp + 0x6c], 1
mov eax, dword [esp + 0x6c]
cmp eax, 7
jne 0x660ea5bb
xor ebx, ebx
add esp, 0x1ac
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + esi*4 + 0xec]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + esi*4 + 0x7c]
add edx, eax
add eax, dword [esp + esi*4 + 0x10c]
mov dword [esp + 4], edi
mov ebx, dword [esp + esi*4 + 0x98]
mov dword [esp], ebx
call fcn.660e8600
mov ebx, eax
test eax, eax
jne 0x660ea451
mov ecx, dword [esp + esi*4 + 0x7c]
mov edx, dword [esp + esi*4 + 0x10c]
mov eax, dword [esp + 0x18]
imul ecx, edi
add edx, eax
add eax, dword [esp + esi*4 + 0x12c]
mov ebx, eax
mov eax, dword [esp + esi*4 + 0x98]
add esi, 1
mov dword [esp + 4], eax
lea eax, [ecx + 7]
and eax, 0xfffffff8
mov dword [esp], eax
mov eax, ebx
call fcn.660ea360
cmp esi, 7
jne 0x660ea74f
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0x18c]
mov dword [esp + 0x10], edi
lea esi, [esp + 0xb4]
mov dword [esp + 0x78], eax
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x14c]
mov dword [esp + 4], eax
lea eax, [esp + 0x16c]
mov dword [esp + 8], ebx
imul ebx, edi
mov dword [esp], eax
mov eax, esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], esi
call fcn.660e7fd0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x44], ebx
mov ebx, edi
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
mov edi, dword [edi + eax*4]
mov edx, edi
mov dword [esp + 0x28], edi
imul edx, ebx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x74]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x660eabeb
test edi, edi
je 0x660eabeb
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov edi, dword [edi + eax*4]
mov dword [esp + 0x14], edi
shl edi, 3
mov dword [esp + 0x48], edi
mov edi, dword [eax*4 + 0x661e2270]
mov dword [esp + 0x4c], edi
mov edi, dword [eax*4 + 0x661e2238]
mov dword [esp + 0x50], edi
mov edi, dword [eax*4 + 0x661e2254]
imul edi, ebx
mov dword [esp + 0x2c], edi
mov edi, dword [eax*4 + 0x661e228c]
imul edi, ebx
lea eax, [edi + 5]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x50]
imul ecx, dword [esp + 0x30]
xor esi, esi
add ecx, dword [esp + 0x4c]
imul ecx, dword [esp + 0x44]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x38]
lea edx, [edi + ecx]
mov ebp, eax
add ecx, dword [esp + 0x54]
not ebp
not ecx
mov dword [esp + 0x20], ecx
mov edi, ebp
jmp 0x660ea911
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x14], 1
add eax, ebx
sub edi, ebx
sub dword [esp + 0x20], ecx
mov esi, dword [esp + 0x14]
add edx, ecx
cmp dword [esp + 0x28], esi
je 0x660eabd0
lea esi, [edx - 5]
lea ecx, [eax + 1]
mov dword [esp + 0x24], ecx
mov ebp, esi
mov ecx, dword [esp + 0x18]
mov esi, eax
shr esi, 3
movzx ecx, byte [ecx + esi]
mov esi, edi
and esi, 7
bt ecx, esi
jae 0x660ea951
mov ecx, dword [esp + 0x20]
mov esi, ebp
mov ebp, 1
shr esi, 3
and ecx, 7
shl ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
or byte [ebp + esi], cl
lea ecx, [edx - 4]
cmp ebx, 1
je 0x660ea8f0
lea esi, [eax + 2]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x24]
shr esi, 3
movzx ebp, byte [ebp + esi]
lea esi, [edi - 1]
and esi, 7
bt ebp, esi
jae 0x660ea99b
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebp, 1
shr esi, 3
sub ecx, 1
and ecx, 7
shl ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
or byte [ebp + esi], cl
lea ecx, [edx - 3]
cmp ebx, 2
je 0x660ea8f0
lea esi, [eax + 3]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x34]
shr esi, 3
movzx ebp, byte [ebp + esi]
lea esi, [edi - 2]
and esi, 7
bt ebp, esi
jae 0x660ea9e9
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebp, 1
shr esi, 3
sub ecx, 2
and ecx, 7
shl ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
or byte [ebp + esi], cl
lea esi, [edx - 2]
cmp ebx, 3
je 0x660ea8f0
lea ecx, [eax + 4]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
shr ecx, 3
movzx ebp, byte [ebp + ecx]
lea ecx, [edi - 3]
and ecx, 7
bt ebp, ecx
jae 0x660eaa35
mov ecx, dword [esp + 0x20]
mov ebp, 1
shr esi, 3
sub ecx, 3
and ecx, 7
shl ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
or byte [ebp + esi], cl
lea esi, [edx - 1]
cmp ebx, 4
je 0x660ea8f0
lea ecx, [eax + 5]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
shr ecx, 3
movzx ebp, byte [ebp + ecx]
lea ecx, [edi - 4]
and ecx, 7
bt ebp, ecx
jae 0x660eaa81
mov ecx, dword [esp + 0x20]
mov ebp, 1
shr esi, 3
sub ecx, 4
and ecx, 7
shl ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
or byte [ebp + esi], cl
cmp ebx, 5
je 0x660ea8f0
lea esi, [eax + 6]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x18]
shr ecx, 3
movzx esi, byte [esi + ecx]
lea ecx, [edi - 5]
and ecx, 7
bt esi, ecx
jae 0x660eaacb
mov ecx, dword [esp + 0x20]
mov ebp, 1
mov esi, edx
shr esi, 3
sub ecx, 5
and ecx, 7
shl ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
or byte [ebp + esi], cl
lea esi, [edx + 1]
cmp ebx, 6
je 0x660ea8f0
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
shr ecx, 3
movzx ebp, byte [ebp + ecx]
lea ecx, [edi - 6]
and ecx, 7
bt ebp, ecx
jae 0x660ea8f0
mov ecx, dword [esp + 0x20]
mov ebp, 1
shr esi, 3
sub ecx, 6
and ecx, 7
shl ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
or byte [ebp + esi], cl
jmp 0x660ea8f0
mov dword [esp + 4], edi
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp], ebp
mov edx, edi
mov eax, edi
call fcn.660e8600
mov ebx, eax
test eax, eax
jne 0x660ea451
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebp
mov edx, edi
mov dword [esp], esi
call fcn.660ea360
jmp 0x660ea451
mov edx, ecx
mov eax, ebx
add ecx, edi
mov esi, ebx
movzx ebx, byte [edx]
add edx, 1
add eax, 1
mov byte [eax - 1], bl
cmp edx, ecx
jne 0x660eab68
mov ebx, esi
jmp 0x660ea700
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, esi
movzx edx, byte [eax + edx]
mov eax, dword [esp + 0x1c]
add eax, esi
mov esi, dword [esp + 0x20]
mov byte [eax + esi], dl
cmp edi, dword [esp + 0x48]
jbe 0x660ea700
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, esi
movzx edx, byte [eax + edx]
mov eax, dword [esp + 0x1c]
add eax, esi
mov esi, dword [esp + 0x20]
mov byte [eax + esi], dl
jmp 0x660ea700
add dword [esp + 0x30], 1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
add dword [esp + 0x38], edx
cmp dword [esp + 0x3c], eax
jne 0x660ea8b0
add dword [esp + 0x5c], 1
mov eax, dword [esp + 0x5c]
cmp eax, 7
jne 0x660ea822
xor ebx, ebx
jmp 0x660ea742