Function at 0x411624
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x42fe44
call fcn.0041a90a
mov edi, ecx
mov dword [ebp - 0x2c], edi
and dword [ebp - 4], 0
lea ebx, [edi + 0x38]
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x28], ebx
cmp esi, eax
je 0x411665
push 0xc
mov edi, eax
pop ebx
mov ecx, esi
call fcn.004043bd
add esi, ebx
cmp esi, edi
jne 0x41164d
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x30]
xor ecx, ecx
sub eax, dword [edi + 0x2c]
push 0x34
mov dword [ebp - 0x24], ecx
cdq
pop ecx
idiv ecx
test eax, eax
je 0x41173b
xor esi, esi
mov dword [ebp - 0x30], esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
call fcn.004042fc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
mov eax, dword [edi + 0x2c]
add eax, esi
push eax
call fcn.004042fc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x48]
je 0x4116b3
mov byte [ebp - 0x1d], 0
jmp 0x411701
xor ecx, ecx
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x4116fd
cmp dword [ebp - 0x5c], 0xf
lea edi, [ebp - 0x70]
lea eax, [ebp - 0x58]
cmova edi, dword [ebp - 0x70]
cmp dword [ebp - 0x44], 0xf
cmova eax, dword [ebp - 0x58]
movsx eax, byte [eax + ecx]
push eax
call fcn.0041d8d0
mov esi, eax
mov eax, dword [ebp - 0x34]
pop ecx
movsx ecx, byte [edi + eax]
push ecx
call fcn.0041d8d0
pop ecx
cmp eax, esi
jne 0x4116ad
mov ecx, dword [ebp - 0x34]
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, dword [ebp - 0x60]
jb 0x4116bc
mov byte [ebp - 0x1d], 1
lea ecx, [ebp - 0x70]
call fcn.00402616
lea ecx, [ebp - 0x58]
call fcn.00402616
cmp byte [ebp - 0x1d], 0
jne 0x41174f
mov edi, dword [ebp - 0x2c]
push 0x34
pop ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x30]
inc esi
sub eax, dword [edi + 0x2c]
cdq
idiv ecx
add dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], esi
cmp esi, eax
mov esi, dword [ebp - 0x30]
jb 0x411683
xor bl, bl
lea ecx, [ebp + 8]
call fcn.00402616
mov al, bl
call fcn.0041a8b9
ret 0x18
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xffffffff
je 0x41173b
xor eax, eax
imul ecx, ecx, 0x34
lea edi, [ebp - 0x1c]
sub esp, 0x18
stosd dword es:[edi], eax
mov esi, esp
push 0xffffffffffffffff
stosd dword es:[edi], eax
push ecx
mov dword [ebp - 0x30], ecx
push 0x28
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 0x2c]
add edi, ecx
lea ecx, [edi + 0x1c]
call fcn.00408b39
inc eax
lea ecx, [edi + 0x1c]
push eax
push esi
call fcn.00404197
push 0x2c
lea eax, [ebp - 0x1c]
push eax
call fcn.00410da9
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
and dword [ebp - 0x24], 0
test eax, eax
je 0x4118a2
xor ebx, ebx
sub esp, 0x18
lea eax, [ecx + ebx]
mov ecx, esp
push eax
call fcn.004042fc
lea eax, [ebp - 0x58]
push eax
call fcn.00410ead
mov ecx, dword [ebp - 0x1c]
push eax
lea ecx, [ecx + ebx]
call fcn.00404255
lea ecx, [ebp - 0x58]
call fcn.00402616
mov esi, dword [ebp - 0x1c]
push ecx
add esi, ebx
push 0x20
mov ecx, esi
call fcn.00408b39
test eax, eax
jle 0x411815
push eax
push 0
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00404197
mov ecx, dword [ebp - 0x1c]
push eax
lea ecx, [ecx + ebx]
call fcn.00404255
lea ecx, [ebp - 0x58]
call fcn.00402616
mov esi, 0x43a150
lea edi, [ebp - 0x3c]
push 0x34
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x3c], dl
inc ecx
cmp ecx, 7
jl 0x411826
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push 0
push eax
lea ecx, [ecx + ebx]
call fcn.004041eb
cmp eax, 0xffffffff
je 0x411880
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
inc eax
push eax
lea ecx, [esi + 0x20]
call fcn.00411b4c
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp - 0x1c]
add ecx, ebx
add eax, ebx
cmp ecx, eax
je 0x411880
cmp dword [eax + 0x14], 0xf
mov edx, eax
jbe 0x411877
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.0040447e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0x18
pop edi
cdq
add ebx, edi
idiv edi
mov esi, dword [ebp - 0x24]
inc esi
mov dword [ebp - 0x24], esi
cmp esi, eax
jb 0x4117b5
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ecx, edi
push 0
lea esi, [edi + 0x2c]
mov eax, dword [esi]
add eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x18]
dec eax
imul eax, dword [edi + 0x1c]
push eax
call fcn.00411241
mov byte [ebp - 0x1d], al
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x4118ed
cmp dword [ebx], eax
jne 0x4118d7
mov ecx, ebx
call fcn.00404333
jmp 0x4118ed
sub eax, dword [ebx]
push 0xc
pop ecx
cdq
idiv ecx
mov ecx, ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411c75
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x411918
cmp dword [esi], eax
jne 0x411902
mov ecx, esi
call fcn.00404386
jmp 0x411918
sub eax, dword [esi]
push 0x34
pop ecx
cdq
idiv ecx
mov ecx, esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411ccb
lea ecx, [edi + 0x20]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x411942
cmp dword [ecx], eax
jne 0x41192e
call fcn.004043bd
jmp 0x411942
sub eax, dword [ecx]
push 0x18
cdq
pop esi
idiv esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411d21
mov eax, dword [ebx + 4]
xor ecx, ecx
sub eax, dword [ebx]
movzx ebx, byte [ebp - 0x1d]
sub eax, 0xbfff4
cmp eax, 0xc
cmovb ebx, ecx
lea ecx, [ebp - 0x1c]
call fcn.004043bd
jmp 0x41173d