Function at 0x43c550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 8], 0xa050407
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43c5ae
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xdc030fd5
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x2d
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x43c580
mov ebx, dword [esp + 8]
mov eax, dword [0x4489e0]
test eax, eax
je 0x43c60c
xor ecx, ecx
mov edx, dword [0x4489e4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x14483c8c
je 0x43c5e0
inc ecx
cmp eax, ecx
jne 0x43c5d0
jmp 0x43c60c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43c60c
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x4489e8]
push eax
call fcn.00439450
add esp, 0x24
mov ebx, eax
mov dword [esp + 8], 0xe3222d4b
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x43c693
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + ecx]
add edx, 0x70e0ef86
add eax, 0x70e0ef86
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
mov ecx, eax
or ecx, 0x55
and eax, 0x55
add eax, ecx
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
mov eax, dword [esp]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp], eax
mov eax, dword [esp]
cmp eax, 0xd
jb 0x43c640
cmp ebx, dword [esp + 8]
jne 0x43c872
push dword [esp + 0x20]
call fcn.00437740
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0xa050407
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 8
ja 0x43c710
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add ecx, 0xdc030fd5
xor ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x2d
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 9
jb 0x43c6e0
mov edi, dword [ebp + 0x14]
mov ebx, dword [esp + 8]
mov ecx, dword [0x4489e0]
test ecx, ecx
je 0x43c770
xor edx, edx
mov edi, dword [0x4489e4]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x14483c8c
je 0x43c743
inc edx
cmp ecx, edx
jne 0x43c730
mov edi, dword [ebp + 0x14]
jmp 0x43c770
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, ebx
mov edi, dword [ebp + 0x14]
je 0x43c770
lea edx, [esp + 0x20]
push edx
push eax
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x4489e8]
push ecx
call fcn.00439450
add esp, 0x24
mov ebx, eax
test edi, edi
je 0x43c869
test ebx, ebx
js 0x43c869
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43c862
mov ecx, dword [esi + 0xc]
shr ecx, 1
mov edx, dword [edi]
cmp edx, ecx
jb 0x43c798
mov edx, ecx
test edx, edx
je 0x43c85d
mov dword [esp + 0x1c], esi
mov ecx, esi
add ecx, 0x10
mov esi, edx
and esi, 3
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
je 0x43c7f3
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebx, word [ecx]
xor edx, edx
test bx, bx
setne dl
lea ecx, [ecx + edx*2]
mov word [eax], bx
add eax, 2
inc edi
cmp esi, edi
jne 0x43c7c0
mov edx, dword [esp + 0x28]
sub edx, edi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 0x14]
cmp dword [esp + 0x28], 4
jae 0x43c800
jmp 0x43c85d
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x28], 4
jb 0x43c85d
nop
nop
movzx esi, word [ecx]
xor ebx, ebx
test si, si
setne bl
mov word [eax], si
lea esi, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax + 2], cx
lea ecx, [esi + ebx*2]
movzx esi, word [esi + ebx*2]
xor ebx, ebx
test si, si
setne bl
mov word [eax + 4], si
lea esi, [ecx + ebx*2]
movzx edi, word [ecx + ebx*2]
xor ecx, ecx
test di, di
setne cl
lea ecx, [esi + ecx*2]
mov word [eax + 6], di
add eax, 8
add edx, 0xfffffffc
jne 0x43c800
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 0x14]
mov word [eax], 0
mov eax, dword [esi + 0xc]
shr eax, 1
mov dword [edi], eax
push esi
call fcn.00437830
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret