Function at 0x43ee30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x4d2960
call fcn.004b1018
mov esi, 0x4d290c
push ebx
call fcn.0043edc0
pop ecx
mov al, byte [ebp + 0x14]
mov byte [ebx + 0xc], al
test al, al
je 0x43f05d
push 4
call fcn.004afffc
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x43ee8d
mov word [ebp - 0x1c], 0x14
mov edx, dword [ebp - 4]
push edx
call fcn.00449314
pop ecx
mov word [ebp - 0x1c], 8
mov ecx, dword [ebp - 4]
jmp 0x43ee90
mov ecx, dword [ebp - 4]
mov dword [ebx], ecx
mov eax, dword [ebx]
test eax, eax
jne 0x43eea9
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x43f16b
push 0xfa00
call fcn.004b01a0
pop ecx
mov dword [ebx + 0xd], eax
mov ecx, dword [ebx + 0xd]
test ecx, ecx
jne 0x43eecf
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x43f16b
push 0x80000000
push edi
mov ecx, dword [ebx]
push ecx
call fcn.00449368
add esp, 0xc
test al, al
jne 0x43eefc
push ebx
call fcn.0043edc0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x43f16b
push 0
push 0x1000
mov ecx, dword [ebx]
push ecx
call fcn.00449740
xor eax, eax
add esp, 0xc
mov dword [ebx + 4], eax
xor eax, eax
push esi
mov edi, esi
or ecx, 0xffffffff
lea esi, [ebp - 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
lea edi, [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x43ef48
xor byte [edi], 0
inc dword [ebp - 0x38]
inc edi
push esi
call fcn.004b0c94
pop ecx
mov edx, dword [ebp - 0x38]
cmp eax, edx
jg 0x43ef41
push 0x20
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebx]
push ecx
call fcn.00449428
add esp, 0xc
cmp eax, 0x20
jne 0x43f041
mov al, byte [ebp + 0x10]
test al, al
je 0x43efaa
xor edx, edx
xor esi, esi
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x70]
lea eax, [ebp - 0x34]
push eax
call fcn.004b0c94
pop ecx
push eax
mov eax, esi
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov esi, edx
mov al, byte [ebp + esi - 0x34]
xor byte [edi], al
inc edi
inc dword [ebp - 0x3c]
inc esi
mov eax, dword [ebp - 0x3c]
cmp eax, 0x20
jl 0x43ef81
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0xd]
shl edx, 5
mov eax, dword [ebp - 0x70]
lea edi, [ebp - 0x6c]
mov dword [ecx + edx + 4], eax
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0xd]
shl edx, 5
xor eax, eax
add edx, ecx
add edx, 8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43f000
shl eax, 5
mov edx, dword [ebx + 0xd]
mov dword [edx + eax], 0x1020
jmp 0x43f022
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0xd]
shl eax, 5
mov edx, dword [ebx + 0xd]
mov esi, dword [esi + eax - 0x1c]
mov ecx, dword [edx + eax - 0x20]
add esi, 0xf
and esi, 0xfffffff0
add ecx, esi
add ecx, 0x20
mov dword [edx + eax], ecx
push 1
mov eax, dword [ebp - 0x70]
add eax, 0xf
and eax, 0xfffffff0
push eax
mov edx, dword [ebx]
push edx
call fcn.00449740
add esp, 0xc
inc dword [ebx + 4]
jmp 0x43ef56
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x43f15f
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x43f16b
push 4
call fcn.004afffc
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x43f087
mov word [ebp - 0x1c], 0x2c
mov edx, dword [ebp - 8]
push edx
call fcn.00449314
pop ecx
mov word [ebp - 0x1c], 0x20
mov ecx, dword [ebp - 8]
jmp 0x43f08a
mov ecx, dword [ebp - 8]
mov dword [ebx], ecx
mov eax, dword [ebx]
test eax, eax
jne 0x43f0a3
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x43f16b
push 0x80000000
push edi
mov ecx, dword [ebx]
push ecx
call fcn.00449368
add esp, 0xc
test al, al
jne 0x43f0d0
push ebx
call fcn.0043edc0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x43f16b
push 0x10
lea ecx, [ebp - 0x50]
push ecx
mov eax, dword [ebx]
push eax
call fcn.00449428
add esp, 0xc
mov edi, dword [ebp - 0x50]
mov dword [ebx + 4], edi
shl edi, 5
push edi
call fcn.004b01a0
pop ecx
mov dword [ebx + 0xd], eax
mov eax, dword [ebx + 0xd]
test eax, eax
jne 0x43f109
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x43f16b
mov ecx, dword [ebx + 4]
shl ecx, 5
push ecx
mov eax, dword [ebx + 0xd]
push eax
mov edx, dword [ebx]
push edx
call fcn.00449428
add esp, 0xc
mov cl, byte [ebp + 0x10]
test cl, cl
je 0x43f15f
xor eax, eax
xor edi, edi
mov dword [ebp - 0x40], eax
jmp 0x43f152
push esi
call fcn.004b0c94
pop ecx
push eax
pop edx
mov eax, edi
mov ecx, edx
xor edx, edx
div ecx
mov edi, edx
mov edx, dword [ebx + 0xd]
mov ecx, dword [ebp - 0x40]
mov al, byte [esi + edi]
xor byte [edx + ecx], al
inc dword [ebp - 0x40]
inc edi
mov eax, dword [ebx + 4]
shl eax, 5
mov edx, dword [ebp - 0x40]
cmp eax, edx
jg 0x43f12f
mov al, 1
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret