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

Disassembly:
mov eax, 0x45effc
call fcn.0043baec
sub esp, 0x180
mov eax, dword [0x47f440]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
mov edi, closesocket
push str.InternetShortcut_shellopencommand
push edi
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
call esi
test eax, eax
jne 0x43230e
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004505ef
push 1
push ebx
push ebx
push dword [ebp - 0x14]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jbe 0x43230e
mov dword [ebp - 0x1c], 1
jmp 0x43248c
lea ecx, [ebp - 0x14]
call fcn.004503f1
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push str..htm
push edi
call esi
test eax, eax
jne 0x43241f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x40
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x480cf8
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x432416
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x20]
push eax
call fcn.004504d4
push str._shellopencommand
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00450842
lea eax, [ebp - 0x24]
push eax
push 0x20019
push ebx
push dword [ebp - 0x20]
push edi
call esi
test eax, eax
jne 0x43240b
lea eax, [ebp - 0x2c]
mov byte [ebp - 0xd], 1
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push 0x480cf8
mov dword [ebp - 0x2c], 0x104
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x432402
push dword [ebp + 8]
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044ad75
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x14]
call fcn.0043bf30
add esp, 0x14
cmp eax, ebx
jne 0x432402
push dword [ebp + 8]
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x14]
push 0x477760
push eax
call fcn.0044ad19
add esp, 0x10
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00450466
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
je 0x43248c
cmp byte [ebp - 0xd], bl
je 0x43248c
push 0x44
lea eax, [ebp - 0x88]
pop esi
push esi
push ebx
push eax
call fcn.0043bed0
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x88], esi
push eax
lea eax, [ebp - 0x88]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
pop edi
push edi
call fcn.00450896
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x432482
push dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x40]
call esi
mov dword [ebp - 0x1c], edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004508e5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00450466
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret