Function at 0x42aef2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, 0xb4
lea ebp, [esp - 0x54]
call fcn.004653a0
push ebx
push esi
mov esi, dword [ebp + 0x64]
xor ebx, ebx
shr esi, 3
cmp esi, 0x14
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x30], 2
je 0x42af2e
cmp esi, 0x1c
je 0x42af2e
cmp esi, 0x20
je 0x42af2e
xor eax, eax
jmp 0x42b452
cmp dword [ebp + 0x68], ebx
jne 0x42af3b
call fcn.0041fdcf
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x60]
mov ecx, 0x200
cmp eax, ecx
jae 0x42af49
mov eax, ecx
add eax, 0x3f
shr eax, 6
shl eax, 6
cmp dword [ebp + 0x70], ebx
mov dword [ebp + 0x60], eax
je 0x42af62
cmp dword [ebp + 0x70], esi
jae 0x42af65
mov dword [ebp + 0x6c], ebx
cmp dword [ebp + 0x70], esi
jbe 0x42af6a
mov dword [ebp + 0x70], esi
cmp dword [ebp + 0x6c], ebx
je 0x42af81
push dword [ebp + 0x70]
lea eax, [ebp - 0x40]
push dword [ebp + 0x6c]
push eax
call fcn.00464880
add esp, 0xc
push edi
call fcn.0040e423
mov edi, eax
cmp edi, ebx
je 0x42b44e
call fcn.004160e1
test eax, eax
mov dword [ebp + 0x44], eax
je 0x42b431
push edi
call fcn.0040e49f
push edi
call fcn.0040e546
push edi
mov dword [ebp + 0x64], eax
call fcn.0040e546
push edi
mov dword [ebp + 0x20], eax
call fcn.0040e546
push edi
mov dword [ebp + 0x48], eax
call fcn.0040e546
push edi
mov dword [ebp + 0x40], eax
call fcn.0040e546
push edi
mov dword [ebp + 0x24], eax
call fcn.0040e546
push edi
mov dword [ebp + 0x28], eax
call fcn.0040e546
push edi
mov dword [ebp + 0x3c], eax
call fcn.0040e546
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x60]
add esp, 0x24
dec eax
push eax
call fcn.0040d553
push eax
push dword [ebp + 0x4c]
call fcn.00419b5f
add esp, 0xc
test eax, eax
je 0x42b431
push dword [ebp + 0x34]
push 0
push dword [ebp + 0x7c]
call fcn.0043277b
add esp, 0xc
inc dword [ebp + 0x34]
test eax, eax
je 0x42b431
xor ebx, ebx
cmp dword [ebp + 0x70], ebx
jne 0x42b047
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00406b05
pop ecx
pop ecx
mov dword [ebp + 0x50], 1
jmp 0x42b04d
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x70], ebx
push esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00464880
push esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00464880
lea eax, [esi - 1]
add esp, 0x18
cmp eax, ebx
jl 0x42b07c
inc byte [ebp + eax - 0x20]
jne 0x42b07c
dec eax
jns 0x42b073
push ebx
push dword [ebp + 0x68]
lea eax, [ebp]
push ebx
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0041fd03
push ebx
push dword [ebp + 0x68]
lea eax, [ebp - 0x60]
push ebx
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.0041fd03
add esp, 0x30
xor eax, eax
cmp esi, ebx
jle 0x42b0b8
mov cl, byte [ebp + eax - 0x60]
xor byte [ebp + eax], cl
inc eax
cmp eax, esi
jl 0x42b0ab
push dword [ebp + 0x40]
or byte [ebp], 0x80
or byte [ebp + esi - 1], 1
lea eax, [ebp]
push esi
push eax
call fcn.0040d8b4
add esp, 0xc
test eax, eax
je 0x42b431
push dword [ebp + 0x7c]
push dword [ebp + 0x50]
push edi
push 0x32
push dword [ebp + 0x40]
call fcn.00432afd
add esp, 0x14
test eax, eax
jg 0x42b0fc
je 0x42b010
jmp 0x42b431
push 0
push 2
push dword [ebp + 0x7c]
call fcn.0043277b
add esp, 0xc
test eax, eax
je 0x42b431
push 0
push 3
push dword [ebp + 0x7c]
call fcn.0043277b
add esp, 0xc
test eax, eax
je 0x42b431
and dword [ebp + 0x50], 0
mov eax, dword [ebp + 0x60]
dec eax
xor edx, edx
mov ecx, 0xa0
div ecx
mov dword [ebp + 0x2c], eax
cmp dword [ebp + 0x50], 0
je 0x42b15c
push dword [ebp + 0x50]
push 0
push dword [ebp + 0x7c]
call fcn.0043277b
add esp, 0xc
test eax, eax
je 0x42b431
xor ebx, ebx
push ebx
push dword [ebp + 0x48]
call fcn.0040d87a
cmp dword [ebp + 0x2c], ebx
pop ecx
pop ecx
jl 0x42b1e9
lea eax, [esi - 1]
test eax, eax
jl 0x42b17e
inc byte [ebp + eax - 0x20]
jne 0x42b17e
dec eax
jns 0x42b175
push 0
push dword [ebp + 0x68]
lea eax, [ebp]
push 0
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.0041fd03
push dword [ebp + 0x64]
lea eax, [ebp]
push esi
push eax
call fcn.0040d8b4
add esp, 0x24
test eax, eax
je 0x42b431
mov eax, esi
shl eax, 3
imul eax, ebx
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x64]
call fcn.00419b5f
add esp, 0xc
test eax, eax
je 0x42b431
push dword [ebp + 0x64]
push dword [ebp + 0x48]
push dword [ebp + 0x48]
call fcn.0040fc09
add esp, 0xc
test eax, eax
je 0x42b431
inc ebx
cmp ebx, dword [ebp + 0x2c]
jle 0x42b16e
mov eax, dword [ebp + 0x60]
dec eax
push eax
push dword [ebp + 0x48]
call fcn.0040db4b
test eax, eax
pop ecx
pop ecx
je 0x42b431
push dword [ebp + 0x48]
mov ebx, dword [ebp + 0x24]
push ebx
call fcn.0040d7b8
test eax, eax
pop ecx
pop ecx
je 0x42b431
push dword [ebp + 0x4c]
push ebx
push ebx
call fcn.0040fc09
add esp, 0xc
test eax, eax
je 0x42b431
push dword [ebp + 0x40]
push dword [ebp + 0x64]
call fcn.00419a24
test eax, eax
pop ecx
pop ecx
je 0x42b431
push edi
push dword [ebp + 0x64]
push ebx
push dword [ebp + 0x28]
push 0
call fcn.00416ecd
add esp, 0x14
test eax, eax
je 0x42b431
call fcn.0040d553
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x64]
call fcn.0040fb61
add esp, 0xc
test eax, eax
je 0x42b431
push dword [ebp + 0x64]
push ebx
mov ebx, dword [ebp + 0x3c]
push ebx
call fcn.0040fb61
add esp, 0xc
test eax, eax
je 0x42b431
push dword [ebp + 0x4c]
push ebx
call fcn.0040da2d
test eax, eax
pop ecx
pop ecx
jl 0x42b2b8
push dword [ebp + 0x7c]
push 1
push edi
push 0x32
push ebx
call fcn.00432afd
add esp, 0x14
test eax, eax
jg 0x42b2cd
jne 0x42b431
inc dword [ebp + 0x50]
cmp dword [ebp + 0x50], 0x1000
jl 0x42b13e
jmp 0x42b010
push 1
push 2
push dword [ebp + 0x7c]
call fcn.0043277b
add esp, 0xc
test eax, eax
je 0x42b431
call fcn.0040d553
push eax
push ebx
push dword [ebp + 0x4c]
call fcn.0040fb61
add esp, 0xc
test eax, eax
je 0x42b431
push edi
push dword [ebp + 0x40]
push dword [ebp + 0x4c]
push 0
push dword [ebp + 0x64]
call fcn.00416ecd
add esp, 0x14
test eax, eax
je 0x42b431
push 2
push dword [ebp + 0x4c]
call fcn.0040d87a
test eax, eax
pop ecx
pop ecx
je 0x42b431
push edi
push ebx
push dword [ebp + 0x44]
call fcn.00415db5
add esp, 0xc
test eax, eax
je 0x42b431
mov esi, dword [ebp + 0x4c]
mov ebx, dword [ebp + 0x20]
jmp 0x42b379
cmp dword [ebx + 4], 1
jne 0x42b396
mov eax, dword [ebx]
cmp dword [eax], 1
jne 0x42b396
cmp dword [ebx + 0xc], 0
jne 0x42b396
call fcn.0040d553
push eax
push esi
push esi
call fcn.0040fc09
add esp, 0xc
test eax, eax
je 0x42b431
inc dword [ebp + 0x30]
push dword [ebp + 0x44]
push edi
push dword [ebp + 0x3c]
push dword [ebp + 0x64]
push esi
push ebx
call fcn.0041569a
add esp, 0x18
test eax, eax
jne 0x42b34b
jmp 0x42b431
push 1
push 3
push dword [ebp + 0x7c]
call fcn.0043277b
add esp, 0xc
test eax, eax
je 0x42b431
mov esi, dword [ebp + 0x5c]
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [ebp + 0x38], 1
je 0x42b3c5
push eax
call fcn.0040d60f
pop ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42b3d3
push eax
call fcn.0040d60f
pop ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b3e1
push eax
call fcn.0040d60f
pop ecx
push dword [ebp + 0x3c]
call fcn.0040dc6e
push dword [ebp + 0x40]
mov dword [esi + 0xc], eax
call fcn.0040dc6e
push ebx
mov dword [esi + 0x10], eax
call fcn.0040dc6e
add esp, 0xc
cmp dword [esi + 0xc], 0
mov dword [esi + 0x14], eax
je 0x42b413
cmp dword [esi + 0x10], 0
je 0x42b413
test eax, eax
jne 0x42b419
and dword [ebp + 0x38], 0
jmp 0x42b431
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x42b425
mov ecx, dword [ebp + 0x50]
mov dword [eax], ecx
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x42b431
mov ecx, dword [ebp + 0x30]
mov dword [eax], ecx
push edi
call fcn.0040e4e8
push edi
call fcn.0040e479
cmp dword [ebp + 0x44], 0
pop ecx
pop ecx
je 0x42b44e
push dword [ebp + 0x44]
call fcn.00415d7f
pop ecx
mov eax, dword [ebp + 0x38]
pop edi
pop esi
pop ebx
add ebp, 0x54
leave
ret