Function at 0x43fd50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp], 0x585b5a45
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0xadfebc0f
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x520143f1]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xb5
mov byte [esp + eax + 0x520143f1], cl
inc eax
cmp eax, 0xadfebc16
jne 0x43fd80
mov ebx, dword [esp]
mov eax, dword [0x44ae04]
test eax, eax
je 0x43fdfe
xor ecx, ecx
mov edx, dword [0x44ae08]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x43fdd0
inc ecx
cmp eax, ecx
jne 0x43fdc0
jmp 0x43fdfe
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43fdfe
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push eax
push dword [0x44ae0c]
call fcn.0043bd80
add esp, 0x24
mov ebx, eax
mov dword [esp], 0xe1262779
mov eax, 0x49ffe5b9
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x49ffe5b9]
mov edi, eax
or edi, edx
lea ecx, [eax - 0x49ffe500]
and ecx, edx
xor ecx, edi
mov edx, ecx
xor edx, 0x71ff7c9e
and ecx, 0x8008161
add ecx, ecx
sub ecx, edx
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax - 0x49ffe5b9], cl
inc eax
cmp eax, 0x49ffe5bd
jne 0x43fe10
cmp ebx, dword [esp]
jne 0x440036
push dword [esp + 0x10]
call fcn.004389f0
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp], 0x585b5a45
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov edx, 0xadfebc0f
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x520143f1]
mov ecx, ebx
and ecx, edx
add cl, cl
sub bl, cl
movzx ecx, bl
add ecx, edx
add cl, 0xb5
mov byte [esp + edx + 0x520143f1], cl
inc edx
cmp edx, 0xadfebc16
jne 0x43fe90
mov ebx, dword [esp]
mov edx, dword [0x44ae04]
test edx, edx
je 0x43ff30
mov dword [esp + 8], edi
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x44ae08]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x33079ccd
je 0x43fef3
inc edi
cmp edx, edi
jne 0x43fee0
mov ebp, ecx
jmp 0x43ff2c
mov edx, dword [ebp + edi*8 + 4]
cmp edx, ebx
mov ebp, ecx
mov edi, dword [esp + 8]
je 0x43ff30
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push edx
push dword [0x44ae0c]
mov edi, eax
call fcn.0043bd80
add esp, 0x24
mov ebx, eax
mov eax, edi
mov edi, dword [esp + 8]
test ebp, ebp
je 0x44002d
test ebx, ebx
js 0x44002d
test esi, esi
je 0x440025
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebp]
cmp edx, ecx
jb 0x43ff56
mov edx, ecx
test edx, edx
je 0x44001c
add eax, 0x10
mov ecx, edx
and ecx, 3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
je 0x43ffac
mov ebp, edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [esi], bx
add esi, 2
inc edi
cmp ecx, edi
jne 0x43ff80
mov edx, ebp
sub ebp, edi
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
cmp edx, 4
jae 0x43ffc0
jmp 0x44001c
mov ebp, edx
cmp edx, 4
jb 0x44001c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, esi
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea esi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [esi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [esi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
lea esi, [ebx + 8]
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x43ffc0
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov word [esi], 0
mov ebp, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebp], eax
push edi
call fcn.00438a60
add esp, 4
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret