Function at 0x43e500
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43e54a
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x43e520
sar ecx, 1
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffd
imul esi, edx
add ecx, esi
jmp 0x43e54c
xor ecx, ecx
mov word [esp + 0x1c], cx
mov edx, eax
test eax, eax
je 0x43e55c
add ecx, 2
mov edx, ecx
mov word [esp + 0x1e], dx
mov dword [esp + 0x20], eax
mov dword [esp + 0x12], 0xb0a090a
mov word [esp + 0x16], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
or cl, 0x48
xor cl, byte [esp + eax + 0x12]
add cl, 0xc0
mov byte [esp + eax + 0x12], cl
mov edx, eax
xor edx, 0xfffffffe
mov ecx, eax
or ecx, 1
and ecx, edx
mov esi, ecx
and esi, 2
mov edx, ecx
or ecx, 2
imul ecx, esi
xor esi, 2
and edx, 5
imul edx, esi
xor eax, 1
add eax, ecx
add eax, edx
cmp eax, 6
jb 0x43e580
mov eax, dword [esp + 0x12]
mov dword [esp + 0xc], eax
mov dword [esp + 2], 0xa2a3a4a5
mov byte [esp + 6], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 2]
mov ebx, 0x60889915
sub ebx, ecx
lea edi, [ecx + 0xa]
mov ebp, ebx
and ebp, 0x1c
and edi, 0x1c
xor edi, 0x2008981c
mov edx, ecx
and edx, 3
or edx, ebp
or edx, edi
and ebx, 3
xor ebx, 0x16600203
xor edx, 2
or edx, ebx
xor edx, esi
lea esi, [edx + edx]
and esi, 0x5e
xor esi, 0x58
xor edx, 0x53
add edx, esi
inc dl
mov byte [esp + ecx + 2], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 5
jb 0x43e5e0
mov eax, dword [esp + 2]
mov ecx, dword [0x449dc8]
test ecx, ecx
je 0x43e68f
xor edx, edx
mov esi, dword [0x449dcc]
cmp dword [esi + edx*8], 0x299a4ecd
je 0x43e660
inc edx
cmp ecx, edx
jne 0x43e650
jmp 0x43e68f
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43e68f
lea edx, [esp + 0x18]
lea esi, [esp + 0x1c]
push edx
push 0
push 0
push dword [esp + 0x18]
push esi
push dword [esp + 0x4c]
push 0x18
push ecx
push dword [0x449dd0]
call fcn.0043ad80
add esp, 0x24
mov dword [esp + 8], eax
mov dword [esp + 2], 0x9c5b5a7a
mov byte [esp + 6], 0
mov eax, 0x133d12e
mov esi, 0x7ecc2ed2
mov edx, 0x7ecc2ed0
nop
movzx ecx, byte [esp + edx - 0x7ecc2ece]
mov dword [esp + 0xc], ecx
lea ebp, [eax - 0x80000000]
xor ebp, ecx
or ebp, eax
lea ebx, [edx + ebp]
add ebx, 2
mov edi, ebx
not edi
mov ecx, ebx
and ecx, 0xfffffffd
and edi, 2
imul edi, ecx
or ebx, 2
add ebp, esi
shr ebp, 1
and ebp, 1
imul ebp, ebx
lea ecx, [edi + ebp*2]
mov edi, edx
sub edi, ecx
add ecx, eax
add ecx, 0x80000001
mov ebx, dword [esp + 0xc]
xor ecx, ebx
and edi, ebx
add edi, edi
sub edi, ecx
add edi, 0x99e8977
mov ecx, edi
and ecx, 1
xor edi, 1
lea ecx, [edi + ecx*2]
mov byte [esp + edx - 0x7ecc2ece], cl
dec eax
inc esi
inc edx
cmp eax, 0x133d129
jne 0x43e6b0
mov ebp, dword [esp + 8]
cmp ebp, dword [esp + 2]
jne 0x43e8cb
push dword [esp + 0x18]
call fcn.00439230
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 0x12], 0xa8d7d6d7
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0x3d
xor dl, byte [esp + eax + 0x12]
add dl, 0x18
mov byte [esp + eax + 0x12], dl
inc eax
cmp eax, 4
jne 0x43e760
mov eax, dword [esp + 0x12]
mov dword [esp + 8], eax
mov dword [esp + 2], 0xa2a3a4a5
mov byte [esp + 6], 0
xor ebx, ebx
nop
nop
nop
movzx ebp, byte [esp + ebx + 2]
mov edi, 0x60889915
sub edi, ebx
lea ecx, [ebx + 0xa]
mov edx, edi
and edx, 0x1c
and ecx, 0x1c
xor ecx, 0x2008981c
mov eax, ebx
and eax, 3
or eax, edx
or eax, ecx
and edi, 3
xor edi, 0x16600203
xor eax, 2
or eax, edi
xor eax, ebp
lea ecx, [eax + eax]
and ecx, 0x5e
xor ecx, 0x58
xor eax, 0x53
add eax, ecx
inc al
mov byte [esp + ebx + 2], al
mov eax, ebx
and eax, 1
xor ebx, 1
lea ebx, [ebx + eax*2]
cmp ebx, 5
jb 0x43e790
mov ebp, dword [esp + 2]
mov eax, dword [0x449dc8]
test eax, eax
je 0x43e842
xor edi, edi
mov ebx, dword [0x449dcc]
nop
cmp dword [ebx + edi*8], 0x299a4ecd
je 0x43e810
inc edi
cmp eax, edi
jne 0x43e800
jmp 0x43e842
mov eax, dword [ebx + edi*8 + 4]
cmp eax, ebp
je 0x43e842
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push dword [esp + 0x10]
push esi
push dword [esp + 0x14]
push edx
push dword [esp + 0x4c]
push 0x18
push eax
push dword [0x449dd0]
call fcn.0043ad80
add esp, 0x24
mov ebp, eax
test ebp, ebp
mov ecx, dword [esp + 0x40]
js 0x43e8c2
test ecx, ecx
je 0x43e853
mov eax, dword [esi + 4]
mov dword [ecx], eax
cmp dword [esp + 0x48], 0
je 0x43e8c2
cmp dword [esp + 0x44], 0
je 0x43e8b9
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
cmp eax, ecx
jb 0x43e874
mov eax, ecx
lea edx, [esi + 0xc]
mov ecx, eax
shr ecx, 2
mov ebp, dword [esp + 0x44]
mov edi, ebp
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
shr ecx, 1
and ecx, 1
mov edx, eax
and edx, 0xfffffffc
lea ebx, [esi + edx]
add ebx, 0xc
add edx, ebp
mov ebp, ebx
mov edi, edx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test al, 1
mov ebp, dword [esp + 8]
je 0x43e8b9
and eax, 2
movzx ecx, byte [ebx + eax]
mov byte [edx + eax], cl
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
push esi
call fcn.00439250
add esp, 4
mov eax, ebp
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret