Function at 0x100049f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e244
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x10160068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x14c], 0
mov dword [ebp - 4], 1
xor eax, eax
push eax
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xe8], 0
push 0x101376f0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
call fcn.1000b730
mov byte [ebp - 4], 2
xor eax, eax
push 6
mov dword [ebp - 0x104], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x100], 0
push str.CLSID_
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 7
mov word [ebp - 0x114], ax
call fcn.1000b730
mov byte [ebp - 4], 3
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 8
lea ecx, [ebp - 0x114]
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
push eax
call fcn.1000b9b0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
call fcn.1000b3b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x144]
push 0xf
push str.InProcServer32
call fcn.1000b9b0
push 6
push str.Shell
lea ecx, [ebp - 0x114]
call fcn.1000b9b0
cmp dword [ebx + 0x18], 0
jne 0x10004cce
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x101376f0
mov word [esi], ax
call fcn.1000b730
mov dword [ebp - 0x14c], 1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x130]
cmp edx, 8
jb 0x10004baf
mov ecx, dword [ebp - 0x144]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004ba5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005304
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x100]
cmp edx, 8
jb 0x10004c10
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004c06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005309
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 7
mov word [ebp - 0x114], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xe8]
cmp edx, 8
jb 0x10004c71
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004c67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000530e
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
mov byte [ebp - 4], al
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x100052d4
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100052ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005313
jmp 0x100052ca
cmp dword [ebp - 0x100], 8
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x148], 0
cmovae eax, dword [ebp - 0x114]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x10004f0a
push 0xc8
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.100e7700
add esp, 0xc
mov dword [ebp - 0xe4], 0xc6
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xe0]
push eax
push 0
push dword [ebp - 0x148]
call edi
test eax, eax
jne 0x10004d92
cmp word [ebp - 0xe0], ax
je 0x10004d92
push 1
push 0x101377b4
lea ecx, [ebp - 0x114]
call fcn.1000b9b0
lea ecx, [ebp - 0xe0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004d70
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x114]
call fcn.1000b9b0
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004de0
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.1000b730
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
cmp dword [ebp - 0x11c], 0
ja 0x10004e1e
push 0xd
push 0x101377b8
jmp 0x10004e25
push 8
push str.command
call fcn.1000b9b0
push 0x802
call fcn.100cf0d6
mov esi, eax
mov dword [ebp - 0xe4], 0x800
add esp, 4
test esi, esi
je 0x10004ea9
push 0x802
push 0
push esi
call fcn.100e7700
add esp, 0xc
lea ecx, [ebp - 0xe4]
cmp dword [ebp - 0x100], 8
lea eax, [ebp - 0x114]
cmovae eax, dword [ebp - 0x114]
push ecx
push esi
push eax
push 0x80000000
call edi
test eax, eax
jne 0x10004ea0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004e84
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xfc]
call fcn.1000b730
push esi
call fcn.100ceb35
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x10004eed
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004ee3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005318
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
cmp dword [ebp - 0xec], 0
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
ja 0x10004fb2
push 0x802
call fcn.100cf0d6
mov edi, eax
mov dword [ebp - 0xe4], 0x800
add esp, 4
test edi, edi
je 0x10004fa5
push 0x802
push 0
push edi
call fcn.100e7700
add esp, 0xc
lea ecx, [ebp - 0xe4]
cmp dword [ebp - 0x130], 8
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push ecx
push edi
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x10004f9c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004f80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xfc]
call fcn.1000b730
push edi
call fcn.100ceb35
add esp, 4
cmp dword [ebp - 0xec], 0
jbe 0x1000511c
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.2559A1F0_21D7_11D4_BDAF_00C04F60B9F0
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.2559A1F1_21D7_11D4_BDAF_00C04F60B9F0
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.2559A1F2_21D7_11D4_BDAF_00C04F60B9F0
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.2559A1F3_21D7_11D4_BDAF_00C04F60B9F0
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.2559A1F5_21D7_11D4_BDAF_00C04F60B9F0
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.2559A1F6_21D7_11D4_BDAF_00C04F60B9F0
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.2559A1F7_21D7_11D4_BDAF_00C04F60B9F0
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.871C5380_42A0_1069_A2EA_08002B30309D
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebp - 0xe8], 8
lea eax, [ebp - 0xfc]
push str.http:
cmovae eax, dword [ebp - 0xfc]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebp - 0xe8], 8
lea eax, [ebp - 0xfc]
push str.https:
cmovae eax, dword [ebp - 0xfc]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebp - 0xe8], 8
lea eax, [ebp - 0xfc]
push str.www.
cmovae eax, dword [ebp - 0xfc]
push eax
call esi
test eax, eax
jne 0x1000510a
cmp dword [ebp - 0xe8], 8
lea eax, [ebp - 0xfc]
push str..com
cmovae eax, dword [ebp - 0xfc]
push eax
call esi
test eax, eax
je 0x1000511c
push 0
push 0x101376f0
lea ecx, [ebp - 0xfc]
call fcn.1000b730
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push str.2559A1F4_21D7_11D4_BDAF_00C04F60B9F0
cmovae eax, dword [ebx + 8]
push eax
call esi
test eax, eax
je 0x1000527d
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
mov byte [ebp - 4], 6
push 0x802
call fcn.100cf0d6
mov esi, eax
mov dword [ebp - 0xe4], 0x800
add esp, 4
test esi, esi
je 0x100051e5
push 0x802
push 0
push esi
call fcn.100e7700
add esp, 0xc
lea eax, [ebp - 0xe4]
push eax
push esi
push str.SoftwareClientsStartMenuInternet
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x100051dc
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100051c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x12c]
call fcn.1000b730
push esi
call fcn.100ceb35
add esp, 4
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
push 0x10137b38
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.100ea461
add esp, 8
test eax, eax
jne 0x1000521c
push eax
push 0x101376f0
lea ecx, [ebp - 0xfc]
call fcn.1000b730
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x10005260
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005256
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000531d
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
mov esi, dword [ebp - 0x150]
xor eax, eax
movups xmm0, xmmword [ebp - 0xfc]
mov word [ebp - 0xfc], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xec]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
jmp 0x10004b61
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebx + 0x1c], 7
mov dword [ebx + 0x18], eax
mov word [ebx + 8], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ceb24
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
int3