Function at 0x423120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x4ce540]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push 0x3f
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xab]
push edi
push ecx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x13c], edi
mov byte [ebp - 0xac], 0
call fcn.00427b00
push 0x3f
lea edx, [ebp - 0x6b]
push edi
push edx
mov byte [ebp - 0x6c], 0
call fcn.00427b00
mov esi, dword [ebp + 0xc]
push 0x246
push str.algorithm.cpp
push esi
call fcn.0043ff90
mov dword [ebp - 0x148], eax
xor eax, eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x140], edi
call fcn.0043de10
push 0x398
mov dword [ebp - 0x154], eax
call fcn.004404a0
mov ebx, eax
add esp, 0x28
test ebx, ebx
je 0x4235fc
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x4235fc
push edi
push eax
push ebx
call fcn.00440600
add esp, 0xc
test eax, eax
je 0x4235fc
call fcn.00441aa0
mov edi, eax
mov dword [ebp - 0x150], edi
call fcn.0043de10
mov dword [ebp - 0x120], eax
call fcn.0043de10
mov dword [ebp - 0x14c], eax
call fcn.0043de10
mov dword [ebp - 0x144], eax
call fcn.0043de10
mov dword [ebp - 0x12c], eax
call fcn.0043de10
mov dword [ebp - 0x134], eax
call fcn.0043de10
push ebx
mov dword [ebp - 0x13c], eax
call fcn.00440a40
push ebx
mov dword [ebp - 0x128], eax
call fcn.00440a40
push ebx
mov dword [ebp - 0x124], eax
call fcn.00440a40
push ebx
mov dword [ebp - 0x130], eax
call fcn.00440a40
add esp, 0x10
mov dword [ebp - 0x140], eax
test edi, edi
je 0x4235f6
cmp dword [ebp - 0x120], 0
je 0x4235f6
cmp dword [ebp - 0x128], 0
je 0x4235f6
cmp dword [ebp - 0x124], 0
je 0x4235f6
cmp dword [ebp - 0x130], 0
je 0x4235f6
test eax, eax
je 0x4235f6
cmp dword [ebp - 0x144], 0
je 0x4235f6
cmp dword [ebp - 0x12c], 0
je 0x4235f6
cmp dword [ebp - 0x134], 0
je 0x4235f6
cmp dword [ebp - 0x13c], 0
je 0x4235f6
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x124]
push 0
push eax
push ecx
push edx
push ebx
call fcn.00440d00
add esp, 0x14
test eax, eax
je 0x4235f6
mov edi, edi
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x120]
push eax
push ecx
call fcn.00441f90
add esp, 8
test eax, eax
je 0x4235f6
mov edx, dword [ebp - 0x120]
cmp dword [edx + 4], 0
je 0x423360
mov ecx, dword [ebp - 0x128]
push 0
push 0
push 0
mov eax, edx
push eax
push ecx
push ebx
call fcn.00441240
add esp, 0x18
test eax, eax
je 0x4235f6
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x128]
push 0
push edx
push eax
push ecx
push ebx
call fcn.00440de0
add esp, 0x14
test eax, eax
je 0x4235f6
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0xac]
push edx
push eax
call fcn.0043c250
add esp, 8
test eax, eax
je 0x4235f6
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x8c]
push ecx
push edx
call fcn.0043c250
add esp, 8
test eax, eax
je 0x4235f6
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
push eax
push ecx
push ebx
call fcn.00440630
add esp, 0xc
mov dword [ebp - 0x138], eax
test eax, eax
je 0x4235f6
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x130]
push 0
push edx
push eax
push 0
push ecx
push ebx
call fcn.00441240
add esp, 0x18
test eax, eax
je 0x4235f6
mov edx, dword [ebp - 0x130]
push edx
push ebx
call fcn.00441020
add esp, 8
test eax, eax
jne 0x4235f6
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x120]
push eax
push ecx
push 0
push edx
push ebx
call fcn.00441240
add esp, 0x18
test eax, eax
je 0x4235f6
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x140]
push 0
push eax
push ecx
push edx
push ebx
call fcn.00440de0
add esp, 0x14
test eax, eax
je 0x4235f6
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x6c]
push eax
push ecx
call fcn.0043c250
add esp, 8
test eax, eax
je 0x4235f6
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x4c]
push edx
push eax
call fcn.0043c250
add esp, 8
test eax, eax
je 0x4235f6
mov edi, dword [ebp - 0x148]
push edi
lea ecx, [esi*8]
push ecx
lea edx, [ebp - 0x6c]
push 0x40
push edx
call fcn.0043ca00
add esp, 0x10
mov dword [ebp - 0x138], eax
test eax, eax
je 0x4235f6
push esi
push edi
call fcn.0043cb90
add esp, 8
test eax, eax
jne 0x423360
test esi, esi
jle 0x42355b
mov eax, edi
mov edi, dword [ebp - 0x15c]
sub edi, eax
mov ecx, esi
lea ebx, [ebx]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x423550
lea eax, [ebp - 0x11c]
push eax
call fcn.00443150
push 0x20
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.004435d0
mov eax, dword [ebp - 0x15c]
push esi
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004435d0
push 0x20
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.004435d0
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00443690
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x148]
lea edi, [eax + 1]
mov ecx, 0x10
lea esi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x41]
mov ecx, 8
lea esi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
push ecx
mov byte [eax], 4
push edx
add eax, 0x61
push eax
call fcn.0042b330
add esp, 0x3c
mov dword [ebp - 0x138], 1
mov edi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x42360f
push eax
call fcn.00440140
add esp, 4
test edi, edi
je 0x42361c
push edi
call fcn.0043dd50
add esp, 4
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x42362f
push eax
call fcn.0043dd50
add esp, 4
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x423642
push eax
call fcn.0043dd50
add esp, 4
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x423655
push eax
call fcn.0043dd50
add esp, 4
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x423668
push eax
call fcn.0043dd50
add esp, 4
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x42367b
push eax
call fcn.0043dd50
add esp, 4
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x42368e
push eax
call fcn.0043dd50
add esp, 4
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x4236a1
push eax
call fcn.00440af0
add esp, 4
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x4236b4
push eax
call fcn.00440af0
add esp, 4
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x4236c7
push eax
call fcn.00440af0
add esp, 4
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x4236da
push eax
call fcn.00440af0
add esp, 4
test ebx, ebx
je 0x4236e7
push ebx
call fcn.004412f0
add esp, 4
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x4236fa
push eax
call fcn.00441b00
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x138]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265ea
mov esp, ebp
pop ebp
ret