Function at 0x43e940
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 0xc], 0x10111213
mov ebx, dword [esp + 0x2c]
xor eax, eax
nop
nop
nop
mov ecx, eax
or cl, 0x4c
xor cl, byte [esp + eax + 0xc]
add cl, 0xa0
mov byte [esp + eax + 0xc], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 4
jb 0x43e960
mov esi, dword [esp + 0xc]
mov eax, dword [0x44aea0]
test eax, eax
je 0x43e9da
xor ecx, ecx
mov edx, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x2298ee00
je 0x43e9b0
inc ecx
cmp eax, ecx
jne 0x43e9a0
jmp 0x43e9da
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43e9da
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 2
push dword [esp + 0x38]
push 0x14
push eax
push dword [0x44aea8]
call fcn.0043b9a0
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x43ec07
push dword [esp + 8]
call fcn.0043a000
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp + 0x10], 0x10111213
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
or cl, 0x4c
xor cl, byte [esp + edx + 0x10]
add cl, 0xa0
mov byte [esp + edx + 0x10], cl
mov ecx, edx
and ecx, 1
xor edx, 1
lea edx, [edx + ecx*2]
cmp edx, 4
jb 0x43ea10
mov esi, dword [esp + 0x10]
mov edx, dword [0x44aea0]
test edx, edx
je 0x43ea9a
xor edi, edi
mov ecx, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x2298ee00
je 0x43ea60
inc edi
cmp edx, edi
jne 0x43ea50
jmp 0x43ea96
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
mov edi, dword [esp + 0x44]
je 0x43ea9a
lea ecx, [esp + 8]
push ecx
push dword [esp + 8]
push dword [esp + 8]
push 2
push dword [esp + 0x38]
push 0x14
push edx
push dword [0x44aea8]
mov edi, eax
call fcn.0043b9a0
add esp, 0x20
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x44]
test esi, esi
js 0x43ebfc
cmp dword [esp + 0x30], 0
je 0x43eb9d
test ebx, ebx
je 0x43eb8f
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov edx, dword [esp + 0x30]
mov edx, dword [edx]
cmp edx, ecx
jb 0x43eac9
mov edx, ecx
test edx, edx
je 0x43eb86
add eax, 0x2c
mov ebp, edx
and ebp, 3
je 0x43eb1c
mov dword [esp + 4], edx
xor edi, edi
nop
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 eax, [eax + ecx*2]
mov word [ebx], dx
add ebx, 2
inc edi
cmp ebp, edi
jne 0x43eaf0
mov edx, dword [esp + 4]
mov ebp, edx
sub ebp, edi
mov edi, dword [esp + 0x44]
cmp edx, 4
jae 0x43eb30
jmp 0x43eb86
mov ebp, edx
cmp edx, 4
jb 0x43eb86
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 0x43eb30
mov edi, dword [esp + 0x44]
mov word [ebx], 0
mov ebp, dword [esp + 0x48]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x43ebad
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [ecx], eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
je 0x43ebc7
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test edx, edx
je 0x43ebd5
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [edx], eax
test ecx, ecx
je 0x43ebe1
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
test edi, edi
je 0x43ebef
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [edi], eax
test ebp, ebp
je 0x43ebfc
mov eax, dword [esp]
mov eax, dword [eax + 0x28]
mov dword [ebp], eax
push dword [esp]
call fcn.0043a020
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret