Function at 0x41e030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508916
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00468b20
mov byte [ebp - 4], 2
xor eax, eax
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x4c]
je 0x41e1c2
lea esi, [ebp - 0x4c]
cmp edx, 0xf
jbe 0x41e091
mov esi, ecx
xor byte [esi + eax], 0x36
lea esi, [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
cmp edx, 0xf
jbe 0x41e0a5
mov esi, ecx
cmp byte [esi + eax], 0
lea esi, [ebp - 0x4c]
jne 0x41e0be
cmp edx, 0xf
jbe 0x41e0b5
mov esi, ecx
mov byte [esi + eax], 0x55
jmp 0x41e1ad
cmp edx, 0xf
jbe 0x41e0c5
mov esi, ecx
cmp byte [esi + eax], 0x55
lea esi, [ebp - 0x4c]
jne 0x41e0de
cmp edx, 0xf
jbe 0x41e0d5
mov esi, ecx
mov byte [esi + eax], 0xff
jmp 0x41e1ad
cmp edx, 0xf
jbe 0x41e0e5
mov esi, ecx
cmp byte [esi + eax], 0xff
lea esi, [ebp - 0x4c]
jne 0x41e0fe
cmp edx, 0xf
jbe 0x41e0f5
mov esi, ecx
mov byte [esi + eax], 0xfd
jmp 0x41e1ad
cmp edx, 0xf
jbe 0x41e105
mov esi, ecx
cmp byte [esi + eax], 0xfd
lea esi, [ebp - 0x4c]
jne 0x41e11e
cmp edx, 0xf
jbe 0x41e115
mov esi, ecx
mov byte [esi + eax], 0xde
jmp 0x41e1ad
cmp edx, 0xf
jbe 0x41e125
mov esi, ecx
cmp byte [esi + eax], 0xde
lea esi, [ebp - 0x4c]
jne 0x41e13b
cmp edx, 0xf
jbe 0x41e135
mov esi, ecx
mov byte [esi + eax], 5
jmp 0x41e1ad
cmp edx, 0xf
jbe 0x41e142
mov esi, ecx
cmp byte [esi + eax], 5
lea esi, [ebp - 0x4c]
jne 0x41e158
cmp edx, 0xf
jbe 0x41e152
mov esi, ecx
mov byte [esi + eax], 1
jmp 0x41e1ad
cmp edx, 0xf
jbe 0x41e15f
mov esi, ecx
cmp byte [esi + eax], 1
lea esi, [ebp - 0x4c]
jne 0x41e175
cmp edx, 0xf
jbe 0x41e16f
mov esi, ecx
mov byte [esi + eax], 0xa
jmp 0x41e1ad
cmp edx, 0xf
jbe 0x41e17c
mov esi, ecx
cmp byte [esi + eax], 0xa
lea esi, [ebp - 0x4c]
jne 0x41e192
cmp edx, 0xf
jbe 0x41e18c
mov esi, ecx
mov byte [esi + eax], 0x80
jmp 0x41e1ad
cmp edx, 0xf
jbe 0x41e199
mov esi, ecx
cmp byte [esi + eax], 0x80
jne 0x41e1b3
lea esi, [ebp - 0x4c]
cmp edx, 0xf
jbe 0x41e1a9
mov esi, ecx
mov byte [esi + eax], 0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x18], ebx
cmp eax, ebx
jb 0x41e087
mov dword [ebp - 0x7c], ecx
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x78], ebx
push edi
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x74], edi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x70], esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00402c80
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x1c], eax
mov eax, 1
mov dword [ebp - 0x1c], eax
and eax, 0xfffffffe
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], al
mov byte [ebp - 4], 3
push eax
push 0x1651
call fcn.00407ed0
add eax, dword [ebp + 0x18]
add esp, 8
mov ecx, dword [ebp - 0x54]
cmp eax, ecx
ja 0x41e2cf
cmp dword [ebp - 0x50], 0xf
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], eax
jbe 0x41e2c9
mov ecx, dword [ebp - 0x64]
mov byte [ecx + eax], 0
jmp 0x41e2dc
sub eax, ecx
lea ecx, [ebp - 0x64]
push 0
push eax
call fcn.0046b420
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
jbe 0x41e2e8
mov eax, dword [ebp - 0x64]
mov dword [eax], 0xabbadaad
lea esi, [ebp - 0x64]
cmp dword [ebp - 0x50], 0xf
mov edi, dword [ebp + 0x18]
jbe 0x41e2fd
mov esi, dword [ebp - 0x64]
push 0
push 0x1659
call fcn.00407ed0
add esp, 8
mov dword [eax + esi], edi
lea esi, [ebp - 0x64]
cmp dword [ebp - 0x50], 0xf
jbe 0x41e31b
mov esi, dword [ebp - 0x64]
push 0
push 0x1655
call fcn.00407ed0
mov ecx, dword [ebp - 0x20]
add esp, 8
mov dword [eax + esi], ecx
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x41e36b
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
jbe 0x41e343
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x50], 0xf
lea esi, [ebp - 0x64]
jbe 0x41e34f
mov esi, dword [ebp - 0x64]
push ecx
push eax
push 0
push 0x1651
call fcn.00407ed0
add esp, 8
add eax, esi
push eax
call fcn.004e1370
add esp, 0xc
push 0
push 0x165d
call fcn.00407ed0
mov ecx, dword [ebp - 0x54]
mov esi, eax
add esp, 8
cmp esi, ecx
jae 0x41e414
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x41e3a0
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
mov dword [ebp - 0x18], 0
jbe 0x41e3b3
mov eax, dword [ebp - 0x64]
sub ecx, esi
mov dword [ebp - 0x31], 0xb9a8bbb0
add eax, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x2d], 0x89828e
mov byte [ebp - 0x29], 1
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 7
jb 0x41e3d1
push str.Ws2_32.dll
mov byte [ebp - 0x29], 0
call ebx
lea ecx, [ebp - 0x31]
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 - 0x28]
call eax
cmp eax, 0xffffffff
je 0x41e443
add esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x54]
cmp esi, ecx
jb 0x41e3a0
mov bl, 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
pop edi
cmp ecx, 0xf
jbe 0x41e451
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e447
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e484
jmp 0x41e447
xor bl, bl
jmp 0x41e416
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e4d70
int3