Function at 0x41dbe0
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 0x503f58
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.004655b0
xor esi, esi
cmp dword [ebp - 0x38], esi
jbe 0x41dd54
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 0x41dc78
cmp byte [ebp - 0x11], 0
cmovne eax, edx
mov byte [eax + esi], 0x55
jmp 0x41dd47
mov cl, byte [ebp - 0x11]
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x55
lea eax, [ebp - 0x48]
jne 0x41dc97
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xff
jmp 0x41dd47
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xff
lea eax, [ebp - 0x48]
jne 0x41dcb3
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xfd
jmp 0x41dd47
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xfd
lea eax, [ebp - 0x48]
jne 0x41dccc
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xde
jmp 0x41dd47
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xde
lea eax, [ebp - 0x48]
jne 0x41dce5
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 5
jmp 0x41dd47
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 5
lea eax, [ebp - 0x48]
jne 0x41dcfe
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 1
jmp 0x41dd47
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 1
lea eax, [ebp - 0x48]
jne 0x41dd17
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xa
jmp 0x41dd47
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xa
lea eax, [ebp - 0x48]
jne 0x41dd30
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0x80
jmp 0x41dd47
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x80
jne 0x41dd4a
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 0x41dc40
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.00465430
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x41ddb8
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ddae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dfcb
push ecx
push edx
call fcn.004dc6f1
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 0x1403f
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 0x41de02
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 0x41de0f
sub eax, ecx
lea ecx, [ebp - 0x60]
push 0
push eax
call fcn.00467e80
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
push 0
cmovae eax, dword [ebp - 0x60]
lea esi, [ebp - 0x60]
push 0x14047
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 0x1403b
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 0x41de96
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 0x1403f
call fcn.00407d20
add esp, 8
add eax, esi
push eax
call fcn.004de150
add esp, 0xc
push 0
push 0x14043
call fcn.00407d20
mov ecx, dword [ebp - 0x50]
mov esi, eax
add esp, 8
cmp esi, ecx
jae 0x41df37
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], 0x3b263532
mov dword [ebp - 0x29], 0xf040c
mov byte [ebp - 0x25], 1
lea ecx, [eax + 0x65]
xor byte [ebp + eax - 0x2d], cl
inc eax
cmp eax, 7
jb 0x41def0
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 0x41dfa5
add esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
cmp esi, ecx
jb 0x41dec0
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x41df6b
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41df61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dfd0
push ecx
push edx
call fcn.004dc6f1
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 0x41dfb5
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41dfab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dfd0
jmp 0x41dfab
mov byte [ebp - 0x11], 0
jmp 0x41df3b
push ecx
push edx
call fcn.004dc6f1
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.004e1990
call fcn.004e1990
int3