Function at 0x43a630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 8], 0x8a858487
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x43a6a6
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax - 0x3e428eeb]
add eax, 0x15
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov ecx, eax
xor ecx, 0x6c
and eax, 0x6c
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x43a660
mov edi, dword [esp + 8]
mov eax, dword [0x446fd4]
test eax, eax
je 0x43a6f9
xor ecx, ecx
mov edx, dword [0x446fd8]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc58dd7f7
je 0x43a6d0
inc ecx
cmp eax, ecx
jne 0x43a6c0
jmp 0x43a6f9
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x43a6f9
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push dword [ebp + 8]
push 5
push dword [0x446fdc]
push eax
call fcn.00436e40
add esp, 0x20
mov edi, eax
cmp edi, 0xc0000023
jne 0x43a92c
push dword [esp + 0x10]
call fcn.004350e0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], 0x8a858487
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 7
ja 0x43a786
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 8]
lea edi, [ecx - 0x3e428eeb]
add ecx, 0x15
and ecx, edx
or edi, edx
sub edi, ecx
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
mov edx, ecx
xor edx, 0x6c
and ecx, 0x6c
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 8
jb 0x43a740
mov edi, dword [esp + 8]
mov ecx, dword [0x446fd4]
test ecx, ecx
je 0x43a7d7
xor edx, edx
mov ebx, dword [0x446fd8]
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0xc58dd7f7
je 0x43a7b0
inc edx
cmp ecx, edx
jne 0x43a7a0
jmp 0x43a7d7
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, edi
je 0x43a7d7
lea edx, [esp + 0x10]
push edx
push eax
push esi
push 2
push dword [ebp + 8]
push 5
push dword [0x446fdc]
push ecx
call fcn.00436e40
add esp, 0x20
mov edi, eax
test edi, edi
js 0x43a923
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43a8d8
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43a8d1
mov eax, dword [esi + 0x10]
shr eax, 1
mov ebx, dword [ecx]
cmp ebx, eax
jb 0x43a805
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x20], esi
je 0x43a8c5
mov eax, ebx
mov dword [esp + 0x1c], edi
mov ebx, esi
add ebx, 0x2c
mov edi, eax
and edi, 3
je 0x43a856
mov dword [esp + 0x18], eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [ebx]
xor eax, eax
test si, si
setne al
lea ebx, [ebx + eax*2]
mov word [edx], si
add edx, 2
inc ecx
cmp edi, ecx
jne 0x43a830
mov eax, dword [esp + 0x18]
mov esi, eax
sub esi, ecx
mov ecx, dword [ebp + 0x10]
jmp 0x43a858
mov esi, eax
cmp eax, 4
mov edi, dword [esp + 0x1c]
jb 0x43a8c5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx]
xor eax, eax
test cx, cx
setne al
mov word [edx], cx
lea ecx, [ebx + eax*2]
movzx eax, word [ebx + eax*2]
xor ebx, ebx
test ax, ax
setne bl
mov word [edx + 2], ax
lea eax, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [edx + 4], cx
lea ecx, [eax + ebx*2]
movzx eax, word [eax + ebx*2]
xor ebx, ebx
test ax, ax
setne bl
lea ebx, [ecx + ebx*2]
mov word [edx + 6], ax
add edx, 8
add esi, 0xfffffffc
jne 0x43a870
mov ecx, dword [ebp + 0x10]
mov word [edx], 0
mov esi, dword [esp + 0x20]
mov ebx, dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
test ebx, ebx
je 0x43a8e4
mov eax, dword [esi + 0x14]
mov dword [ebx], eax
mov eax, dword [ebp + 0x1c]
test ecx, ecx
je 0x43a8f2
mov edx, dword [esi + 0x18]
shr edx, 1
mov dword [ecx], edx
mov ecx, dword [ebp + 0x20]
test eax, eax
je 0x43a900
mov edx, dword [esi + 0x1c]
shr edx, 1
mov dword [eax], edx
mov eax, dword [ebp + 0x24]
test ecx, ecx
je 0x43a90c
mov edx, dword [esi + 0x20]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x28]
test eax, eax
je 0x43a91a
mov edx, dword [esi + 0x24]
shr edx, 1
mov dword [eax], edx
test ecx, ecx
je 0x43a923
mov eax, dword [esi + 0x28]
mov dword [ecx], eax
push esi
call fcn.00435190
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret