Function at 0x42dded
Capabilities:
Create directory
Create thread
Get common file path
Set environment variable

Disassembly:
mov eax, 0x4e936a
call fcn.004b48a0
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0x5e
push 2
mov dword [ebp - 0x2c], ecx
pop ebx
jne 0x42de10
add esi, ebx
mov dword [ebp + 8], esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x400
push eax
lea ecx, [ebp - 0x40]
call fcn.004494b0
mov ecx, dword [ebp - 0x40]
push 0x23
pop edi
xor eax, eax
push 0x24
mov dword [ebp - 0x28], ecx
pop ecx
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
jne 0x42de4a
mov dword [ebp - 0x18], ecx
jmp 0x42de52
cmp dword [ebp + 0xc], edi
jne 0x42de52
mov dword [ebp - 0x1c], edi
mov ax, word [esi]
cmp ax, cx
jne 0x42de66
cmp word [ebp - 0x18], 0
jne 0x42de66
mov dword [ebp - 0x18], ecx
jmp 0x42de75
cmp ax, di
jne 0x42de7a
cmp word [ebp - 0x1c], 0
jne 0x42de7a
mov dword [ebp - 0x1c], edi
add esi, ebx
mov dword [ebp + 8], esi
cmp word [esi], 0x20
jne 0x42de85
add esi, ebx
mov dword [ebp + 8], esi
xor eax, eax
mov ax, word [esi]
cmp ax, 0x2a
je 0x42de96
cmp ax, 0x2d
jne 0x42de9e
add esi, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp + 8], esi
and dword [ebp - 0x34], 0
cmp byte [ebp + 0xc], 0
lea ecx, [ebp - 0x24]
setne byte [ebp - 0xd]
call fcn.00449480
cmp word [esi], 0
mov byte [ebp - 4], 1
jne 0x42df88
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x42df81
cmp dword [ebp + 0x10], edi
je 0x42df81
mov eax, dword [esi + 0x4f44cc]
mov ebx, dword [ebp - 0x28]
inc eax
inc eax
push eax
push str._s
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 1
lea edi, [esi + 0x4f44c8]
push dword [edi]
lea ebx, [ebx + eax*2]
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42df73
cmp dword [edi], 0x1a
jne 0x42df2a
push str.MicrosoftInternet_ExplorerQuick_Launch
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
call fcn.00423c6c
pop ecx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.HKCUEnvironment_
lea ecx, [ebp - 0x24]
call fcn.00456630
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00449510
push 1
push dword [ebp - 0x24]
mov edi, 0x51d2a0
mov ecx, edi
call fcn.00471cd0
push ebx
push dword [esi + 0x4f44cc]
mov ecx, edi
call fcn.00448be0
mov ecx, dword [ebp - 0x2c]
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call fcn.0042dded
add esi, 8
cmp esi, 0x40
jb 0x42ded4
jmp 0x42df85
mov byte [ebp - 0xd], 0x10
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
xor bl, bl
test ecx, ecx
mov byte [ebp + 0xf], bl
mov byte [ebp + 0xb], bl
mov byte [ebp + 0x13], bl
je 0x42e0b2
cmp word [ecx], 0
je 0x42e0b2
push 0x7e
pop edi
xor edx, edx
mov dx, word [ecx]
mov eax, edx
call fcn.0041ed7f
test al, al
jne 0x42e09e
cmp dx, 0x2e
je 0x42e092
cmp dx, 0x24
je 0x42e092
cmp dx, 0x25
je 0x42e092
cmp dx, 0x2a
jne 0x42dfeb
or bl, 4
jmp 0x42e092
cmp dx, di
jne 0x42e030
lea eax, [ecx + 2]
cmp word [eax], di
jne 0x42e000
or bl, 2
jmp 0x42e090
cmp dx, di
jne 0x42e030
lea eax, [ecx + 2]
cmp word [eax], 0x2e
jne 0x42e013
or bl, 8
jmp 0x42e090
cmp dx, di
jne 0x42e030
lea eax, [ecx + 2]
cmp word [eax], 0x2a
jne 0x42e026
or bl, 9
jmp 0x42e090
cmp dx, di
jne 0x42e030
or bl, 1
jmp 0x42e092
cmp dx, 0x2d
jne 0x42e092
cmp word [ecx + 2], 0x65
jne 0x42e053
cmp word [ecx + 4], 0x6e
jne 0x42e053
lea eax, [ecx + 6]
cmp word [eax], 0x76
jne 0x42e053
or byte [ebp + 0xf], 0x40
jmp 0x42e090
cmp dx, 0x2d
jne 0x42e092
cmp word [ecx + 2], 0x72
jne 0x42e076
cmp word [ecx + 4], 0x61
jne 0x42e076
lea eax, [ecx + 6]
cmp word [eax], 0x77
jne 0x42e076
or byte [ebp + 0xb], 0x40
jmp 0x42e090
cmp dx, 0x2d
jne 0x42e092
cmp word [ecx + 2], 0x65
jne 0x42e092
lea eax, [ecx + 4]
cmp word [eax], 0x78
jne 0x42e092
mov byte [ebp + 0x13], 1
mov ecx, eax
inc ecx
inc ecx
cmp word [ecx], 0
jne 0x42dfab
cmp byte [ebp + 0xb], 0
je 0x42e0b2
lea eax, [ebp + 0x14]
push eax
xor bl, bl
call fcn.00417e2a
mov esi, dword [eax]
pop ecx
push 0x3d
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0x14], eax
je 0x42e0cb
mov word [eax], cx
add dword [ebp - 0x14], 2
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x2c]
cmp byte [edi + 0x8e], 0
mov byte [ebp - 4], 2
jne 0x42e0f5
test byte [edi + 0xb], 0xf
jne 0x42e0f5
push 1
push ecx
lea eax, [ebp - 0x20]
push eax
push esi
mov ecx, edi
call fcn.004541d0
jmp 0x42e104
push 1
push ecx
lea eax, [ebp - 0x20]
push eax
push esi
mov ecx, edi
call fcn.00452ca0
mov esi, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
test bl, bl
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], eax
je 0x42e13d
cmp dword [ebp - 0x14], eax
je 0x42e16e
mov al, byte [ebp + 0xf]
or al, bl
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.00456630
push eax
mov ecx, edi
call fcn.0046c9c0
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], eax
je 0x42e16e
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045d7c0
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x42e16e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
shl edi, 1
jmp 0x42e170
xor edi, edi
xor ebx, ebx
cmp word [esi], bx
je 0x42e229
cmp word [ebp - 0x18], bx
je 0x42e1b4
cmp dword [ebp - 0x14], ebx
jne 0x42e19b
push esi
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push SysReAllocStringLen
call fcn.004448c0
add esp, 0xc
jmp 0x42e1b4
push edi
push dword [ebp - 0x14]
push 1
push esi
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push SysReAllocStringLen
call fcn.00444820
add esp, 0x18
cmp word [esi], bx
je 0x42e229
cmp word [ebp - 0x1c], bx
je 0x42e1f2
cmp dword [ebp - 0x14], ebx
jne 0x42e1d9
push esi
push str.Environment
push SysReAllocStringLen
call fcn.004448c0
add esp, 0xc
jmp 0x42e1f2
push edi
push dword [ebp - 0x14]
push 1
push esi
push str.Environment
push SysReAllocStringLen
call fcn.00444820
add esp, 0x18
cmp word [esi], bx
je 0x42e229
cmp byte [ebp + 0x13], 0
je 0x42e20d
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
call fcn.0044d710
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x42e220
mov dword [ebp - 0x34], ebx
jmp 0x42e229
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
cmp byte [ebp - 0xd], 0
pop edi
je 0x42e27a
cmp word [ebp - 0x30], 0x2a
je 0x42e27a
cmp word [ebp - 0x30], 0x2d
je 0x42e261
mov al, byte [0x51d141]
cmp al, 0x2d
je 0x42e261
cmp byte [ebp - 0xd], 0x10
je 0x42e25a
test al, al
je 0x42e25a
mov byte [0x51d142], 1
jmp 0x42e27a
call fcn.00420d10
jmp 0x42e27a
push 0x51c738
mov eax, 0x10000
push eax
push ebx
push 0x42dcac
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00443880
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00443880
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00443880
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00443880
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00443880
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10