Function at 0x435323
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
add ebx, 0xa
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push esi
push edi
and ebx, 0x80000007
jns 0x43535b
dec ebx
or ebx, 0xfffffff8
inc ebx
je 0x435364
push 8
pop eax
sub eax, ebx
mov ebx, eax
call fcn.00441cb5
and al, 0xf8
xor ecx, ecx
inc ecx
or al, bl
mov byte [ebp - 0xc], al
mov esi, ecx
mov dword [ebp - 0x28], ecx
test ebx, ebx
je 0x43538e
call fcn.00441cb5
mov byte [ebp + esi - 0xc], al
inc esi
sub ebx, 1
jne 0x43537c
xor ecx, ecx
inc ecx
xor eax, eax
cmp eax, 8
jae 0x43555b
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 8
jl 0x435393
mov eax, dword [ebp - 0x20]
lea edi, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
and dword [eax], 0
mov eax, edi
sub eax, ebx
mov dword [ebp - 0x1c], eax
cmp esi, 8
jge 0x4353d3
call fcn.00441cb5
mov ecx, dword [ebp - 0x18]
mov byte [ebp + esi - 0xc], al
inc esi
inc ecx
cmp esi, 8
mov dword [ebp - 0x18], ecx
jne 0x43542e
lea eax, [ebp - 0xc]
xor edx, edx
sub edi, eax
lea ecx, [ebp - 0xc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 8
jl 0x4353dc
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0xc]
push eax
call fcn.0043522d
mov esi, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, ebx
push 8
pop edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x435404
mov eax, dword [ebp - 0xc]
mov edi, ebx
mov dword [ebp - 0x14], eax
xor esi, esi
mov eax, dword [ebp - 8]
mov ebx, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add dword [eax], 8
sub dword [ebp - 0x1c], 8
cmp ecx, 2
jle 0x4353ba
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4354bf
lea eax, [ebp - 0x14]
sub eax, ebx
mov dword [ebp - 0x18], eax
cmp esi, 8
jge 0x435460
mov ecx, dword [ebp + 8]
mov al, byte [ecx]
mov byte [ebp + esi - 0xc], al
inc esi
inc ecx
dec edx
mov dword [ebp + 8], ecx
cmp esi, 8
mov dword [ebp + 0xc], edx
jne 0x4354bb
lea eax, [ebp - 0xc]
xor edx, edx
sub edi, eax
lea ecx, [ebp - 0xc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 8
jl 0x435469
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0xc]
push eax
call fcn.0043522d
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ecx, ebx
push 8
pop edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x435491
mov eax, dword [ebp - 0xc]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov edi, ebx
mov dword [ebp - 0x14], eax
mov ebx, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add dword [eax], 8
sub dword [ebp - 0x18], 8
test edx, edx
jne 0x435446
lea edx, [ebp - 0x14]
xor eax, eax
sub edx, ebx
inc eax
mov dword [ebp - 0x18], edx
cmp esi, 8
jge 0x4354ea
mov eax, esi
inc esi
cmp eax, 8
jae 0x43555b
mov byte [ebp + eax - 0xc], 0
mov eax, dword [ebp - 0x28]
inc eax
cmp esi, 8
mov dword [ebp - 0x28], eax
jne 0x435545
lea eax, [ebp - 0xc]
xor edx, edx
sub edi, eax
lea ecx, [ebp - 0xc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 8
jl 0x4354f3
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0xc]
push eax
call fcn.0043522d
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, ebx
push 8
pop esi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x43551b
mov eax, dword [ebp - 0xc]
mov edi, ebx
mov dword [ebp - 0x14], eax
mov ebx, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add dword [eax], 8
sub edx, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
cmp eax, 7
jle 0x4354ca
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret
call fcn.0043803f
int3