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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x60]
mov edi, 0xffffffe0
mov ebp, 0xf
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
add edx, ebx
adc ecx, 0
xor eax, eax
cmp edi, edx
sbb ebp, ecx
jb 0x46e914
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
mov edi, esi
cmp dword [esi + 0x174], 0
je 0x46e460
movzx esi, byte [edi + 0x4f]
mov dword [esp], 0
mov ebx, esi
and ebx, 0xf
shl ebx, 4
mov eax, dword [edi + ebx + 0x60]
mov ecx, dword [edi + ebx + 0x64]
mov edx, dword [edi + ebx + 0x6c]
mov ebx, dword [edi + ebx + 0x68]
jmp 0x46e40a
mov esi, dword [esp]
dec dword [esp]
movzx ebx, byte [edi + esi + 0x4e]
mov esi, ecx
shr ecx, 4
shld esi, ebp, 0x1c
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
mov dword [esp + 8], ebx
and ebx, 0xf
shl ebx, 4
xor ecx, dword [edi + ebx + 0x64]
xor esi, dword [edi + ebx + 0x60]
xor eax, dword [edi + ebx + 0x68]
xor ebp, dword [edi + ebx + 0x6c]
xor ecx, dword [edx*4 + 0x593524]
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 8]
mov edx, ebp
mov ebp, ecx
and esi, 0xfffffff0
shr ecx, 4
xor ecx, dword [edi + esi + 0x64]
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebx, 0x1c
and ebx, 0xf
xor ebp, dword [edi + esi + 0x60]
xor eax, dword [edi + esi + 0x6c]
xor edx, dword [edi + esi + 0x68]
xor ecx, dword [ebx*4 + 0x593524]
cmp dword [esp], 0xfffffff1
jne 0x46e3c0
mov ebx, dword [esp + 0x60]
bswap ecx
bswap ebp
bswap eax
bswap edx
mov dword [edi + 0x44], ebp
mov dword [edi + 0x40], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x48], eax
mov dword [edi + 0x174], 0
mov eax, dword [edi + 0x170]
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
test eax, eax
je 0x46e57e
test ebx, ebx
je 0x46e909
nop
movzx ecx, byte [ebp]
movzx edx, byte [edi + eax + 0x10]
inc ebp
mov dword [esp + 4], ebp
mov ebp, dword [esp + 4]
xor dl, cl
mov byte [esi], dl
xor byte [edi + eax + 0x40], cl
inc eax
inc esi
and eax, 0xf
cmp ebx, 1
lea ebx, [ebx - 1]
je 0x46e4ab
test eax, eax
jne 0x46e480
test eax, eax
jne 0x46e909
mov dword [esp + 0x10], ebx
movzx ebx, byte [edi + 0x4f]
mov dword [esp + 0xc], esi
mov dword [esp], 0
mov esi, ebx
and esi, 0xf
shl esi, 4
mov eax, dword [edi + esi + 0x60]
mov ecx, dword [edi + esi + 0x64]
mov edx, dword [edi + esi + 0x6c]
mov esi, dword [edi + esi + 0x68]
jmp 0x46e52a
mov esi, dword [esp]
mov ebx, ecx
shr ecx, 4
dec dword [esp]
shld ebx, ebp, 0x1c
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
movzx esi, byte [edi + esi + 0x4e]
mov dword [esp + 8], esi
and esi, 0xf
shl esi, 4
xor ecx, dword [edi + esi + 0x64]
xor ebx, dword [edi + esi + 0x60]
xor eax, dword [edi + esi + 0x68]
xor ebp, dword [edi + esi + 0x6c]
xor ecx, dword [edx*4 + 0x593524]
mov esi, eax
mov eax, ebx
mov ebx, dword [esp + 8]
mov edx, ebp
mov ebp, ecx
and ebx, 0xfffffff0
shr ecx, 4
xor ecx, dword [edi + ebx + 0x64]
shld ebp, eax, 0x1c
shld eax, edx, 0x1c
shld edx, esi, 0x1c
and esi, 0xf
xor ebp, dword [edi + ebx + 0x60]
xor eax, dword [edi + ebx + 0x6c]
xor edx, dword [edi + ebx + 0x68]
xor ecx, dword [esi*4 + 0x593524]
cmp dword [esp], 0xfffffff1
jne 0x46e4e0
bswap ebp
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
bswap ecx
bswap eax
bswap edx
mov dword [edi + 0x44], ebp
mov ebp, dword [esp + 4]
mov dword [edi + 0x40], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x48], eax
mov ecx, dword [edi + 0xc]
mov eax, ebx
and eax, 0xfffffff0
bswap ecx
je 0x46e823
mov dword [esp + 0xc], esi
mov esi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], ebx
shr esi, 4
mov dword [esp + 0x2c], esi
je 0x46e7bb
mov dl, byte [edi + 0x4c]
mov dh, byte [edi + 0x4d]
mov cl, byte [edi + 0x40]
mov al, byte [edi + 0x44]
mov bl, byte [edi + 0x48]
mov ch, byte [edi + 0x41]
mov ah, byte [edi + 0x45]
mov bh, byte [edi + 0x49]
mov dword [esp + 8], edx
mov dl, byte [edi + 0x42]
mov dword [esp + 0x1c], edx
mov dl, byte [edi + 0x43]
mov dword [esp + 0x18], edx
mov dl, byte [edi + 0x46]
mov dword [esp + 0x28], edx
mov dl, byte [edi + 0x47]
mov dword [esp + 0x20], edx
mov dl, byte [edi + 0x4a]
mov dword [esp + 4], edx
mov dl, byte [edi + 0x4b]
mov dword [esp + 0x24], edx
mov dl, byte [edi + 0x4e]
mov dword [esp], edx
mov dl, byte [edi + 0x4f]
mov dword [esp + 0x14], edx
xor cl, byte [ebp]
mov edx, dword [esp + 8]
mov dword [esp + 0x38], esi
mov byte [edi + 0x40], cl
xor ch, byte [ebp + 1]
mov byte [edi + 0x41], ch
mov ecx, dword [esp + 0x1c]
xor cl, byte [ebp + 2]
mov byte [edi + 0x42], cl
mov ecx, dword [esp + 0x18]
xor cl, byte [ebp + 3]
mov byte [edi + 0x43], cl
xor al, byte [ebp + 4]
mov byte [edi + 0x44], al
xor ah, byte [ebp + 5]
mov byte [edi + 0x45], ah
mov eax, dword [esp + 0x28]
xor al, byte [ebp + 6]
mov byte [edi + 0x46], al
mov eax, dword [esp + 0x20]
xor al, byte [ebp + 7]
mov byte [edi + 0x47], al
mov eax, dword [esp + 4]
mov dword [esp + 4], ebp
xor bl, byte [ebp + 8]
mov byte [edi + 0x48], bl
xor bh, byte [ebp + 9]
mov byte [edi + 0x49], bh
xor al, byte [ebp + 0xa]
mov byte [edi + 0x4a], al
mov eax, dword [esp + 0x24]
xor al, byte [ebp + 0xb]
mov byte [edi + 0x4b], al
mov eax, dword [esp]
mov dword [esp], 0
xor dl, byte [ebp + 0xc]
mov byte [edi + 0x4c], dl
xor dh, byte [ebp + 0xd]
mov byte [edi + 0x4d], dh
xor al, byte [ebp + 0xe]
mov byte [edi + 0x4e], al
mov eax, dword [esp + 0x14]
xor al, byte [ebp + 0xf]
movzx esi, al
mov byte [edi + 0x4f], al
mov eax, esi
and eax, 0xf
shl eax, 4
mov edx, dword [edi + eax + 0x6c]
mov ebx, dword [edi + eax + 0x60]
mov ecx, dword [edi + eax + 0x64]
mov dword [esp + 8], edx
mov edx, dword [edi + eax + 0x68]
jmp 0x46e70c
mov edx, dword [esp]
mov esi, ecx
shr ecx, 4
dec dword [esp]
shld esi, eax, 0x1c
shld eax, ebx, 0x1c
shld ebx, ebp, 0x1c
and ebp, 0xf
movzx edx, byte [edi + edx + 0x4e]
mov dword [esp + 0x14], edx
and edx, 0xf
shl edx, 4
xor ecx, dword [edi + edx + 0x64]
xor esi, dword [edi + edx + 0x60]
xor ebx, dword [edi + edx + 0x68]
xor eax, dword [edi + edx + 0x6c]
mov edx, ebx
mov ebx, esi
xor ecx, dword [ebp*4 + 0x593524]
mov esi, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, ecx
and esi, 0xfffffff0
shr ecx, 4
mov ebp, dword [esp + 8]
xor ecx, dword [edi + esi + 0x64]
shld eax, ebx, 0x1c
xor eax, dword [edi + esi + 0x60]
shld ebx, ebp, 0x1c
shld ebp, edx, 0x1c
and edx, 0xf
xor ecx, dword [edx*4 + 0x593524]
xor ebx, dword [edi + esi + 0x6c]
xor ebp, dword [edi + esi + 0x68]
cmp dword [esp], 0xfffffff1
jne 0x46e6c0
bswap eax
bswap ecx
mov edx, ebp
bswap ebx
mov ebp, dword [esp + 4]
mov esi, eax
bswap edx
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], ecx
mov dword [edi + 0x48], ebx
shr esi, 0x10
mov dword [esp + 8], edx
mov dword [edi + 0x4c], edx
mov dword [esp + 0x28], esi
mov esi, ecx
shr esi, 0x10
add ebp, 0x10
mov dword [esp + 0x1c], esi
mov esi, eax
shr esi, 0x18
mov dword [esp + 0x20], esi
mov esi, ecx
shr esi, 0x18
mov dword [esp + 0x18], esi
mov esi, edx
shr esi, 0x10
mov dword [esp], esi
mov esi, ebx
shr esi, 0x10
mov dword [esp + 4], esi
mov esi, edx
shr esi, 0x18
mov dword [esp + 0x14], esi
mov esi, ebx
shr esi, 0x18
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x38]
dec esi
jne 0x46e600
mov dword [esp + 4], ebp
mov eax, ebp
mov ebp, dword [esp + 0x30]
sub eax, ebp
push edi
push dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
push ebx
mov esi, dword [esp + 0x18]
push esi
push eax
call dword [esp + 0x78]
add esp, 0x14
mov ecx, dword [esp + 0x34]
add esi, ebp
add ecx, ebx
mov ebx, dword [esp + 0x10]
mov eax, ecx
bswap eax
mov dword [edi + 0xc], eax
sub ebx, ebp
test ebx, ebx
je 0x46e82b
lea eax, [edi + 0x10]
push dword [esp + 0x54]
mov dword [esp + 4], eax
push eax
push edi
mov ebp, ecx
call dword [edi + 0x168]
add esp, 0xc
inc ebp
xor eax, eax
cmp ebx, 0x10
bswap ebp
mov dword [edi + 0xc], ebp
jae 0x46e832
mov ecx, ebx
jmp 0x46e8f0
mov dword [esp + 4], ebp
test ebx, ebx
jne 0x46e7f7
xor eax, eax
jmp 0x46e909
mov ecx, dword [esp]
lea edx, [edi + ebx + 0x40]
mov edi, dword [esp + 4]
mov ebp, esi
lea esi, [esi + ebx]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
cmp esi, ecx
lea ebx, [edi + ebx]
seta byte [esp + 8]
cmp ebp, edx
setb byte [esp + 0x14]
cmp ebx, ecx
mov ch, byte [esp + 0x14]
seta cl
cmp edi, edx
setb dh
cmp ebp, ebx
setb dl
cmp edi, esi
setb bl
test byte [esp + 8], ch
jne 0x46e8cf
mov edi, dword [esp + 0x50]
and cl, dh
jne 0x46e8dd
and dl, bl
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
jne 0x46e8cb
mov ebp, dword [esp + 4]
mov eax, ebx
mov ecx, ebx
xor edx, edx
and eax, 0xfffffff0
sub ecx, eax
nop dword [eax]
movups xmm0, xmmword [ebp + edx]
movups xmm1, xmmword [edi + edx + 0x10]
movups xmm2, xmmword [edi + edx + 0x40]
xorps xmm2, xmm0
xorps xmm1, xmm0
movups xmmword [edi + edx + 0x40], xmm2
movups xmmword [esi + edx], xmm1
add edx, 0x10
cmp eax, edx
jne 0x46e8a0
cmp ebx, eax
jne 0x46e8f0
jmp 0x46e909
mov ecx, ebx
jmp 0x46e8f0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0xc]
jmp 0x46e8f0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
nop word cs:[eax + eax]
nop
mov edx, dword [esp + 4]
movzx edx, byte [edx + eax]
xor byte [edi + eax + 0x40], dl
xor dl, byte [edi + eax + 0x10]
dec ecx
mov byte [esi + eax], dl
lea eax, [eax + 1]
jne 0x46e8f0
mov dword [edi + 0x170], eax
mov eax, 1
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret