Function at 0x43c090
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 0x10], 0x54555657
mov eax, 0x48578125
mov edi, 0x90af024a
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x48578115]
mov ecx, edi
and ecx, 0x102f0006
mov esi, eax
xor esi, 0x93ff443
add esi, ecx
mov ecx, esi
and ecx, edx
lea ebx, [esi + edx]
not ebx
lea ebx, [ebx + ecx*2]
and ebx, esi
mov ecx, ebx
and ecx, 2
mov ebp, ebx
or ebx, 2
imul ebx, ecx
xor ecx, 2
and ebp, 0x51ff757d
imul ebp, ecx
sub ebx, esi
mov ecx, 0x1419eff
sub ecx, ebx
sub ecx, ebp
lea esi, [ebx + ebp]
add esi, 0xfebe6200
and ecx, edx
not edx
and edx, esi
sub ecx, edx
add cl, 0xc0
mov byte [esp + eax - 0x48578115], cl
inc eax
add edi, 2
cmp eax, 0x48578129
jne 0x43c0b0
mov ebp, dword [esp + 0x10]
mov eax, dword [0x447604]
test eax, eax
je 0x43c17e
xor ecx, ecx
mov edx, dword [0x447608]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xcf2d66db
je 0x43c150
inc ecx
cmp eax, ecx
jne 0x43c140
jmp 0x43c17e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x43c17e
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 [0x44760c]
call fcn.00439030
add esp, 0x24
mov ebp, eax
cmp ebp, 0xc0000023
jne 0x43c440
push dword [esp + 0xc]
call fcn.004375a0
add esp, 4
mov dword [esp], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0x54555657
mov ecx, 0x48578125
mov eax, 0x90af024a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x48578111]
mov ebx, eax
and ebx, 0x102f0006
mov edx, ecx
xor edx, 0x93ff443
add edx, ebx
mov ebx, edx
and ebx, esi
lea ebp, [edx + esi]
not ebp
lea ebp, [ebp + ebx*2]
and ebp, edx
mov edi, ebp
and edi, 2
mov ebx, ebp
or ebp, 2
imul ebp, edi
xor edi, 2
and ebx, 0x51ff757d
imul ebx, edi
sub ebp, edx
mov edx, 0x1419eff
sub edx, ebp
sub edx, ebx
lea edi, [ebx + ebp]
add edi, 0xfebe6200
and edx, esi
not esi
and esi, edi
sub edx, esi
add dl, 0xc0
mov byte [esp + ecx - 0x48578111], dl
inc ecx
add eax, 2
cmp ecx, 0x48578129
jne 0x43c1c0
mov ebp, dword [esp + 0x14]
mov ecx, dword [0x447604]
test ecx, ecx
je 0x43c274
xor edx, edx
mov esi, dword [0x447608]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xcf2d66db
je 0x43c30d
inc edx
cmp ecx, edx
jne 0x43c260
jmp 0x43c27c
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 4]
test ebp, ebp
js 0x43c437
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x3c]
je 0x43c3c4
test edi, edi
je 0x43c3b9
mov ecx, dword [esi + 0x10]
shr ecx, 1
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp eax, ecx
jb 0x43c2b0
mov eax, ecx
test eax, eax
je 0x43c3b0
add dword [esp], 0x14
mov ecx, eax
and ecx, 3
je 0x43c349
mov dword [esp + 8], eax
xor esi, esi
nop
nop
nop
mov eax, dword [esp]
mov ebx, edi
movzx edi, word [eax]
xor edx, edx
test di, di
setne dl
lea eax, [eax + edx*2]
mov dword [esp], eax
mov word [ebx], di
mov edi, ebx
add edi, 2
inc esi
cmp ecx, esi
jne 0x43c2d0
mov eax, dword [esp + 8]
mov ecx, eax
sub ecx, esi
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 4]
cmp eax, 4
jae 0x43c350
jmp 0x43c3b0
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebp
mov esi, dword [esp + 4]
je 0x43c280
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
push esi
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push ecx
push dword [0x44760c]
call fcn.00439030
add esp, 0x24
mov ebp, eax
jmp 0x43c280
mov ecx, eax
cmp eax, 4
jb 0x43c3b0
mov eax, dword [esp]
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]
mov dword [esp], eax
add ecx, 0xfffffffc
jne 0x43c350
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 4]
mov word [edi], 0
mov ebx, dword [esp + 0x40]
mov eax, dword [esi + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
test edx, edx
je 0x43c3cd
mov eax, dword [esi + 4]
mov dword [edx], eax
cmp dword [esp + 0x44], 0
je 0x43c437
mov dword [esp], ebp
test ebx, ebx
je 0x43c42b
mov ebp, ebx
mov eax, dword [esp + 0x44]
mov ebx, dword [eax]
mov eax, dword [esi + 0xc]
cmp ebx, eax
jb 0x43c3ec
mov ebx, eax
mov eax, dword [esi + 8]
add eax, esi
mov ecx, ebx
shr ecx, 2
mov edx, ebx
and edx, 0xfffffffc
mov edi, ebp
add ebp, edx
add edx, eax
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 3
mov ecx, eax
shr ecx, 1
mov esi, edx
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 4]
test bl, 1
je 0x43c42b
movzx ecx, byte [edx + eax - 1]
mov byte [ebp + eax - 1], cl
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov ebp, dword [esp]
push esi
call fcn.004375e0
add esp, 4
mov eax, ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret