Function at 0x41d100
Capabilities:
Check if file exists
Create shortcut via ishelllink
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440211
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x45d070]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x45d070]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x443948
push 1
push 0
push 0x443958
mov dword [esp + 0x27c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41d40e
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x41d2bb
xor eax, eax
push 0x206
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push str.http_shellopencommand
push SysReAllocString
mov dword [esp + 0x44], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
call fcn.00405eb0
push 1
push 0
lea eax, [esp + 0x20]
mov byte [esp + 0x270], 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], 0x22
call fcn.00412730
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x41d26a
lea ecx, [eax + 1]
push 1
push ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], 0x22
call fcn.00412730
cmp eax, 0xffffffff
je 0x41d26a
cmp dword [esp + 0x48], 8
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x34]
cmovae edx, dword [esp + 0x34]
lea edx, [edx + eax*2]
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push edx
lea eax, [eax + ecx*2]
add eax, 2
push eax
lea ecx, [esp + 0x3c]
call fcn.0040d390
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
jne 0x41d27f
push ebx
push eax
call dword [ecx + 0x50]
push esi
jmp 0x41d293
cmp dword [esp + 0x48], 8
lea edx, [esp + 0x34]
cmovae edx, dword [esp + 0x34]
push edx
push eax
call dword [ecx + 0x50]
push ebx
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov byte [esp + 0x268], 0
cmp dword [esp + 0x48], 8
jb 0x41d2d1
push dword [esp + 0x34]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x41d2d1
mov eax, dword [esp + 0x10]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push edi
mov esi, eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x41d32f
mov ecx, dword [0x461300]
test cl, 1
jne 0x41d306
or ecx, 1
push 0x442bc0
mov dword [0x461300], ecx
call fcn.0043be9d
add esp, 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d31c
mov ecx, edi
call fcn.0042ac40
test al, al
jne 0x41d32f
push str..ico
push esi
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41d33c
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov dword [esp + 0x14], 0
mov byte [esp + 0x268], 2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 0x443968
push eax
call dword [ecx]
test eax, eax
js 0x41d3f8
mov eax, dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51]
test al, 1
jne 0x41d391
or eax, 1
push 0x4427b0
mov dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51], eax
call fcn.0043be9d
add esp, 4
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00420c30
push ecx
push esi
push ecx
lea ecx, [esp + 0x58]
call fcn.0041cff0
push dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..lnk
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, dword [esp + 0x14]
push 0
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
call dword [ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x268], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d3f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov bl, 1
jmp 0x41d410
mov byte [esp + 0x268], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d40e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor bl, bl
mov dword [esp + 0x268], 0xffffffff
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x41d429
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret 0x18