Function at 0x43cd40
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], 0x68696e6f
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43cdb5
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add edx, 0xdf085692
add eax, 0x92
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 2
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x43cd70
mov esi, dword [esp + 0x10]
mov eax, dword [0x448ad4]
test eax, eax
je 0x43ce0c
xor ecx, ecx
mov edx, dword [0x448ad8]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x77defcd
je 0x43cde0
inc ecx
cmp eax, ecx
jne 0x43cdd0
jmp 0x43ce0c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43ce0c
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x448adc]
push eax
call fcn.00439d10
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43d002
push dword [esp + 8]
call fcn.00437e80
add esp, 4
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x68696e6f
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 8
ja 0x43ce97
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + edx]
add esi, 0xdf085692
add ecx, 0x92
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, esi
not ecx
and ecx, esi
add ecx, ecx
sub ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 2
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 9
jb 0x43ce50
mov ebx, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x448ad4]
test ecx, ecx
je 0x43cf04
mov ebx, esi
xor edx, edx
mov esi, dword [0x448ad8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x77defcd
je 0x43ced5
inc edx
cmp ecx, edx
jne 0x43cec0
mov esi, ebx
mov ebx, dword [ebp + 0x14]
jmp 0x43cf04
mov ecx, dword [esi + edx*8 + 4]
mov esi, ebx
cmp ecx, ebx
mov ebx, dword [ebp + 0x14]
je 0x43cf04
lea edx, [esp + 8]
push edx
push eax
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x448adc]
push ecx
call fcn.00439d10
add esp, 0x24
mov esi, eax
test ebx, ebx
je 0x43cff9
test esi, esi
js 0x43cff9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43cff2
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebx]
cmp edx, ecx
jb 0x43cf2c
mov edx, ecx
test edx, edx
je 0x43cfed
mov dword [esp + 4], edi
mov ecx, edi
add ecx, 0x10
mov edi, edx
and edi, 3
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
je 0x43cf83
xor esi, esi
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 esi
cmp edi, esi
jne 0x43cf50
mov edx, dword [esp + 0x28]
sub edx, esi
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 0x14]
cmp dword [esp + 0x28], 4
jae 0x43cf90
jmp 0x43cfed
mov edi, dword [esp + 4]
cmp dword [esp + 0x28], 4
jb 0x43cfed
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 0x43cf90
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 0x14]
mov word [eax], 0
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebx], eax
push edi
call fcn.00437f10
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret