Function at 0x41b841
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x44102c
call fcn.0043e95c
sub esp, 0x124
push ebx
push ebp
push esi
mov esi, dword [0x460950]
add esi, 0x38
push edi
cmp dword [esi + 0x14], 0x10
mov ebx, edx
mov ebp, ecx
jb 0x41b86a
mov esi, dword [esi]
lea edi, [esp + 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]
xor eax, eax
xor byte [esp + eax + 0x10], 0x3c
inc eax
cmp eax, 0x10
jb 0x41b874
sub esp, 0x10
lea esi, [esp + 0x20]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x68]
movsd dword es:[edi], dword [esi]
call fcn.0041d706
xor edi, edi
lea ecx, [esp + 0x100]
mov dword [esp + 0x14c], edi
call fcn.0041b1c8
push dword [esp + 0x158]
lea eax, [esp + 0x6c]
push ebx
push eax
mov edx, ebp
lea ecx, [esp + 0xcc]
mov byte [esp + 0x158], 1
call fcn.0041b58c
add esp, 0x1c
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x70]
mov byte [esp + 0x13c], 2
call fcn.0040167b
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x140], 3
call fcn.004024bf
push 0x20
lea ecx, [esp + 0x44]
mov byte [esp + 0x140], 4
call fcn.00402540
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x4c]
call fcn.0040294d
push 0x461158
lea ecx, [esp + 0x14]
call fcn.004023bd
push 4
mov esi, 0x80000001
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x148], 5
call fcn.0041d784
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 7
call fcn.00402440
push 0x46112c
lea ecx, [esp + 0x2c]
call fcn.004023bd
push 4
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x148], 8
call fcn.0041d784
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 0xa
call fcn.00402440
push 0x46119c
lea ecx, [esp + 0x14]
call fcn.004023bd
push 4
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x148], 0xb
call fcn.0041d784
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 0xd
call fcn.00402440
mov ebx, 0x20000
mov esi, 0xc000c00
test dword [esp + 0x108], ebx
je 0x41ba30
cmp dword [esp + 0x114], edi
je 0x41ba30
push 0x4611b0
lea ecx, [esp + 0x2c]
call fcn.004023bd
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x144], 0xe
call fcn.0041dadc
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 0xd
call fcn.00402440
test dword [esp + 0xc8], ebx
je 0x41ba7c
cmp dword [esp + 0xd4], 0
je 0x41ba7c
push 0x4611c0
lea ecx, [esp + 0x2c]
call fcn.004023bd
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x144], 0xf
call fcn.0041dadc
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 0xd
call fcn.00402440
test dword [esp + 0x88], ebx
je 0x41bac0
cmp dword [esp + 0x94], 0
je 0x41bac0
push 0x4611d0
lea ecx, [esp + 0x2c]
call fcn.004023bd
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x144], 0x10
call fcn.0041dadc
lea ecx, [esp + 0x28]
call fcn.00402440
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], ax
push dword [esp + 0x14c]
lea eax, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x64]
mov byte [esp + 0x148], 0x11
call fcn.00421693
add esp, 0xc
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00402b12
lea ecx, [esp + 0x88]
call fcn.0041d8a8
lea ecx, [esp + 0xc8]
call fcn.0041d8a8
lea ecx, [esp + 0x108]
call fcn.0041d8a8
push edi
push ebx
lea ecx, [esp + 0x48]
call fcn.00402b12
push edi
push ebx
lea ecx, [esp + 0x78]
call fcn.00402b12
lea ecx, [esp + 0xb0]
call fcn.00402440
push edi
push ebx
lea ecx, [esp + 0xf8]
call fcn.00402b12
lea ecx, [esp + 0x58]
call fcn.00402440
mov ecx, dword [esp + 0x134]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret