Function at 0x43b630
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], 0xb2b5b4b7
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43b6a5
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add edx, 0x2eec1bb9
add eax, 0xb9
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, 0xf1
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x43b660
mov esi, dword [esp + 0x10]
mov eax, dword [0x4491d8]
test eax, eax
je 0x43b6fc
xor ecx, ecx
mov edx, dword [0x4491dc]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x77defcd
je 0x43b6d0
inc ecx
cmp eax, ecx
jne 0x43b6c0
jmp 0x43b6fc
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43b6fc
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x4491e0]
push eax
call fcn.00438180
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43b8f2
push dword [esp + 8]
call fcn.00435f70
add esp, 4
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0xb2b5b4b7
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 8
ja 0x43b787
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + edx]
add esi, 0x2eec1bb9
add ecx, 0xb9
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, 0xf1
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 9
jb 0x43b740
mov ebx, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x4491d8]
test ecx, ecx
je 0x43b7f4
mov ebx, esi
xor edx, edx
mov esi, dword [0x4491dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x77defcd
je 0x43b7c5
inc edx
cmp ecx, edx
jne 0x43b7b0
mov esi, ebx
mov ebx, dword [ebp + 0x14]
jmp 0x43b7f4
mov ecx, dword [esi + edx*8 + 4]
mov esi, ebx
cmp ecx, ebx
mov ebx, dword [ebp + 0x14]
je 0x43b7f4
lea edx, [esp + 8]
push edx
push eax
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x4491e0]
push ecx
call fcn.00438180
add esp, 0x24
mov esi, eax
test ebx, ebx
je 0x43b8e9
test esi, esi
js 0x43b8e9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43b8e2
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebx]
cmp edx, ecx
jb 0x43b81c
mov edx, ecx
test edx, edx
je 0x43b8dd
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 0x43b873
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 0x43b840
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 0x43b880
jmp 0x43b8dd
mov edi, dword [esp + 4]
cmp dword [esp + 0x28], 4
jb 0x43b8dd
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 0x43b880
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.004360c0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret