Function at 0x43e490
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], 0x20272625
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x10]
mov ebx, eax
and ebx, 2
mov edx, ecx
xor edx, 0x752dbdb9
add edx, ebx
mov ebx, edx
and ebx, esi
lea ebp, [edx + esi]
not ebp
lea ebx, [ebx*2]
add ebx, ebp
mov ebp, edx
not ebp
or ebx, ebp
add ebx, edx
lea ebx, [ebx*2 + 2]
xor edx, ebx
and ebp, ebx
add ebp, ebp
sub edx, ebp
add edx, esi
mov esi, edx
and esi, 1
mov ebx, 0x9d
sub ebx, edx
and edx, 0xfffffffe
add edx, 0x62
xor edx, 0xfe
and ebx, 0xfe
or ebx, edx
not ebx
add ebx, esi
mov byte [esp + ecx + 0x10], bl
inc ecx
add eax, 2
cmp ecx, 4
jne 0x43e4b0
mov ebp, dword [esp + 0x10]
mov eax, dword [0x44a4ac]
test eax, eax
je 0x43e57e
xor ecx, ecx
mov edx, dword [0x44a4b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3602324e
je 0x43e550
inc ecx
cmp eax, ecx
jne 0x43e540
jmp 0x43e57e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x43e57e
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push eax
push dword [0x44a4b4]
call fcn.00439880
add esp, 0x24
mov ebp, eax
cmp ebp, 0xc0000023
jne 0x43e82c
mov dword [esp + 4], edi
push dword [esp + 0xc]
call fcn.00436bc0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], 0x20272625
xor edx, edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + esi + 0x14]
mov ebp, edx
and ebp, 2
mov ebx, esi
xor ebx, 0x752dbdb9
add ebx, ebp
mov ebp, ebx
and ebp, edi
lea ecx, [ebx + edi]
not ecx
lea ecx, [ecx + ebp*2]
mov ebp, ebx
not ebp
or ecx, ebp
add ecx, ebx
lea ecx, [ecx*2 + 2]
xor ebx, ecx
and ebp, ecx
add ebp, ebp
sub ebx, ebp
add ebx, edi
mov ebp, ebx
and ebp, 1
mov ecx, 0x9d
sub ecx, ebx
and ebx, 0xfffffffe
add ebx, 0x62
xor ebx, 0xfe
and ecx, 0xfe
or ecx, ebx
not ecx
add ecx, ebp
mov byte [esp + esi + 0x14], cl
inc esi
add edx, 2
cmp esi, 4
jne 0x43e5c0
mov ebp, dword [esp + 0x14]
mov ecx, dword [0x44a4ac]
test ecx, ecx
je 0x43e660
xor edx, edx
mov esi, dword [0x44a4b0]
mov edi, dword [esp + 0x44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3602324e
je 0x43e666
inc edx
cmp ecx, edx
jne 0x43e650
jmp 0x43e69c
mov edi, dword [esp + 0x44]
jmp 0x43e69c
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebp
je 0x43e69c
lea edx, [esp + 0xc]
push edx
push dword [esp + 0xc]
push dword [esp + 8]
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push ecx
push dword [0x44a4b4]
mov esi, eax
call fcn.00439880
add esp, 0x24
mov ebp, eax
mov eax, esi
test ebp, ebp
mov esi, dword [esp]
js 0x43e823
mov edx, dword [esp + 0x38]
test edx, edx
je 0x43e7b1
cmp dword [esp + 0x34], 0
je 0x43e7aa
mov ecx, dword [esi + 0x10]
shr ecx, 1
mov ebx, dword [edx]
cmp ebx, ecx
jb 0x43e6cb
mov ebx, ecx
test ebx, ebx
je 0x43e7a1
add eax, 0x14
mov ecx, ebx
and ecx, 3
je 0x43e727
mov dword [esp + 8], ebx
xor esi, esi
mov ebx, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, word [eax]
xor edx, edx
test di, di
setne dl
lea eax, [eax + edx*2]
mov word [ebx], di
add ebx, 2
inc esi
cmp ecx, esi
jne 0x43e6f0
mov dword [esp + 4], ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
sub ecx, esi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [esp]
cmp ebx, 4
jae 0x43e72e
jmp 0x43e7a1
mov ecx, ebx
cmp ebx, 4
jb 0x43e7a1
mov edi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x43e740
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [esp]
mov eax, dword [esp + 4]
mov word [eax], 0
mov eax, dword [esi + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x43e7be
mov eax, dword [esi + 4]
mov dword [ecx], eax
test edi, edi
je 0x43e823
cmp dword [esp + 0x40], 0
je 0x43e81e
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x43e7d4
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, dword [esp]
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov ebx, dword [esp + 0x40]
mov edi, ebx
add ebx, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp]
test al, 1
mov edi, dword [esp + 0x44]
je 0x43e81e
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov eax, dword [esi + 0xc]
mov dword [edi], eax
push esi
call fcn.00436c60
add esp, 4
mov eax, ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret