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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0x5e
push 2
mov dword [ebp - 0xc], ecx
pop ebx
jne 0x414f66
add edi, ebx
mov dword [ebp + 8], edi
push esi
push edi
call fcn.0046176a
pop ecx
add eax, 0x400
push eax
lea ecx, [ebp - 0x34]
call fcn.0042465d
mov eax, dword [ebp - 0x34]
push 0x23
pop esi
push 0x24
mov dword [ebp - 0x20], eax
xor eax, eax
pop ecx
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
jne 0x414f9d
mov dword [ebp - 0x10], ecx
jmp 0x414fa5
cmp dword [ebp + 0xc], esi
jne 0x414fa5
mov dword [ebp - 0x14], esi
mov ax, word [edi]
cmp ax, cx
jne 0x414fb9
cmp word [ebp - 0x10], 0
jne 0x414fb9
mov dword [ebp - 0x10], ecx
jmp 0x414fc8
cmp ax, si
jne 0x414fcd
cmp word [ebp - 0x14], 0
jne 0x414fcd
mov dword [ebp - 0x14], esi
add edi, ebx
mov dword [ebp + 8], edi
cmp word [edi], 0x20
jne 0x414fd8
add edi, ebx
mov dword [ebp + 8], edi
xor eax, eax
mov ax, word [edi]
cmp ax, 0x2a
je 0x414fe9
cmp ax, 0x2d
jne 0x414ff1
add edi, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp + 8], edi
and dword [ebp - 0x28], 0
cmp byte [ebp + 0xc], 0
lea ecx, [ebp - 0x1c]
setne byte [ebp - 1]
call fcn.0042460b
cmp word [edi], 0
jne 0x4150fa
cmp dword [ebp + 0x10], 0
je 0x4150f6
cmp dword [ebp + 0x10], esi
je 0x4150f6
xor esi, esi
xor eax, eax
cmp word [edi], ax
je 0x415046
mov ecx, dword [ebp - 0xc]
push eax
push eax
mov eax, dword [esi + 0x4764bc]
push dword [ebp + 0xc]
inc eax
inc eax
push eax
call fcn.00414f4a
jmp 0x4150e8
mov eax, dword [esi + 0x4764bc]
mov ebx, dword [ebp - 0x20]
inc eax
inc eax
push eax
push 0x478400
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 1
lea edi, [esi + 0x4764b8]
push dword [edi]
lea ebx, [ebx + eax*2]
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4150e5
cmp dword [edi], 0x1a
jne 0x41509c
push str.MicrosoftInternet_ExplorerQuick_Launch
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
call fcn.0040e63d
pop ecx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.HKCUEnvironment_
lea ecx, [ebp - 0x1c]
call fcn.0042a1b7
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.004246c0
push 1
push dword [ebp - 0x1c]
mov edi, 0x48aec0
mov ecx, edi
call fcn.004499d6
push ebx
push dword [esi + 0x4764bc]
mov ecx, edi
call fcn.00428e1b
mov ecx, dword [ebp - 0xc]
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.00414f4a
mov edi, dword [ebp + 8]
add esi, 8
cmp esi, 0x40
jb 0x415024
jmp 0x4150fa
mov byte [ebp - 1], 0x10
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 0x415224
cmp word [ecx], 0
je 0x415224
push 0x7e
pop esi
xor edx, edx
mov dx, word [ecx]
mov eax, edx
call fcn.004213da
test al, al
jne 0x415210
cmp dx, 0x2e
je 0x415204
cmp dx, 0x24
je 0x415204
cmp dx, 0x25
je 0x415204
cmp dx, 0x2a
jne 0x41515d
or bl, 4
jmp 0x415204
cmp dx, si
jne 0x4151a2
lea eax, [ecx + 2]
cmp word [eax], si
jne 0x415172
or bl, 2
jmp 0x415202
cmp dx, si
jne 0x4151a2
lea eax, [ecx + 2]
cmp word [eax], 0x2e
jne 0x415185
or bl, 8
jmp 0x415202
cmp dx, si
jne 0x4151a2
lea eax, [ecx + 2]
cmp word [eax], 0x2a
jne 0x415198
or bl, 9
jmp 0x415202
cmp dx, si
jne 0x4151a2
or bl, 1
jmp 0x415204
cmp dx, 0x2d
jne 0x415204
cmp word [ecx + 2], 0x65
jne 0x4151c5
cmp word [ecx + 4], 0x6e
jne 0x4151c5
lea eax, [ecx + 6]
cmp word [eax], 0x76
jne 0x4151c5
or byte [ebp + 0xf], 0x40
jmp 0x415202
cmp dx, 0x2d
jne 0x415204
cmp word [ecx + 2], 0x72
jne 0x4151e8
cmp word [ecx + 4], 0x61
jne 0x4151e8
lea eax, [ecx + 6]
cmp word [eax], 0x77
jne 0x4151e8
or byte [ebp + 0xb], 0x40
jmp 0x415202
cmp dx, 0x2d
jne 0x415204
cmp word [ecx + 2], 0x65
jne 0x415204
lea eax, [ecx + 4]
cmp word [eax], 0x78
jne 0x415204
mov byte [ebp + 0x13], 1
mov ecx, eax
inc ecx
inc ecx
cmp word [ecx], 0
jne 0x41511d
cmp byte [ebp + 0xb], 0
je 0x415224
lea eax, [ebp + 0x14]
push eax
xor bl, bl
call fcn.00403977
mov edi, dword [eax]
pop ecx
push 0x3d
push edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
xor edx, edx
cmp eax, edx
mov dword [ebp - 8], eax
je 0x41523d
mov word [eax], dx
add dword [ebp - 8], 2
mov ecx, dword [ebp - 0xc]
cmp byte [ecx + 0x4d], 0
mov dword [ebp - 0x18], edx
jne 0x41525e
test byte [ecx + 9], 0xf
jne 0x41525e
push 1
push edx
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0043dc02
jmp 0x41526b
push 1
push edx
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0043cace
mov esi, dword [ebp - 0x18]
xor edi, edi
test bl, bl
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
je 0x4152a1
cmp dword [ebp - 8], edi
je 0x4152d1
xor eax, eax
mov al, byte [ebp + 0xf]
or al, bl
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 8]
call fcn.0042a1b7
mov ecx, dword [ebp - 0xc]
push eax
call fcn.00446e5f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], edi
je 0x4152d1
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00436a61
add esp, 0x10
cmp dword [ebp - 8], edi
je 0x4152d1
push dword [ebp - 8]
call fcn.0046176a
mov edi, eax
pop ecx
shl edi, 1
jmp 0x4152d3
xor edi, edi
xor ebx, ebx
cmp word [esi], bx
je 0x41538c
cmp word [ebp - 0x10], bx
je 0x415317
cmp dword [ebp - 8], ebx
jne 0x4152fe
push esi
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push 0x80000002
call fcn.0042557a
add esp, 0xc
jmp 0x415317
push edi
push dword [ebp - 8]
push 1
push esi
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push 0x80000002
call fcn.00425503
add esp, 0x18
cmp word [esi], bx
je 0x41538c
cmp word [ebp - 0x14], bx
je 0x415355
cmp dword [ebp - 8], ebx
jne 0x41533c
push esi
push str.Environment
push 0x80000001
call fcn.0042557a
add esp, 0xc
jmp 0x415355
push edi
push dword [ebp - 8]
push 1
push esi
push str.Environment
push 0x80000001
call fcn.00425503
add esp, 0x18
cmp word [esi], bx
je 0x41538c
cmp byte [ebp + 0x13], 0
je 0x415370
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0042e9b8
pop ecx
pop ecx
mov dword [ebp - 8], eax
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x415383
mov dword [ebp - 0x28], ebx
jmp 0x41538c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
cmp byte [ebp - 1], 0
pop esi
je 0x4153dd
cmp word [ebp - 0x24], 0x2a
je 0x4153dd
cmp word [ebp - 0x24], 0x2d
je 0x4153c4
mov al, byte [0x48ad40]
cmp al, 0x2d
je 0x4153c4
cmp byte [ebp - 1], 0x10
je 0x4153bd
test al, al
je 0x4153bd
mov byte [0x48ad41], 1
jmp 0x4153dd
call fcn.0040b1fe
jmp 0x4153dd
push 0x48ab6c
mov eax, 0x10000
push eax
push ebx
push 0x414e48
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x2c]
call fcn.00424686
lea ecx, [ebp - 0x30]
call fcn.00424686
lea ecx, [ebp - 0x18]
call fcn.00424686
lea ecx, [ebp - 0x1c]
call fcn.00424686
lea ecx, [ebp - 0x34]
call fcn.00424686
mov eax, dword [ebp - 0x28]
pop edi
pop ebx
leave
ret 0x10