Function at 0x4113c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x10
mov esi, ecx
call fcn.00424367
mov edx, dword [esi]
mov ebx, eax
shl edx, 2
push edx
mov dword [esp + 0x18], ebx
call fcn.00424367
mov dword [ebx], eax
add esp, 8
mov ecx, dword [esi]
add ecx, eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebx]
mov eax, dword [esi]
lea eax, [ecx + eax*2]
mov dword [ebx + 8], eax
mov eax, dword [esi]
lea ecx, [ecx + eax*2]
add ecx, eax
xor ebp, ebp
mov dword [ebx + 0xc], ecx
mov eax, dword [esi]
xor edx, edx
test eax, eax
jle 0x411427
mov edi, dword [esp + 0x1c]
add edi, ebp
mov ecx, dword [ebx]
lea edi, [edi + 4]
mov al, byte [edi - 4]
mov byte [edx + ecx], al
inc edx
mov eax, dword [esi]
cmp edx, eax
jl 0x411411
mov ecx, eax
jmp 0x411429
mov ecx, dword [esi]
inc ebp
add ebx, 4
cmp ebp, 4
jl 0x411405
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
imul eax, ecx
xor ebp, ebp
lea eax, [edx + eax*4]
mov dword [esp + 0x1c], eax
nop dword [eax]
xor edx, edx
test ecx, ecx
jle 0x411476
lea edi, [eax + ebp]
nop dword [eax]
mov ecx, dword [ebx]
lea edi, [edi + 4]
mov al, byte [edi - 4]
xor byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
cmp edx, ecx
jl 0x411460
mov eax, dword [esp + 0x1c]
inc ebp
add ebx, 4
cmp ebp, 4
jl 0x411450
mov eax, dword [esi + 8]
dec eax
mov dword [esp + 0x1c], eax
cmp eax, 1
jl 0x41156c
mov eax, dword [esi]
mov ebp, 4
mov ebx, dword [esp + 0x10]
nop dword [eax + eax]
xor edi, edi
test eax, eax
jle 0x4114d4
mov edx, dword [ebx]
movzx ecx, byte [edx + edi]
mov eax, ecx
and eax, 0xfffffff0
and ecx, 0x8000000f
jns 0x4114be
dec ecx
or ecx, 0xfffffff0
inc ecx
movzx eax, byte [eax + ecx + 0x4532e8]
mov byte [edx + edi], al
inc edi
mov eax, dword [esi]
cmp edi, eax
jl 0x4114a6
mov ecx, eax
jmp 0x4114d6
mov ecx, dword [esi]
add ebx, 4
sub ebp, 1
jne 0x4114a0
mov ebx, dword [esp + 0x10]
lea eax, [ecx - 1]
push eax
push 1
push ebx
mov ecx, esi
call fcn.00411680
mov eax, dword [esi]
mov ecx, esi
sub eax, 2
push eax
push 2
push ebx
call fcn.00411680
mov eax, dword [esi]
mov ecx, esi
sub eax, 3
push eax
push 3
push ebx
call fcn.00411680
mov ecx, dword [esi]
mov eax, ecx
imul eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea edx, [edx + eax*4]
mov dword [esp + 0x14], edx
xor eax, eax
test ecx, ecx
jle 0x411546
lea edi, [edx + ebp]
nop dword [eax]
mov edx, dword [ebx]
lea edi, [edi + 4]
mov cl, byte [edi - 4]
xor byte [edx + eax], cl
inc eax
mov ecx, dword [esi]
cmp eax, ecx
jl 0x411530
mov edx, dword [esp + 0x14]
inc ebp
add ebx, 4
cmp ebp, 4
jl 0x411524
push dword [esp + 0x10]
mov ecx, esi
call fcn.00411b50
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 1
jge 0x411490
mov eax, dword [esi]
mov ebp, 4
mov ebx, dword [esp + 0x10]
xor edi, edi
test eax, eax
jle 0x4115ae
nop dword [eax]
mov edx, dword [ebx]
movzx ecx, byte [edx + edi]
mov eax, ecx
and eax, 0xfffffff0
and ecx, 0x8000000f
jns 0x411598
dec ecx
or ecx, 0xfffffff0
inc ecx
movzx eax, byte [eax + ecx + 0x4532e8]
mov byte [edx + edi], al
inc edi
mov eax, dword [esi]
cmp edi, eax
jl 0x411580
mov ecx, eax
jmp 0x4115b0
mov ecx, dword [esi]
add ebx, 4
sub ebp, 1
jne 0x411577
mov ebx, dword [esp + 0x10]
lea eax, [ecx - 1]
push eax
push 1
push ebx
mov ecx, esi
call fcn.00411680
mov eax, dword [esi]
mov ecx, esi
sub eax, 2
push eax
push 2
push ebx
call fcn.00411680
mov eax, dword [esi]
mov ecx, esi
sub eax, 3
push eax
push 3
push ebx
call fcn.00411680
mov ecx, dword [esi]
nop dword [eax]
xor edx, edx
test ecx, ecx
jle 0x411616
mov edi, dword [esp + 0x24]
add edi, ebp
nop dword [eax]
mov ecx, dword [ebx]
lea edi, [edi + 4]
mov al, byte [edi - 4]
xor byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
cmp edx, ecx
jl 0x411600
mov eax, ecx
jmp 0x411618
mov eax, dword [esi]
inc ebp
add ebx, 4
cmp ebp, 4
jl 0x4115f0
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov ebp, dword [esp + 0x20]
nop dword [eax + eax]
xor ecx, ecx
test eax, eax
jle 0x411652
lea edx, [ebx + ebp]
nop dword [eax]
mov eax, dword [edi]
lea edx, [edx + 4]
mov al, byte [ecx + eax]
inc ecx
mov byte [edx - 4], al
mov eax, dword [esi]
cmp ecx, eax
jl 0x411640
inc ebx
add edi, 4
cmp ebx, 4
jl 0x411630
mov ebx, dword [esp + 0x10]
push dword [ebx]
call fcn.00423d7f
push ebx
call fcn.00423d7f
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc