Function at 0x100147a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [0x1005e608]
sub esp, 0xb0
push ebx
mov ebx, ecx
push ebp
push esi
push edi
test dl, 1
jne 0x100147d5
or edx, 1
mov dword [0x1005e608], edx
call fcn.10006170
mov edx, dword [0x1005e608]
mov cl, al
mov byte [0x1005e60c], cl
jmp 0x100147db
mov cl, byte [0x1005e60c]
test dl, 2
jne 0x100147fd
or edx, 2
mov eax, str.SOFTWAREWOW6432NodeInternet_Download_ManagerMaxClientId
test cl, cl
mov dword [0x1005e608], edx
mov esi, str.SOFTWAREInternet_Download_ManagerMaxClientId
cmove eax, esi
mov dword [0x1005e610], eax
test dl, 4
jne 0x10014820
or edx, 4
mov eax, 0x2e
mov dword [0x1005e608], edx
test cl, cl
mov edx, 0x3a
cmovne eax, edx
mov word [0x1005e614], ax
mov ebp, dword [esp + 0xc4]
test ebp, ebp
je 0x10014837
test ebp, 0x40000000
jne 0x100149d6
lea ecx, [ebx + 0x1b04]
call fcn.1002b3f0
test al, al
je 0x10014a76
mov dx, word [0x1005e614]
lea esi, [esp + 0x30]
mov eax, 0x18
mov word [esp + 0x1a], dx
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x18]
lea ecx, [edx + 0xc]
mov dword [esp + 0x38], eax
add cx, cx
mov dword [esp + 0x1e], 0x40004
mov word [esp + 0x1c], cx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov word [esp + 0x22], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
movzx eax, cx
add esi, eax
mov dword [esp + 0x30], 0x10c
movzx eax, dx
push eax
push dword [0x1005e610]
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], 0
push eax
mov dword [esp + 0x40], 1
call dword [sym.imp.msvcrt.dll_wcsncpy]
movzx edi, word [0x1005e614]
lea edx, [esp + 0x54]
add esp, 0xc
mov ch, 4
test edi, edi
je 0x10014913
mov dword [esp + 0x10], 0x2553
mov dword [esp + 0x14], 0xdaad
lea esp, [esp]
mov ax, word [edx]
lea edx, [edx + 2]
mov cl, ch
inc ch
and cl, 0xf
rol ax, cl
sub ax, word [esp + 0x10]
xor ax, word [esp + 0x14]
mov word [edx - 2], ax
sub edi, 1
jne 0x100148f0
mov eax, dword [ebx + 0x1b0c]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp eax, 0xffffffff
je 0x1001499a
push 0
lea ecx, [esp + 0x30]
push ecx
push 0x14
lea ecx, [esp + 0x24]
push ecx
push 0x90
lea ecx, [esp + 0x44]
push ecx
push 0x12c028
push eax
call edx
test eax, eax
je 0x10014996
cmp dword [esp + 0x1c], 4
mov dword [ebx + 0x1b10], 0
jne 0x100149c1
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov ah, 4
test edi, edi
je 0x1001498f
mov al, byte [edx]
lea edx, [edx + 1]
xor al, 0xad
mov cl, ah
and cl, 7
add al, 0x53
ror al, cl
inc ah
mov byte [edx - 1], al
sub edi, 1
jne 0x10014975
mov eax, dword [esp + 0x24]
inc eax
jmp 0x100149c6
mov ecx, dword [esp + 0x10]
cmp dword [ebx + 0x1b0c], 0xffffffff
je 0x100149b7
call ecx
test eax, eax
mov ecx, 0x1f
cmovne ecx, eax
mov dword [ebx + 0x1b10], ecx
jmp 0x100149c1
mov dword [ebx + 0x1b10], 6
mov eax, 1
mov dword [esp + 0x24], eax
mov ecx, eax
mov dword [esi], ecx
test ebp, ebp
je 0x100149e5
cmp ebp, eax
jae 0x100149e5
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 4
mov byte [esp + 0x30], 0xd
mov dl, 4
mov edi, 4
mov al, byte [esi]
lea esi, [esi + 1]
mov cl, dl
inc dl
and cl, 7
rol al, cl
sub al, 0x53
xor al, 0xad
mov byte [esi - 1], al
sub edi, 1
jne 0x100149f1
mov eax, dword [ebx + 0x1b0c]
cmp eax, 0xffffffff
je 0x10014a4d
push edi
lea ecx, [esp + 0x30]
push ecx
push edi
push edi
push 0x90
lea ecx, [esp + 0x44]
push ecx
push 0x12c028
push eax
call dword [esp + 0x34]
test eax, eax
je 0x10014a4d
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x1b10], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 4
cmp dword [ebx + 0x1b0c], 0xffffffff
je 0x10014a6c
call dword [esp + 0x10]
test eax, eax
mov ecx, 0x1f
cmovne ecx, eax
mov dword [ebx + 0x1b10], ecx
jmp 0x10014a76
mov dword [ebx + 0x1b10], 6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.10005dd0
pop edi
pop esi
shr eax, 2
pop ebp
or eax, 0x40000000
pop ebx
add esp, 0xb0
ret 4