Function at 0x43dc80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, ecx
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov dword [esp], 0xb08f8e8d
xor eax, eax
nop
nop
nop
movzx ebx, byte [esp + eax]
mov edx, eax
and edx, 1
mov ebp, eax
or ebp, 0xd825ce5d
add ebp, edx
xor ebp, ebx
mov ebx, ebp
and ebx, 1
xor ebp, 1
lea ebx, [ebx*2]
add ebx, ebp
add bl, 0x2e
mov byte [esp + eax], bl
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 4
jb 0x43dcb0
mov eax, dword [esp]
mov edx, dword [0x44f6fc]
test edx, edx
je 0x43dd43
xor ebx, ebx
mov ebp, dword [0x44f700]
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x3e416e49
je 0x43dd11
inc ebx
cmp edx, ebx
jne 0x43dd00
jmp 0x43dd43
mov edx, dword [ebp + ebx*8 + 4]
cmp edx, eax
je 0x43dd43
lea eax, [esp + 0x14]
lea ebx, [esp + 4]
push 4
push 0x3000
push eax
push 0
push ebx
push 0xffffffffffffffff
push 6
push dword [0x44f704]
push edx
mov ebx, ecx
call fcn.0043f170
mov ecx, ebx
add esp, 0x24
test eax, eax
js 0x43ddaa
push 0
push 0
mov eax, dword [esp + 0x10]
push dword [eax + 8]
push dword [esp + 0x10]
push dword [eax + 4]
push dword [eax]
call fcn.0043d080
test eax, eax
jns 0x43dd79
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0x8000000d
jne 0x43de1f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [eax + 8]
add ebx, ecx
sub ebx, dword [esp + 0x34]
xor eax, eax
mov edx, 0
mov dword [esp + 0xc], ecx
cmp ebx, ecx
jbe 0x43de1f
mov eax, dword [esp + 0x34]
lea ebp, [eax - 1]
mov ecx, dword [esp + 0xc]
jmp 0x43ddc1
xor eax, eax
xor edx, edx
jmp 0x43dec2
add ecx, eax
inc ecx
xor eax, eax
mov edx, 0
cmp ecx, ebx
jae 0x43de1f
test edi, edi
je 0x43ddca
cmp byte [edi], 0x3f
je 0x43ddd5
movzx eax, byte [ecx]
mov edx, dword [esp + 0x30]
cmp al, byte [edx]
jne 0x43ddb5
cmp dword [esp + 0x34], 2
jb 0x43de01
xor eax, eax
jmp 0x43ddf4
movzx edx, byte [ecx + eax + 1]
mov esi, dword [esp + 0x30]
cmp dl, byte [esi + eax + 1]
jne 0x43ddb3
inc eax
cmp ebp, eax
je 0x43de01
test edi, edi
je 0x43dde0
cmp byte [edi + eax + 1], 0x3f
jne 0x43dde0
jmp 0x43ddef
test ecx, ecx
je 0x43de1b
sub ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
mov eax, dword [esp + 8]
add ecx, dword [eax]
adc edx, dword [eax + 4]
mov eax, ecx
jmp 0x43de1f
xor eax, eax
xor edx, edx
mov dword [esp + 0x10], 0
mov dword [esp], 0xb08f8e8d
xor ecx, ecx
movzx edi, byte [esp + ecx]
mov esi, ecx
and esi, 1
mov ebx, ecx
or ebx, 0xd825ce5d
add ebx, esi
xor ebx, edi
mov edi, ebx
and edi, 1
xor ebx, 1
lea ebx, [ebx + edi*2]
add bl, 0x2e
mov byte [esp + ecx], bl
xor ecx, 1
lea ecx, [ecx + esi*2]
cmp ecx, 4
jb 0x43de30
mov ecx, dword [0x44f6fc]
test ecx, ecx
je 0x43dec2
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x44f700]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x16194952
je 0x43de90
inc edi
cmp ecx, edi
jne 0x43de80
jmp 0x43dec2
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x43dec2
lea esi, [esp + 0x10]
lea edi, [esp + 4]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x44f704]
push ecx
mov esi, eax
mov edi, edx
call fcn.0043f170
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0x10