Function at 0x41e440
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 0x505118
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.00466580
xor esi, esi
cmp dword [ebp - 0x38], esi
jbe 0x41e5b4
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 0x41e4d8
cmp byte [ebp - 0x11], 0
cmovne eax, edx
mov byte [eax + esi], 0x55
jmp 0x41e5a7
mov cl, byte [ebp - 0x11]
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x55
lea eax, [ebp - 0x48]
jne 0x41e4f7
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xff
jmp 0x41e5a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xff
lea eax, [ebp - 0x48]
jne 0x41e513
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xfd
jmp 0x41e5a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xfd
lea eax, [ebp - 0x48]
jne 0x41e52c
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xde
jmp 0x41e5a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xde
lea eax, [ebp - 0x48]
jne 0x41e545
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 5
jmp 0x41e5a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 5
lea eax, [ebp - 0x48]
jne 0x41e55e
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 1
jmp 0x41e5a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 1
lea eax, [ebp - 0x48]
jne 0x41e577
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0xa
jmp 0x41e5a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0xa
lea eax, [ebp - 0x48]
jne 0x41e590
test cl, cl
cmovne eax, edx
mov byte [eax + esi], 0x80
jmp 0x41e5a7
test cl, cl
cmovne eax, edx
cmp byte [eax + esi], 0x80
jne 0x41e5aa
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 0x41e4a0
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.00466400
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x41e618
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e60e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e82b
push ecx
push edx
call fcn.004dd831
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 0x1364
mov byte [ebp - 4], 1
call fcn.00407d60
add eax, dword [ebx + 0x18]
add esp, 8
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
ja 0x41e662
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 0x41e66f
sub eax, ecx
lea ecx, [ebp - 0x60]
push 0
push eax
call fcn.00468e40
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
push 0
cmovae eax, dword [ebp - 0x60]
lea esi, [ebp - 0x60]
push 0x136c
mov dword [eax], 0xabbadaad
cmp dword [ebp - 0x4c], 0x10
mov edi, dword [ebx + 0x18]
cmovae esi, dword [ebp - 0x60]
call fcn.00407d60
push 0
push 0x1368
mov dword [eax + esi], edi
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae esi, dword [ebp - 0x60]
call fcn.00407d60
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov dword [eax + esi], ecx
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x41e6f6
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 0x1364
call fcn.00407d60
add esp, 8
add eax, esi
push eax
call fcn.004df290
add esp, 0xc
push 0
push 0x1370
call fcn.00407d60
mov ecx, dword [ebp - 0x50]
mov esi, eax
add esp, 8
cmp esi, ecx
jae 0x41e797
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], 0xcddccfcc
mov dword [ebp - 0x29], 0xc5cefa
mov byte [ebp - 0x25], 1
lea ecx, [eax - 0x65]
xor byte [ebp + eax - 0x2d], cl
inc eax
cmp eax, 7
jb 0x41e750
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 0x41e805
add esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
cmp esi, ecx
jb 0x41e720
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x41e7cb
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e7c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e830
push ecx
push edx
call fcn.004dd831
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 0x41e815
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e80b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e830
jmp 0x41e80b
mov byte [ebp - 0x11], 0
jmp 0x41e79b
push ecx
push edx
call fcn.004dd831
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.004e2ad0
call fcn.004e2ad0
int3