Function at 0x43de30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 2], 0xa2a3a4a5
mov byte [esp + 6], 0
mov ebx, dword [esp + 0x30]
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 2]
mov esi, 0x60889915
sub esi, eax
lea edi, [eax + 0xa]
mov ebp, esi
and ebp, 0x1c
and edi, 0x1c
xor edi, 0x2008981c
mov ecx, eax
and ecx, 3
or ecx, ebp
or ecx, edi
and esi, 3
xor esi, 0x16600203
xor ecx, 2
or ecx, esi
xor ecx, edx
lea edx, [ecx + ecx]
and edx, 0x5e
xor edx, 0x58
xor ecx, 0x53
add ecx, edx
inc cl
mov byte [esp + eax + 2], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 5
jb 0x43de50
mov esi, dword [esp + 2]
mov eax, dword [0x449dc8]
test eax, eax
je 0x43defa
xor ecx, ecx
mov edx, dword [0x449dcc]
nop
cmp dword [edx + ecx*8], 0x2298ee00
je 0x43ded0
inc ecx
cmp eax, ecx
jne 0x43dec0
jmp 0x43defa
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43defa
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push dword [esp + 0x3c]
push 0x14
push eax
push dword [0x449dd0]
call fcn.0043ad80
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x43e17b
mov dword [esp + 8], ebx
push dword [esp + 0x14]
call fcn.00439230
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov dword [esp + 2], 0xa2a3a4a5
mov byte [esp + 6], 0
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + esi + 2]
mov ecx, 0x60889915
sub ecx, esi
lea ebp, [esi + 0xa]
mov ebx, ecx
and ebx, 0x1c
and ebp, 0x1c
xor ebp, 0x2008981c
mov edx, esi
and edx, 3
or edx, ebx
or edx, ebp
and ecx, 3
xor ecx, 0x16600203
xor edx, 2
or edx, ecx
xor edx, edi
lea ecx, [edx + edx]
and ecx, 0x5e
xor ecx, 0x58
xor edx, 0x53
add edx, ecx
inc dl
mov byte [esp + esi + 2], dl
mov ecx, esi
and ecx, 1
xor esi, 1
lea esi, [esi + ecx*2]
cmp esi, 5
jb 0x43df40
mov esi, dword [esp + 2]
mov ecx, dword [0x449dc8]
test ecx, ecx
je 0x43dfd0
xor edx, edx
mov edi, dword [0x449dcc]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x2298ee00
je 0x43dfda
inc edx
cmp ecx, edx
jne 0x43dfc0
jmp 0x43e009
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x10]
jmp 0x43e009
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x43e009
lea edx, [esp + 0x14]
push edx
push dword [esp + 0x10]
push ebp
push 2
push dword [esp + 0x3c]
push 0x14
push ecx
push dword [0x449dd0]
mov edi, eax
call fcn.0043ad80
add esp, 0x20
mov esi, eax
mov eax, edi
test esi, esi
js 0x43e172
mov edx, dword [esp + 0x34]
test edx, edx
je 0x43e122
cmp dword [esp + 0x30], 0
je 0x43e11b
mov ecx, dword [ebp + 0x10]
shr ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jb 0x43e035
mov edi, ecx
test edi, edi
je 0x43e10e
add eax, 0x2c
mov ecx, edi
and ecx, 3
je 0x43e097
mov dword [esp + 0xc], edi
xor edi, edi
mov ebp, dword [esp + 0x30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x43e060
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0xc]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
cmp edi, 4
jae 0x43e09e
jmp 0x43e10e
mov ebp, edi
cmp edi, 4
jb 0x43e10e
mov ebx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x43e0b0
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 8]
mov word [eax], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x43e12f
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x43e13e
mov eax, dword [ebp + 0x18]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x43e14d
mov eax, dword [ebp + 0x1c]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x43e15a
mov eax, dword [ebp + 0x20]
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x43e169
mov eax, dword [ebp + 0x24]
shr eax, 1
mov dword [ecx], eax
test ebx, ebx
je 0x43e172
mov eax, dword [ebp + 0x28]
mov dword [ebx], eax
push ebp
call fcn.00439250
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret