Function at 0x41da90
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 0x503728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp edx, 0x2710
jne 0x41db3f
sub esp, 0x18
xorps xmm0, xmm0
mov eax, esp
mov edx, 0x2711
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.0041d6c0
add esp, 0x18
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x41e217
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e20d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e22b
jmp 0x41e20d
cmp edx, 0x2721
jne 0x41db69
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
mov ecx, 0x532bdc
push eax
call fcn.00464ab0
mov byte [0x534eab], 1
jmp 0x41db05
cmp edx, 0x2712
jne 0x41db94
cmp dword [ebx + 0x18], 0x18
jne 0x41db05
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push 0x18
cmovae eax, dword [ebx + 8]
mov ecx, 0x532bf4
push eax
call fcn.00464ab0
jmp 0x41db05
cmp edx, 0x2713
jne 0x41dbba
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push eax
call fcn.004e9777
add esp, 4
mov dword [0x532ab0], eax
jmp 0x41db05
cmp edx, 0x272b
jne 0x41dbce
mov byte [0x534ea9], 1
jmp 0x41db05
cmp edx, 0x2715
jne 0x41df77
cmp dword [ebx + 0x1c], 0x10
lea esi, [ebx + 8]
mov ecx, 0x19
lea edi, [ebp - 0xc0]
cmovae esi, dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
push 0x535070
call fcn.004db192
add esp, 4
test eax, eax
jne 0x41e230
xor edi, edi
nop dword [eax]
mov ecx, dword [0x535168]
mov eax, 0x2aaaaaab
mov esi, dword [0x535164]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x41df5f
lea eax, [edi + edi*2]
mov dword [ebp - 0x48], 0
shl eax, 3
lea ecx, [ebp - 0xc0]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
add esi, eax
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41dc60
sub ecx, edx
lea eax, [ebp - 0xc0]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00402810
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x1b]
mov word [ebp - 0x1b], 0x5c
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x19], 0
call fcn.00468d20
add esp, 4
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x41dca4
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x41dcaf
mov esi, dword [esi]
push ecx
push eax
push 0
mov ecx, esi
call fcn.0046a3c0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov esi, eax
cmp ecx, 0x10
jb 0x41dcf3
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41dce9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e236
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x41dd3d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41dd33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e236
push ecx
push edx
call fcn.004dbe91
add esp, 8
cmp esi, 0xffffffff
je 0x41df71
mov ecx, dword [ebx + 0x18]
lea eax, [ebx + 8]
add ecx, 0xffffff9c
mov dword [ebp - 0x28], 0
cmp dword [ebx + 0x1c], 0x10
xorps xmm0, xmm0
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x38]
add eax, 0x64
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00402810
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00414510
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x41ddc0
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ddb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e23b
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov edi, dword [ebp - 0x20]
add edi, dword [0x535164]
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x3e], 0x8ba6b4b9
mov word [ebp - 0x3a], 0x100
nop word [eax + eax]
mov al, cl
sub al, 0xc
xor byte [ebp + ecx - 0x3e], al
inc ecx
cmp ecx, 4
jb 0x41ddf0
lea eax, [ebp - 0x3e]
mov byte [ebp - 0x39], 0
sub esp, 8
mov edx, eax
mov esi, esp
lea ecx, [edx + 1]
mov dword [esi], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x41de11
sub edx, ecx
mov ecx, edi
mov dword [esi + 4], edx
call fcn.004648b0
test al, al
je 0x41de4a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub esp, 0x18
mov esi, eax
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00464ec0
mov ecx, esi
call fcn.00419b40
add esp, 0x18
jmp 0x41dea8
mov dword [ebp - 0x1c], 0x1009783
xor ecx, ecx
mov al, cl
sub al, 0xc
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 2
jb 0x41de53
mov eax, dword [0x535164]
add eax, dword [ebp - 0x20]
mov byte [ebp - 0x19], 0
cmp dword [eax + 0x14], 0x10
jb 0x41de75
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.004e1ce0
mov esi, eax
add esp, 8
test esi, esi
je 0x41dea8
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push esi
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push 1
push ecx
call fcn.004e9ae8
push esi
call fcn.004e5568
add esp, 0x14
mov eax, dword [0x535164]
add eax, dword [ebp - 0x20]
mov esi, dword [0x535168]
mov dword [ebp - 0x20], eax
lea edi, [eax + 0x18]
cmp edi, esi
je 0x41dede
push edi
mov ecx, eax
call fcn.00464d40
mov eax, dword [ebp - 0x20]
add edi, 0x18
add eax, 0x18
mov dword [ebp - 0x20], eax
cmp edi, esi
jne 0x41dec0
mov esi, dword [0x535168]
mov ecx, dword [esi - 4]
cmp ecx, 0x10
jb 0x41df12
mov eax, dword [esi - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x41df08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e240
mov eax, edx
push ecx
push eax
call fcn.004dbe91
add esp, 8
mov dword [esi - 8], 0
mov dword [esi - 4], 0xf
mov byte [esi - 0x18], 0
sub dword [0x535168], 0x18
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x41df5f
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41df55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e240
push ecx
push edx
call fcn.004dbe91
add esp, 8
push 0x535070
call fcn.004db1a3
add esp, 4
jmp 0x41db05
inc edi
jmp 0x41dc10
cmp edx, 0x2717
jne 0x41dfe5
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.00469220
mov cl, byte [0x535060]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x53506c]
mov edx, dword [0x535068]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x535060], al
mov eax, dword [ebp - 0x28]
mov dword [0x53506c], ecx
lea ecx, [ebp - 0x30]
mov dword [0x535068], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.00462970
mov byte [0x534e82], 1
jmp 0x41db05
cmp edx, 0x2719
jne 0x41e053
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.00469220
mov cl, byte [0x5350b8]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x5350c4]
mov edx, dword [0x5350c0]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x5350b8], al
mov eax, dword [ebp - 0x28]
mov dword [0x5350c4], ecx
lea ecx, [ebp - 0x30]
mov dword [0x5350c0], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.00462970
mov byte [0x534ea1], 1
jmp 0x41db05
cmp edx, 0x271b
jne 0x41e0c1
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.00469220
mov cl, byte [0x5350e0]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x5350ec]
mov edx, dword [0x5350e8]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x5350e0], al
mov eax, dword [ebp - 0x28]
mov dword [0x5350ec], ecx
lea ecx, [ebp - 0x30]
mov dword [0x5350e8], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.00462970
mov byte [0x534e80], 1
jmp 0x41db05
cmp edx, 0x271d
jne 0x41e12f
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.00469220
mov cl, byte [0x535138]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x535144]
mov edx, dword [0x535140]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x535138], al
mov eax, dword [ebp - 0x28]
mov dword [0x535144], ecx
lea ecx, [ebp - 0x30]
mov dword [0x535140], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.00462970
mov byte [0x534ea0], 1
jmp 0x41db05
cmp edx, 0x272e
jne 0x41e19d
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.00469220
mov cl, byte [0x535170]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x53517c]
mov edx, dword [0x535178]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x535170], al
mov eax, dword [ebp - 0x28]
mov dword [0x53517c], ecx
lea ecx, [ebp - 0x30]
mov dword [0x535178], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.00462970
mov byte [0x534ea8], 1
jmp 0x41db05
cmp edx, 0x2723
jne 0x41db05
lea edx, [ebx + 8]
lea ecx, [ebp - 0x58]
call fcn.00402540
push eax
mov ecx, 0x532b34
call fcn.00464d40
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x41e1ef
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e1e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e245
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov byte [0x534eaa], 1
jmp 0x41db05
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1130
push eax
call fcn.004dae3b
call fcn.004e1130
call fcn.004e1130
call fcn.004e1130
call fcn.004e1130
int3