Function at 0x442ad0
Capabilities:
Get common file path
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x488cbc
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x520], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x538]
mov dword fs:[0], eax
mov eax, dword [esp + 0x548]
mov ebp, dword [esp + 0x54c]
xor edi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x540], edi
mov dword [esp + 0x28], 0x400
call fcn.0044d630
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x442b4c
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x400
lea ecx, [esp + 0x138]
push edi
push ecx
mov byte [esp + 0x54c], 1
call fcn.0046c870
mov eax, ebp
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x442b80
sub eax, edx
xor edx, edx
cmp edx, eax
lea eax, [esp + 0x18]
push eax
push 0x2001f
push edi
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePagecommand
sbb ebx, ebx
push SysReAllocString
neg ebx
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x442e82
mov ecx, dword [esp + 0x18]
push 0x494704
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x30]
lea esi, [esp + 0x13c]
mov dword [esp + 0x24], ecx
call fcn.00425040
test eax, eax
jne 0x442d15
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x442bf0
sub eax, edx
push eax
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov esi, dword [esp + 0x14]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x442c33
push edi
lea ecx, [esp + 0x18]
call fcn.00406390
mov esi, dword [esp + 0x14]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.0046bac1
push eax
call fcn.004112a0
add esp, 0xc
test edi, edi
jl 0x442db4
cmp edi, dword [esi - 8]
jg 0x442db4
test ebx, ebx
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
je 0x442cf1
push ebp
lea ecx, [esp + 0x28]
call fcn.00406500
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x544], 2
call fcn.004443d0
mov edi, eax
mov byte [esp + 0x540], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442cb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x442d15
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x540], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442cd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x442ce7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x442ea8
mov eax, dword [0x4b92bc]
test eax, eax
je 0x442cb4
cmp dword [esi - 0xc], 0
jl 0x442cb4
push eax
push esi
call fcn.0046a65b
add esp, 8
test eax, eax
je 0x442cb4
sub eax, esi
cmp eax, 0xffffffff
je 0x442cb4
call fcn.00443520
push 0
push 0x21
lea ecx, [esp + 0x34]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x442d41
mov ecx, dword [esp + 0x20]
push 0
push 0
lea edx, [esp + 0x34]
push edx
call fcn.004431d0
test ebx, ebx
je 0x442ddb
lea edi, [esp + 0x14]
mov ecx, edi
call fcn.00444250
push 0x49c520
mov eax, edi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00406070
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x544], 3
call fcn.00406820
mov byte [esp + 0x540], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x442da1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x442dbe
xor eax, eax
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.0040a140
jmp 0x442dfa
push 0x80070057
call fcn.00401db0
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x442dc3
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.0040a140
jmp 0x442dfa
mov ecx, dword [0x4b92bc]
push 0x494704
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00424cf0
lea ebx, [esp + 0x14]
call fcn.00411150
mov esi, dword [esp + 0x14]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x442e13
push 0x80004005
call fcn.00401db0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [esp + 0x18]
add eax, 1
push eax
push esi
push 2
push 0
push 0x494704
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test ebx, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x442e48
push ebx
call edi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
jmp 0x442e4c
mov ebx, dword [esp + 0x1c]
lea eax, [esi - 0x10]
mov byte [esp + 0x540], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442e70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x442ce7
push ebx
call edi
mov eax, 1
jmp 0x442ea8
lea eax, [esi - 0x10]
mov byte [esp + 0x540], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x538]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x520]
xor ecx, esp
call fcn.00468ce5
add esp, 0x530
ret 8