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

Disassembly:
push 0xffffffffffffffff
push 0x4402ee
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x45593c]
xor eax, esp
mov dword [esp + 0x64c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45593c]
xor eax, esp
push eax
lea eax, [esp + 0x664]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x674]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], eax
call fcn.00403150
mov dword [esp + 0x20], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x66c], edi
call fcn.004138de
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408876
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x34]
push ecx
push 0xf003f
push edi
push str.SOFTWAREClientsStartMenuInternet
push SysReAllocString
mov byte [esp + 0x680], 1
call ebx
mov ebp, 0x1fe
push ebp
lea edx, [esp + 0x64]
push edi
push edx
call fcn.00428e00
push ebp
lea eax, [esp + 0x470]
push edi
push eax
call fcn.00428e00
push ebp
lea ecx, [esp + 0x27c]
push edi
push ecx
call fcn.00428e00
mov ecx, dword [esp + 0x58]
add esp, 0x24
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x64]
push eax
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x4433f8
push ecx
mov dword [esp + 0x50], ebp
call edi
lea eax, [esp + 0x60]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408906
sub eax, edx
sar eax, 1
cmp eax, 3
jae 0x408968
push ebp
lea edx, [esp + 0x64]
push 0
push edx
call fcn.00428e00
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0xf003f
push 0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x48], 0
call ebx
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x64]
push edx
push 0
push 0
push 0x4433f8
push eax
call edi
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [esp + eax + 0x60]
mov word [esp + eax + 0x460], cx
add eax, 2
test cx, cx
jne 0x408970
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x44]
push edx
push 0xf003f
push 0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x408a0e
mov byte [esp + 0x66c], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov dword [esp + 0x680], 0xffffffff
call fcn.00408440
mov edx, dword [esp + 0x20]
push edx
call fcn.0040c44b
add esp, 4
xor eax, eax
jmp 0x409072
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push edx
push 0
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x5c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x408cd8
call fcn.004138de
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40886c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x66c], 2
call fcn.004138de
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40886c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x260]
push ecx
lea edx, [esp + 0x54]
push str.SOFTWAREClientsStartMenuInternet_s
push edx
mov byte [esp + 0x678], 3
call fcn.00403a40
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x58]
push str.SOFTWAREClientsStartMenuInternet_s_shellopencommand
push ecx
call fcn.00403a40
mov ebp, dword [esp + 0x68]
add esp, 0x18
lea edx, [esp + 0x54]
push edx
push 0xf003f
push 0
push ebp
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov edi, dword [esp + 0x48]
lea eax, [esp + 0x4c]
push eax
push 0xf003f
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov esi, dword [esp + 0x54]
test esi, esi
push 0x1fe
push 0
jne 0x408b46
add dword [esp + 0x1c], 1
lea ecx, [esp + 0x268]
push ecx
call fcn.00428e00
lea eax, [edi - 0x10]
add esp, 0xc
mov dword [esp + 0x3c], 0x1fe
mov byte [esp + 0x66c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x408c7b
lea ecx, [esp + 0x68]
push ecx
call fcn.00428e00
add esp, 0xc
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x64]
push eax
push 0
push 0
push 0x4433f8
push esi
mov dword [esp + 0x50], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x260]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004047d0
mov edx, dword [esp + 0x54]
push edx
mov byte [esp + 0x670], 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x408c17
push 0x1fe
lea eax, [esp + 0x64]
push 0
push eax
call fcn.00428e00
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x64]
push edx
push 0
push 0
push 0x4433f8
push esi
mov dword [esp + 0x50], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00408510
lea edx, [esp + 0x60]
lea ecx, [edx + 2]
lea esp, [esp]
mov si, word [edx]
add edx, 2
test si, si
jne 0x408bf0
sub edx, ecx
sar edx, 1
push edx
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
call fcn.004017b0
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [esp + 0x14], 1
push 0x1fe
lea eax, [esp + 0x264]
push 0
push eax
call fcn.00428e00
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x3c], 0x1fe
mov byte [esp + 0x66c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x66c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x66c], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408cab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x274]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x408a44
lea edx, [esp + 0x460]
push edx
lea ecx, [esp + 0x44]
call fcn.004047d0
lea ecx, [esp + 0x40]
mov byte [esp + 0x66c], 5
call fcn.00403400
mov eax, dword [esp + 0x40]
push str.IEXPLORE
push eax
call fcn.00428f06
add esp, 8
test eax, eax
jne 0x408f6b
mov ecx, dword [esp + 0x40]
push str.FIREFOX
push ecx
call fcn.00428f06
add esp, 8
test eax, eax
jne 0x408f6b
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xd4]
test al, 2
je 0x408e34
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
lea edi, [esp + 0x1c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov bl, 7
test edi, edi
mov ebp, dword [esp + 0x20]
je 0x408d64
lea ecx, [esp + 0x1c]
cmp edi, ecx
je 0x408d69
call fcn.00429bbf
cmp esi, ebp
je 0x408fc4
test edi, edi
jne 0x408d7a
call fcn.00429bbf
cmp esi, dword [edi + 4]
jne 0x408d84
call fcn.00429bbf
mov eax, dword [esi + 0xc]
sub eax, 0x10
push eax
call fcn.004015e0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x66c], bl
call fcn.00403400
mov eax, dword [eax]
push str.FIREFOX
push eax
call fcn.00428f06
add esp, 8
test eax, eax
jne 0x408dfc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x66c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408de6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
call fcn.00402c70
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x408d54
cmp esi, dword [edi + 4]
jne 0x408e06
call fcn.00429bbf
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x34]
call fcn.00401980
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x66c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x408fb8
test al, 1
je 0x408f2f
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx]
lea edi, [esp + 0x1c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov bl, 8
test edi, edi
mov ebp, dword [esp + 0x20]
je 0x408e60
lea edx, [esp + 0x1c]
cmp edi, edx
je 0x408e65
call fcn.00429bbf
cmp esi, ebp
je 0x408fc4
test edi, edi
jne 0x408e76
call fcn.00429bbf
cmp esi, dword [edi + 4]
jne 0x408e80
call fcn.00429bbf
mov eax, dword [esi + 0xc]
sub eax, 0x10
push eax
call fcn.004015e0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x66c], bl
call fcn.00403400
mov eax, dword [eax]
push str.IEXPLORE
push eax
call fcn.00428f06
add esp, 8
test eax, eax
jne 0x408ef8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x66c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ee2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
call fcn.00402c70
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x408e50
lea ecx, [esp + 0x28]
call fcn.00402ee0
add eax, 4
push eax
lea ecx, [esp + 0x34]
call fcn.00401980
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x66c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x408fb8
lea ecx, [esp + 0x460]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004047d0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x670], 9
call fcn.00408510
push eax
lea ecx, [esp + 0x34]
call fcn.00401980
lea ecx, [esp + 0x18]
call fcn.00402ec0
jmp 0x408fc4
lea eax, [esp + 0x460]
push eax
lea ecx, [esp + 0x1c]
call fcn.004047d0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x670], 6
call fcn.00408510
push eax
lea ecx, [esp + 0x34]
call fcn.00401980
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x66c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408fc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
push 3
push 0x4433f8
push edx
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x66c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409015
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x66c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409039
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov dword [esp + 0x680], 0xffffffff
call fcn.00408440
mov edx, dword [esp + 0x20]
push edx
call fcn.0040c44b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x664]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.00428dec
add esp, 0x65c
ret 4