Function at 0x43fad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0x55565768
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43fb2e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xc6c61b9f
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x43fb00
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 8]
mov eax, dword [0x44ad40]
test eax, eax
je 0x43fb88
xor ecx, ecx
mov edx, dword [0x44ad44]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x9b15aa7a
je 0x43fb60
inc ecx
cmp eax, ecx
jne 0x43fb50
jmp 0x43fb88
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43fb88
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push ebx
push edi
push 6
push dword [0x44ad48]
push eax
call fcn.0043cab0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43fda0
push dword [esp + 0x10]
call fcn.0043a880
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], 0x55565768
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43fbfe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add eax, 0xc6c61b9f
xor eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 8
mov edx, dword [esp]
mov byte [esp + edx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x43fbd0
mov esi, dword [esp + 8]
mov eax, dword [0x44ad40]
test eax, eax
je 0x43fc5b
xor edx, edx
mov ebp, dword [0x44ad44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edx*8], 0x9b15aa7a
je 0x43fc31
inc edx
cmp eax, edx
jne 0x43fc20
jmp 0x43fc5b
mov edx, dword [ebp + edx*8 + 4]
cmp edx, esi
je 0x43fc5b
lea eax, [esp + 0x10]
push eax
push ecx
mov eax, dword [esp + 0xc]
push eax
push 1
push ebx
push edi
push 6
push dword [0x44ad48]
push edx
call fcn.0043cab0
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43fd94
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x43fd14
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43fd09
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ecx, dword [ecx]
cmp ecx, eax
jb 0x43fc90
mov ecx, eax
test ecx, ecx
je 0x43fd00
mov ebx, dword [esp + 4]
add ebx, 0x14
test cl, 1
jne 0x43fca4
mov ebp, ecx
jmp 0x43fcc3
mov eax, ecx
not eax
lea ebp, [eax + ecx*2]
movzx eax, word [ebx]
xor edx, edx
test ax, ax
setne dl
lea ebx, [ebx + edx*2]
mov edx, dword [esp + 0x3c]
mov word [edi], ax
add edi, 2
cmp ecx, 1
je 0x43fd00
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ebx]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [ebx + ecx*2]
mov word [edi], ax
movzx eax, word [ebx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea ebx, [edx + ecx*2]
mov word [edi + 2], ax
add edi, 4
add ebp, 0xfffffffe
jne 0x43fcd0
mov edx, dword [esp + 0x3c]
mov word [edi], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [ecx], eax
mov edi, dword [esp + 0x44]
test edx, edx
je 0x43fd25
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [edx], eax
test edi, edi
je 0x43fd94
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43fd8b
mov edx, dword [edi]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0xc]
cmp edx, ecx
jb 0x43fd40
mov edx, ecx
mov ecx, dword [esp + 4]
mov ebp, dword [ecx + 8]
add ebp, ecx
mov ecx, edx
xor ecx, 3
mov ebx, edx
or ebx, 0xfffffffc
and ebx, ecx
mov ecx, edx
shr ecx, 2
mov edi, eax
add eax, ebx
add ebx, ebp
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebp, ebx
mov edi, eax
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
mov edi, dword [esp + 0x44]
je 0x43fd8b
and edx, 2
movzx ecx, byte [ebx + edx]
mov byte [eax + edx], cl
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
push dword [esp + 4]
call fcn.0043a960
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret