Function at 0x43d010
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov dword [esp + 8], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0x9c9d9a9b
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43d089
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
lea edx, [ecx + ecx]
and edx, 0x7b3f7e34
mov esi, ecx
not esi
or esi, 0x3d9fbf1a
add esi, ecx
sub ecx, edx
lea ecx, [ecx + esi*2]
add ecx, 0x3d9fbf1c
xor ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
add al, 0x7e
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43d040
mov eax, dword [esp + 4]
mov ecx, dword [0x44e374]
test ecx, ecx
je 0x43d0de
xor edx, edx
mov esi, dword [0x44e378]
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43d0b0
inc edx
cmp ecx, edx
jne 0x43d0a0
jmp 0x43d0de
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43d0de
lea eax, [esp + 0x20]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44e37c]
push ecx
call fcn.0043e4b0
add esp, 0x24
test eax, eax
js 0x43d145
mov ecx, dword [esp + 0x38]
push 0
push 0
push dword [edi + 8]
push dword [esp + 0x14]
push dword [edi + 4]
mov dword [esp + 0x24], edi
push dword [edi]
call fcn.0043c310
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0xbfffffff
ja 0x43d1f3
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 8]
add esi, ecx
sub esi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x18], esi
cmp esi, ecx
jbe 0x43d1f3
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
neg esi
mov ebp, ecx
mov dword [esp + 0x14], ecx
jmp 0x43d170
xor eax, eax
xor edx, edx
jmp 0x43d2c2
and edx, 0xfffffffc
xor eax, 0xfffffffe
add eax, edx
add ebp, eax
add ebp, 0xb0f23472
inc ebp
xor eax, eax
mov edx, 0
cmp ebp, dword [esp + 0x18]
jae 0x43d1f3
test edi, edi
je 0x43d179
cmp byte [edi], 0x3f
je 0x43d185
movzx eax, byte [ebp]
mov edx, dword [esp + 0x3c]
cmp al, byte [edx]
jne 0x43d15e
cmp dword [esp + 0x40], 2
jb 0x43d1d5
mov eax, 0x4f0dcb90
mov edx, 0x9e1b9720
jmp 0x43d1c5
movzx ecx, byte [ebp + eax - 0x4f0dcb8f]
mov ebx, dword [esp + 0x3c]
cmp cl, byte [ebx + eax - 0x4f0dcb8f]
jne 0x43d14e
add edx, 2
lea ecx, [esi + eax]
inc ecx
inc eax
cmp ecx, 0x4f0dcb8f
je 0x43d1d5
test edi, edi
je 0x43d1a0
cmp byte [edi + eax - 0x4f0dcb8f], 0x3f
jne 0x43d1a0
jmp 0x43d1b5
test ebp, ebp
je 0x43d1ef
sub ebp, dword [esp + 0x14]
mov edx, ebp
sar edx, 0x1f
mov eax, dword [esp + 0x10]
add ebp, dword [eax]
adc edx, dword [eax + 4]
mov eax, ebp
jmp 0x43d1f3
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0x9c9d9a9b
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 3
ja 0x43d26a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
lea edi, [esi + esi]
and edi, 0x7b3f7e34
mov ebx, esi
not ebx
or ebx, 0x3d9fbf1a
add ebx, esi
sub esi, edi
lea esi, [esi + ebx*2]
add esi, 0x3d9fbf1c
xor esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0xc]
add cl, 0x7e
mov esi, dword [esp]
mov byte [esp + esi + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 4
jb 0x43d220
mov ecx, dword [0x44e374]
test ecx, ecx
je 0x43d2c2
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x44e378]
cmp dword [ebx + edi*8], 0x44caaeb6
je 0x43d290
inc edi
cmp ecx, edi
jne 0x43d280
jmp 0x43d2c2
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x43d2c2
lea esi, [esp + 0x1c]
lea edi, [esp + 8]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x44e37c]
push ecx
mov esi, eax
mov edi, edx
call fcn.0043e4b0
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10