Function at 0x43e230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov dword [esp + 0xc], ecx
cmp dword [ecx + 8], 0
je 0x43e307
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x43e307
mov dword [esp + 8], eax
mov dword [esp], 0x34353a3b
mov edi, 0x9a22fb6
mov edx, 0x65dd049
nop
nop
nop
movzx ecx, byte [esp + edi - 0x9a22fb6]
mov esi, edx
and esi, 0x608904b
mov eax, edi
and eax, 0x8000084
or eax, esi
xor eax, ecx
xor eax, 0x28554084
mov esi, 0xbfd51170
sub esi, eax
mov ecx, esi
add eax, 0x402aee8f
mov ebx, eax
and eax, 0x1e
and esi, 0xe1
or esi, eax
not ebx
xor esi, 0x1f
and ebx, 1
or ebx, esi
and ecx, 1
add ebx, ecx
mov byte [esp + edi - 0x9a22fb6], bl
inc edi
dec edx
cmp edi, 0x9a22fba
jne 0x43e270
mov eax, dword [esp]
mov ecx, dword [0x4504d8]
test ecx, ecx
je 0x43e37f
xor edx, edx
mov esi, dword [0x4504dc]
mov edi, dword [ebp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x2dedf0b8
je 0x43e384
inc edx
cmp ecx, edx
jne 0x43e2f0
jmp 0x43e3a4
mov dword [esp], 0xfcec9f0
mov byte [esp + 4], 0
mov eax, esp
mov ecx, 0x2d
nop
nop
nop
nop
nop
nop
movzx esi, byte [eax]
lea edx, [ecx - 0xe487500]
or edx, esi
and esi, ecx
not edx
or edx, esi
mov esi, edx
xor esi, 0x476a481a
mov ebx, edx
or ebx, 0xb895b7e5
and ebx, esi
mov edi, ebx
and edi, 2
mov esi, ebx
or ebx, 2
imul ebx, edi
xor edi, 2
and esi, 0xfd
imul esi, edi
xor edx, 0xb895b7e5
add ebx, edx
add ebx, esi
and edx, 1
or ebx, 1
add ebx, edx
mov byte [eax], bl
inc eax
dec ecx
cmp ecx, 0x28
jne 0x43e320
mov eax, dword [esp]
jmp 0x43e4c3
mov edi, dword [ebp + 0xc]
jmp 0x43e3a4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43e3a4
push dword [ebp + 8]
push dword [esp + 0xc]
push 2
push dword [0x4504e0]
push ecx
call fcn.00440d90
add esp, 0x14
cmp edi, 1
mov esi, dword [ebp + 0x10]
mov ecx, esi
sbb ecx, 0
jl 0x43e4b2
cmp eax, 0xc000010a
jne 0x43e4b2
mov ecx, 0xffffd8f0
mov eax, edi
mul ecx
sub edx, edi
imul ecx, esi, 0xffffd8f0
add ecx, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0x34353a3b
mov eax, 0x9a22fb6
mov esi, 0x65dd049
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x9a22fa6]
mov edx, esi
and edx, 0x608904b
mov edi, eax
and edi, 0x8000084
or edi, edx
xor edi, ecx
xor edi, 0x28554084
mov ecx, 0xbfd51170
sub ecx, edi
mov ebx, ecx
add edi, 0x402aee8f
mov edx, edi
and edi, 0x1e
and ecx, 0xe1
or ecx, edi
not edx
xor ecx, 0x1f
and edx, 1
or edx, ecx
and ebx, 1
add edx, ebx
mov byte [esp + eax - 0x9a22fa6], dl
inc eax
dec esi
cmp eax, 0x9a22fba
jne 0x43e400
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4504d8]
test ecx, ecx
je 0x43e4b2
xor edx, edx
mov esi, dword [0x4504dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x4e66b5a3
je 0x43e490
inc edx
cmp ecx, edx
jne 0x43e480
jmp 0x43e4b2
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43e4b2
mov eax, esp
push eax
push 0
push dword [esp + 0x10]
push 3
push dword [0x4504e0]
push ecx
call fcn.00440d90
add esp, 0x18
test eax, eax
js 0x43e4c3
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.0043e140
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc