Function at 0x41ea80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x68
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.00466110
xor esi, esi
cmp dword [ebp - 0x38], esi
jbe 0x41ebf4
mov edx, dword [ebp - 0x48]
nop dword [eax + eax]
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x48]
cmovae eax, edx
xor byte [eax + esi], 0x36
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov edx, dword [ebp - 0x48]
cmovae ecx, edx
setae byte [ebp - 0x11]
cmp byte [ecx + esi], 0
jne 0x41eb18
cmp byte [ebp - 0x11], 0
cmovne eax, edx
mov byte [eax + esi], 0x55
jmp 0x41ebe7
mov cl, byte [ebp - 0x11]
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x55
lea eax, [ebp - 0x48]
jne 0x41eb37
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xff
jmp 0x41ebe7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xff
lea eax, [ebp - 0x48]
jne 0x41eb53
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xfd
jmp 0x41ebe7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xfd
lea eax, [ebp - 0x48]
jne 0x41eb6c
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xde
jmp 0x41ebe7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xde
lea eax, [ebp - 0x48]
jne 0x41eb85
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 5
jmp 0x41ebe7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 5
lea eax, [ebp - 0x48]
jne 0x41eb9e
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 1
jmp 0x41ebe7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 1
lea eax, [ebp - 0x48]
jne 0x41ebb7
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xa
jmp 0x41ebe7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xa
lea eax, [ebp - 0x48]
jne 0x41ebd0
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0x80
jmp 0x41ebe7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x80
jne 0x41ebea
test cl, cl
lea eax, [ebp - 0x48]
cmovne eax, edx
mov byte [eax + esi], 0
mov edx, dword [ebp - 0x48]
inc esi
cmp esi, dword [ebp - 0x38]
jb 0x41eae0
movups xmm0, xmmword [ebp - 0x48]
lea eax, [ebp - 0x78]
mov byte [ebp - 0x48], 0
push eax
movups xmmword [ebp - 0x78], xmm0
lea ecx, [ebx + 8]
movq xmm0, qword [ebp - 0x38]
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
call fcn.00465f90
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x41ec58
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ec4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ee6b
push ecx
push edx
call fcn.004dd461
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
push 0
push 0x1659
mov byte [ebp - 4], 1
call fcn.00407d20
add eax, dword [ebx + 0x18]
add esp, 8
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
ja 0x41eca2
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], eax
cmovae ecx, dword [ebp - 0x60]
mov byte [ecx + eax], 0
jmp 0x41ecaf
sub eax, ecx
lea ecx, [ebp - 0x60]
push 0
push eax
call fcn.00468920
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
push 0
cmovae eax, dword [ebp - 0x60]
lea esi, [ebp - 0x60]
push 0x1651
mov dword [eax], 0xabbadaad
cmp dword [ebp - 0x4c], 0x10
mov edi, dword [ebx + 0x18]
cmovae esi, dword [ebp - 0x60]
call fcn.00407d20
push 0
push 0x1655
mov dword [eax + esi], edi
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae esi, dword [ebp - 0x60]
call fcn.00407d20
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov dword [eax + esi], ecx
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x41ed36
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
push eax
cmovae esi, dword [ebp - 0x60]
push 0
push 0x1659
call fcn.00407d20
add esp, 8
add eax, esi
push eax
call fcn.004deec0
add esp, 0xc
push 0
push 0x164d
call fcn.00407d20
mov ecx, dword [ebp - 0x50]
mov esi, eax
add esp, 8
cmp esi, ecx
jae 0x41edd7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [eax + eax]
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x60]
sub ecx, esi
add eax, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x2d], 0xeffae9ee
mov dword [ebp - 0x29], 0xdbd0d8
mov byte [ebp - 0x25], 1
lea ecx, [eax - 0x47]
xor byte [ebp + eax - 0x2d], cl
inc eax
cmp eax, 7
jb 0x41ed90
push str.Ws2_32.dll
mov byte [ebp - 0x25], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2d]
push ecx
push eax
call edi
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
push 1
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x1c]
call eax
cmp eax, 0xffffffff
je 0x41ee45
add esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
cmp esi, ecx
jb 0x41ed60
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x41ee0b
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ee01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ee70
push ecx
push edx
call fcn.004dd461
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x41ee55
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ee4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ee70
jmp 0x41ee4b
mov byte [ebp - 0x11], 0
jmp 0x41eddb
push ecx
push edx
call fcn.004dd461
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2700
call fcn.004e2700
int3