Function at 0x43c880
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 + 0x10], 0xa050407
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x43c8f3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xdc030fd5
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x2d
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x43c8c0
mov esi, dword [esp + 0x10]
mov eax, dword [0x4489e0]
test eax, eax
je 0x43c949
xor ecx, ecx
mov edx, dword [0x4489e4]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x52b46bba
je 0x43c920
inc ecx
cmp eax, ecx
jne 0x43c910
jmp 0x43c949
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c949
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 2
push dword [ebp + 8]
push 5
push dword [0x4489e8]
push eax
call fcn.00439450
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x43cb6c
push dword [esp + 8]
call fcn.00437740
add esp, 4
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0xa050407
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 8
ja 0x43c9c5
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0xdc030fd5
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x2d
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 9
jb 0x43c990
mov esi, dword [esp + 0x10]
mov ecx, dword [0x4489e0]
test ecx, ecx
je 0x43ca17
xor edx, edx
mov ebx, dword [0x4489e4]
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x52b46bba
je 0x43c9f0
inc edx
cmp ecx, edx
jne 0x43c9e0
jmp 0x43ca17
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x43ca17
lea edx, [esp + 8]
push edx
push eax
push edi
push 2
push dword [ebp + 8]
push 5
push dword [0x4489e8]
push ecx
call fcn.00439450
add esp, 0x20
mov esi, eax
test esi, esi
js 0x43cb63
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43cb18
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43cb11
mov eax, dword [edi + 0x10]
shr eax, 1
mov ebx, dword [ecx]
cmp ebx, eax
jb 0x43ca45
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], esi
je 0x43cb05
mov eax, ebx
mov dword [esp + 0x24], edi
mov ebx, edi
add ebx, 0x2c
mov edi, eax
and edi, 3
je 0x43ca96
mov dword [esp + 0x20], 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 0x43ca70
mov eax, dword [esp + 0x20]
mov esi, eax
sub esi, ecx
mov ecx, dword [ebp + 0x10]
jmp 0x43ca98
mov esi, eax
cmp eax, 4
mov edi, dword [esp + 0x24]
jb 0x43cb05
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 0x43cab0
mov ecx, dword [ebp + 0x10]
mov word [edx], 0
mov esi, dword [esp + 0x28]
mov ebx, dword [ebp + 0x14]
mov eax, dword [edi + 0x10]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
test ebx, ebx
je 0x43cb24
mov eax, dword [edi + 0x14]
mov dword [ebx], eax
mov eax, dword [ebp + 0x1c]
test ecx, ecx
je 0x43cb32
mov edx, dword [edi + 0x18]
shr edx, 1
mov dword [ecx], edx
mov ecx, dword [ebp + 0x20]
test eax, eax
je 0x43cb40
mov edx, dword [edi + 0x1c]
shr edx, 1
mov dword [eax], edx
mov eax, dword [ebp + 0x24]
test ecx, ecx
je 0x43cb4c
mov edx, dword [edi + 0x20]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x28]
test eax, eax
je 0x43cb5a
mov edx, dword [edi + 0x24]
shr edx, 1
mov dword [eax], edx
test ecx, ecx
je 0x43cb63
mov eax, dword [edi + 0x28]
mov dword [ecx], eax
push edi
call fcn.00437830
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret