Function at 0x40329e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4f7004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov edx, 0xfffffff
push esi
push edi
mov dword [ebp - 0x44], ebx
mov eax, dword [ebx]
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
and edi, edx
mov dword [ebp - 0x14], eax
and ecx, edx
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov al, byte [ebx + 8]
mov byte [ebp - 5], al
mov eax, dword [ebx + 0x18]
and eax, edx
mov dword [ebp - 0x28], ecx
lea ecx, [edi + 0x400000]
mov dword [ebp - 0x2c], edi
push eax
mov dword [ebp - 0x34], ecx
call fcn.0040143a
mov esi, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], esi
test eax, eax
je 0x4035b4
mov ecx, eax
mov ebx, edi
and ecx, 7
not ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], ebx
jne 0x403323
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
jmp 0x40345d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
mov dword [ebp - 0xc], eax
lea edx, [ecx + edi]
ror edx, 8
imul edx, eax
mov eax, edi
ror eax, 0x1f
add edx, eax
xor edx, ebx
mov ebx, dword [ebp - 0x14]
mov esi, edx
movzx edi, bx
sub esi, ecx
mov eax, edx
ror eax, 0x1f
ror esi, 6
imul esi, edi
xor esi, eax
mov eax, ecx
xor esi, dword [ebp - 0x2c]
mov ecx, ebx
sub ecx, esi
shr eax, 0x10
ror ecx, 0x19
imul ecx, eax
mov dword [ebp - 0x20], eax
mov eax, esi
ror eax, 0x17
sub ecx, eax
mov eax, dword [ebp - 0x10]
xor ecx, edx
movzx ebx, ax
mov edx, ecx
mov eax, ecx
xor edx, dword [ebp - 0xc]
imul edx, ebx
shr eax, 6
xor edx, eax
xor edx, esi
mov esi, edx
sub esi, dword [ebp - 0xc]
xor esi, ecx
xor esi, dword [ebp - 0x10]
mov ecx, esi
mov eax, esi
xor ecx, dword [ebp - 0x10]
ror ecx, 4
imul ecx, edi
ror eax, 0x1e
sub ecx, eax
xor ecx, edx
mov edi, ecx
mov eax, ecx
xor edi, dword [ebp - 0xc]
rol edi, 5
imul edi, dword [ebp - 0x20]
ror eax, 0x19
sub edi, eax
xor edi, esi
mov edx, edi
mov eax, edi
xor edx, dword [ebp - 0x14]
ror edx, 0xe
imul edx, ebx
ror eax, 8
xor edx, eax
xor edx, ecx
mov ecx, edx
mov eax, edx
xor ecx, dword [ebp - 0x20]
imul ecx, dword [ebp - 0xc]
shr eax, 3
add ecx, eax
mov eax, dword [ebp - 0x10]
xor ecx, edi
mov dword [ebp - 0x1c], ecx
xor ecx, dword [ebp - 0x14]
sub eax, ecx
xor eax, edx
mov ecx, dword [ebp - 0x38]
lea edi, [ebp - 0x58]
mov esi, dword [ebp - 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
mov edx, ecx
movlpd qword [ebp - 0x58], xmm0
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
sub edx, 1
jne 0x403409
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x1c]
xor dword [ebp - 0x1c], eax
lea edx, [edx + ecx]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
xor dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
push 8
pop eax
sub eax, ecx
je 0x40343c
mov byte [edx], 0
inc edx
sub eax, 1
jne 0x403433
mov esi, dword [ebp - 0x24]
lea edi, [ebp - 0x1c]
mov ebx, esi
mov edx, ecx
mov al, byte [edi]
inc edi
mov byte [ebx], al
inc ebx
sub edx, 1
jne 0x403446
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], edx
lea edi, [ecx + esi]
mov edx, eax
mov dword [ebp - 0x20], edi
shr edx, 3
mov dword [ebp - 0x38], edx
test edx, edx
je 0x4035ab
mov edx, dword [ebp - 0x14]
sub ecx, edi
mov esi, dword [ebp - 0x30]
movzx eax, dx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
movzx ebx, ax
mov dword [ebp - 0x50], ebx
mov ebx, eax
shr edx, 0x10
shr ebx, 0x10
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ecx
mov edi, dword [ecx + edi]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x58], edi
mov ebx, dword [ecx + ebx + 4]
mov ecx, ebx
xor ecx, edx
mov dword [ebp - 0x54], ebx
lea edx, [eax + ecx]
mov eax, ecx
ror edx, 8
imul edx, dword [ebp - 0xc]
ror eax, 0x1f
add edx, eax
xor edx, edi
xor edx, esi
mov esi, edx
mov eax, edx
sub esi, dword [ebp - 0x10]
ror esi, 6
imul esi, dword [ebp - 0x4c]
ror eax, 0x1f
xor esi, eax
xor esi, ecx
mov ecx, dword [ebp - 0x14]
sub ecx, esi
mov eax, esi
ror ecx, 0x19
imul ecx, dword [ebp - 0x3c]
ror eax, 0x17
sub ecx, eax
xor ecx, edx
mov edx, ecx
mov eax, ecx
xor edx, dword [ebp - 0xc]
imul edx, dword [ebp - 0x50]
shr eax, 6
xor edx, eax
xor edx, esi
mov esi, edx
sub esi, dword [ebp - 0xc]
xor esi, ecx
xor esi, dword [ebp - 0x10]
mov ecx, esi
mov eax, esi
xor ecx, dword [ebp - 0x10]
ror ecx, 4
imul ecx, dword [ebp - 0x4c]
ror eax, 0x1e
sub ecx, eax
xor ecx, edx
mov edx, dword [ebp - 0xc]
xor edx, ecx
mov eax, ecx
rol edx, 5
imul edx, dword [ebp - 0x3c]
ror eax, 0x19
sub edx, eax
xor edx, esi
mov esi, edx
mov eax, edx
xor esi, dword [ebp - 0x14]
ror esi, 0xe
imul esi, dword [ebp - 0x50]
ror eax, 8
xor esi, eax
xor esi, ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, esi
mov eax, esi
imul ecx, dword [ebp - 0xc]
shr eax, 3
add ecx, eax
xor ecx, edx
mov eax, ecx
xor ecx, dword [ebp - 0x14]
xor eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov edx, eax
sub edx, ecx
mov ecx, dword [ebp - 0x34]
xor edx, esi
xor edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
mov dword [edi], esi
mov dword [edi + 4], edx
add edi, 8
sub dword [ebp - 0x38], 1
mov dword [ebp - 0x20], edi
jne 0x4034a4
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov al, byte [esi + eax - 1]
mov ebx, dword [ebp - 0x44]
jmp 0x4035b7
mov al, byte [ebp - 5]
cmp al, byte [ebp - 5]
je 0x4035c1
call fcn.0040116e
mov eax, dword [ebx + 0x10]
and eax, 0xfffffff
je 0x4035e6
push 4
mov dword [ebp - 0x44], 0x400000
lea edx, [ebp - 0x44]
pop ecx
lea edi, [eax + esi]
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x4035db
mov eax, dword [ebx + 0x1c]
and eax, 0xfffffff
je 0x4035f5
call fcn.00460150
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
and dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00401678
mov eax, esi
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448363
leave
ret