Function at 0x473d60
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a507
mov eax, dword fs:[0]
push eax
sub esp, 0x6b4
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x6bc], eax
mov dword [ebp - 0x694], 0xf
mov dword [ebp - 0x698], ebx
mov byte [ebp - 0x6a8], bl
xor ecx, ecx
push ebx
mov word [ebp - 0x68c], cx
mov edi, 7
push 0x4ab248
lea ecx, [ebp - 0x68c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x678], edi
mov dword [ebp - 0x67c], ebx
call fcn.004027c0
push 0xc
xor edx, edx
push str.iexplore.exe
lea ecx, [ebp - 0x638]
mov byte [ebp - 4], 1
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x628], ebx
mov word [ebp - 0x638], dx
call fcn.004027c0
mov byte [ebp - 4], 2
call fcn.00467630
test eax, eax
je 0x4740f8
push 0x4d
xor eax, eax
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
lea ecx, [ebp - 0x670]
mov dword [ebp - 0x65c], edi
mov dword [ebp - 0x660], ebx
mov word [ebp - 0x670], ax
call fcn.004027c0
push 0x208
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
push edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x6ac], 1
mov word [ebp - 0x21c], cx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x670]
mov esi, 8
add esp, 0xc
mov dword [ebp - 0x6b4], 0x20a
cmp dword [ebp - 0x65c], esi
jae 0x473e8f
lea eax, [ebp - 0x670]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x6b4]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x6ac]
push ecx
push str.Progid
push eax
push SysReAllocString
call edi
cmp eax, ebx
jne 0x474052
xor edx, edx
lea eax, [ebp - 0x21c]
mov word [ebp - 0x654], dx
mov dword [ebp - 0x640], 7
mov dword [ebp - 0x644], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x473ee1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x654]
call fcn.004027c0
push 0x14
push str._shellopencommand_
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 4
call fcn.004026a0
push 0x3fe
lea edx, [ebp - 0x61a]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x6ac], 1
mov word [ebp - 0x61c], cx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x654]
add esp, 0xc
mov dword [ebp - 0x6b8], 0x400
cmp dword [ebp - 0x640], esi
jae 0x473f5f
lea eax, [ebp - 0x654]
lea ecx, [ebp - 0x6b8]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea ecx, [ebp - 0x6ac]
push ecx
push ebx
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x47403b
lea eax, [ebp - 0x61c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x473f90
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x61c]
push edx
lea ecx, [ebp - 0x638]
call fcn.004027c0
push 1
push ebx
lea eax, [ebp - 0x6b0]
mov edi, 0x22
push eax
lea ecx, [ebp - 0x638]
mov dword [ebp - 0x6b0], edi
call fcn.0041ad00
mov esi, eax
cmp esi, 0xffffffff
je 0x474036
push 1
lea ecx, [esi + 1]
push ecx
lea edx, [ebp - 0x6b0]
push edx
lea ecx, [ebp - 0x638]
mov dword [ebp - 0x6b0], edi
call fcn.0041ad00
cmp eax, 0xffffffff
je 0x474036
mov edx, dword [ebp - 0x624]
mov edi, dword [ebp - 0x638]
mov ecx, edi
cmp edx, 8
jae 0x474015
lea ecx, [ebp - 0x638]
lea ecx, [ecx + eax*2]
mov eax, edi
cmp edx, 8
jae 0x474025
lea eax, [ebp - 0x638]
push ecx
lea eax, [eax + esi*2 + 2]
push eax
lea ecx, [ebp - 0x638]
call fcn.00473c10
mov esi, 8
cmp dword [ebp - 0x640], esi
jb 0x474052
mov eax, dword [ebp - 0x654]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x65c], esi
jb 0x474069
mov ecx, dword [ebp - 0x670]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 7
mov eax, dword [ebp - 0x638]
cmp dword [ebp - 0x624], esi
jae 0x474082
lea eax, [ebp - 0x638]
mov edx, dword [ebp - 0x6bc]
push 5
push ebx
push edx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x624], esi
jb 0x4740b0
mov eax, dword [ebp - 0x638]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x628], ebx
mov word [ebp - 0x638], cx
cmp dword [ebp - 0x678], esi
jb 0x4740dc
mov edx, dword [ebp - 0x68c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x6b4]
push edx
mov eax, 0x100
push ebx
push SysReAllocString
mov dword [ebp - 0x6b8], eax
mov dword [ebp - 0x6b0], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4741a4
mov ecx, dword [ebp - 0x6b4]
lea eax, [ebp - 0x6ac]
push eax
push 0xf003f
push ebx
push str.htmlfile__shell__open__command
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4741a4
lea edx, [ebp - 0x6b0]
push edx
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x6c0]
push ecx
mov ecx, dword [ebp - 0x6ac]
push ebx
lea edx, [ebp - 0x6b8]
push edx
lea eax, [ebp - 0x214]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x41c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x474182
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x41c]
push edx
lea ecx, [ebp - 0x638]
call fcn.004027c0
mov eax, dword [ebp - 0x6ac]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [ebp - 0x6b4]
push ecx
call esi
mov esi, 8
jmp 0x47406e