Function at 0x41daa0
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 0x503888
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 0x41db4f
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.0041d6d0
add esp, 0x18
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x41e227
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e21d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e23b
jmp 0x41e21d
cmp edx, 0x2721
jne 0x41db79
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.00464c20
mov byte [0x534eab], 1
jmp 0x41db15
cmp edx, 0x2712
jne 0x41dba4
cmp dword [ebx + 0x18], 0x18
jne 0x41db15
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push 0x18
cmovae eax, dword [ebx + 8]
mov ecx, 0x532bf4
push eax
call fcn.00464c20
jmp 0x41db15
cmp edx, 0x2713
jne 0x41dbca
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push eax
call fcn.004e98e7
add esp, 4
mov dword [0x532ab0], eax
jmp 0x41db15
cmp edx, 0x272b
jne 0x41dbde
mov byte [0x534ea9], 1
jmp 0x41db15
cmp edx, 0x2715
jne 0x41df87
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.004db303
add esp, 4
test eax, eax
jne 0x41e240
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 0x41df6f
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 0x41dc70
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.00468e90
add esp, 4
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x41dcb4
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x41dcbf
mov esi, dword [esi]
push ecx
push eax
push 0
mov ecx, esi
call fcn.0046a520
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov esi, eax
cmp ecx, 0x10
jb 0x41dd03
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41dcf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e246
push ecx
push edx
call fcn.004dc002
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 0x41dd4d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41dd43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e246
push ecx
push edx
call fcn.004dc002
add esp, 8
cmp esi, 0xffffffff
je 0x41df81
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 0x41ddd0
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ddc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e24b
push ecx
push edx
call fcn.004dc002
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], 0x6e415142
mov word [ebp - 0x3a], 0x100
nop word [eax + eax]
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x3e], al
inc ecx
cmp ecx, 4
jb 0x41de00
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 0x41de21
sub edx, ecx
mov ecx, edi
mov dword [esi + 4], edx
call fcn.00464a20
test al, al
je 0x41de5a
call dword [0x50b1e0]
sub esp, 0x18
mov esi, eax
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00465030
mov ecx, esi
call fcn.00419b40
add esp, 0x18
jmp 0x41deb8
mov dword [ebp - 0x1c], 0x1007278
xor ecx, ecx
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 2
jb 0x41de63
mov eax, dword [0x535164]
add eax, dword [ebp - 0x20]
mov byte [ebp - 0x19], 0
cmp dword [eax + 0x14], 0x10
jb 0x41de85
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.004e1e50
mov esi, eax
add esp, 8
test esi, esi
je 0x41deb8
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.004e9c58
push esi
call fcn.004e56d8
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 0x41deee
push edi
mov ecx, eax
call fcn.00464eb0
mov eax, dword [ebp - 0x20]
add edi, 0x18
add eax, 0x18
mov dword [ebp - 0x20], eax
cmp edi, esi
jne 0x41ded0
mov esi, dword [0x535168]
mov ecx, dword [esi - 4]
cmp ecx, 0x10
jb 0x41df22
mov eax, dword [esi - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x41df18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e250
mov eax, edx
push ecx
push eax
call fcn.004dc002
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 0x41df6f
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41df65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e250
push ecx
push edx
call fcn.004dc002
add esp, 8
push 0x535070
call fcn.004db314
add esp, 4
jmp 0x41db15
inc edi
jmp 0x41dc20
cmp edx, 0x2717
jne 0x41dff5
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.00469380
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.00462ae0
mov byte [0x534e82], 1
jmp 0x41db15
cmp edx, 0x2719
jne 0x41e063
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.00469380
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.00462ae0
mov byte [0x534ea1], 1
jmp 0x41db15
cmp edx, 0x271b
jne 0x41e0d1
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.00469380
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.00462ae0
mov byte [0x534e80], 1
jmp 0x41db15
cmp edx, 0x271d
jne 0x41e13f
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.00469380
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.00462ae0
mov byte [0x534ea0], 1
jmp 0x41db15
cmp edx, 0x272e
jne 0x41e1ad
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.00469380
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.00462ae0
mov byte [0x534ea8], 1
jmp 0x41db15
cmp edx, 0x2723
jne 0x41db15
lea edx, [ebx + 8]
lea ecx, [ebp - 0x58]
call fcn.00402540
push eax
mov ecx, 0x532b34
call fcn.00464eb0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x41e1ff
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e1f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e255
push ecx
push edx
call fcn.004dc002
add esp, 8
mov byte [0x534eaa], 1
jmp 0x41db15
push ecx
push edx
call fcn.004dc002
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.004e12a0
push eax
call fcn.004dafab
call fcn.004e12a0
call fcn.004e12a0
call fcn.004e12a0
call fcn.004e12a0
int3