Function at 0x41011c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1404
call fcn.004c0690
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x13fc], eax
mov eax, dword [esp + 0x140c]
push ebx
mov ebx, dword [esp + 0x1414]
push ebp
mov ebp, dword [esp + 0x1410]
push esi
push edi
mov dword [esp + 0x14], eax
xor esi, esi
mov eax, dword [esp + 0x1424]
push 0x9c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x278]
push esi
push eax
mov dword [esp + 0x27c], esi
call fcn.004bea90
push 0x1014
lea eax, [esp + 0x320]
push esi
push eax
call fcn.004bea90
lea eax, [esp + 0x30]
push eax
call fcn.004738c1
push 0x40
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.004738e9
lea eax, [esp + 0x40]
push eax
call fcn.00473805
lea esi, [esp + 0x9c]
add esp, 0x2c
lea edi, [esp + 0x1348]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1378]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00410066
lea eax, [esp + 0x178]
push eax
push 0x51d438
call fcn.0047365a
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x1364]
push eax
lea eax, [esp + 0x1388]
push eax
call fcn.004028e0
mov edi, ebx
lea esi, [esp + 0x136c]
mov ebx, 0x51d428
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x1370]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [esp + 0x1354]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00473736
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x1358]
push eax
push 0x40
lea eax, [esp + 0x13f0]
push eax
push ebp
call fcn.00473514
mov esi, ebx
lea edi, [esp + 0x1368]
push 0x80
lea eax, [esp + 0x137c]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x2a8]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00475bd2
add esp, 0x3c
xor ebp, ebp
inc ebp
xor ebx, ebx
push 0xfffffffffffffff0
pop ecx
push 0x10
pop eax
push 0x40
pop esi
lea edi, [ecx + 0x10]
sub esi, edi
cmp esi, eax
cmova esi, eax
lea eax, [esp + 0x13d8]
add eax, ecx
push esi
push eax
lea eax, [esp + 0x1330]
push eax
call fcn.004be440
push 0x10
pop eax
sub eax, esi
push eax
lea eax, [esp + 0x1338]
add eax, esi
push ebx
push eax
call fcn.004bea90
add esp, 0x18
mov eax, ebx
test ebp, ebp
je 0x4102d3
mov cl, byte [esp + eax + 0x1338]
jmp 0x4102da
mov cl, byte [esp + eax + 0x1368]
xor byte [esp + eax + 0x1328], cl
inc eax
cmp eax, 0x10
jl 0x4102c6
lea eax, [esp + 0x1368]
mov ebp, ebx
push eax
lea eax, [esp + 0x132c]
push eax
lea eax, [esp + 0x278]
push eax
call fcn.0047518f
mov ecx, edi
lea esi, [esp + 0x1374]
lea edi, [esp + 0x1394]
add esp, 0xc
add edi, ecx
lea eax, [ecx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp eax, 0x40
jb 0x410283
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x1388]
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov al, byte [ebx + 0x4eea60]
xor al, byte [esp + ebx + 0x1348]
mov byte [ecx + ebx], al
inc ebx
cmp ebx, 0x10
jl 0x41033f
mov ecx, dword [esp + 0x140c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x1404
ret 0x10