Function at 0x100059f0
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 0x10118ec4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x1016f070]
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 0x10143c14
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
call fcn.10004bf0
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.10004bf0
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.1000c770
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
call fcn.1000c440
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x144]
push 0xf
push str.InProcServer32
call fcn.1000c770
push 6
push str.Shell
lea ecx, [ebp - 0x114]
call fcn.1000c770
cmp dword [ebx + 0x18], 0
jne 0x10005cce
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x10143c14
mov word [esi], ax
call fcn.10004bf0
mov dword [ebp - 0x14c], 1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x130]
cmp edx, 8
jb 0x10005baf
mov ecx, dword [ebp - 0x144]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005ba5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006304
push edx
push ecx
call fcn.100da665
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 0x10005c10
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005c06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006309
push edx
push ecx
call fcn.100da665
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 0x10005c71
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005c67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000630e
push edx
push ecx
call fcn.100da665
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 0x100062d4
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100062ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006313
jmp 0x100062ca
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 0x10005f0a
push 0xc8
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.100f2c30
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 0x10005d92
cmp word [ebp - 0xe0], ax
je 0x10005d92
push 1
push 0x10143cd8
lea ecx, [ebp - 0x114]
call fcn.1000c770
lea ecx, [ebp - 0xe0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005d70
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x114]
call fcn.1000c770
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 0x10005de0
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.10004bf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
cmp dword [ebp - 0x11c], 0
ja 0x10005e1e
push 0xd
push 0x10143cdc
jmp 0x10005e25
push 8
push str.command
call fcn.1000c770
push 0x802
call fcn.100dabf9
mov esi, eax
mov dword [ebp - 0xe4], 0x800
add esp, 4
test esi, esi
je 0x10005ea9
push 0x802
push 0
push esi
call fcn.100f2c30
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 0x10005ea0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005e84
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xfc]
call fcn.10004bf0
push esi
call fcn.100da696
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x10005eed
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005ee3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006318
push edx
push ecx
call fcn.100da665
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 0x10005fb2
push 0x802
call fcn.100dabf9
mov edi, eax
mov dword [ebp - 0xe4], 0x800
add esp, 4
test edi, edi
je 0x10005fa5
push 0x802
push 0
push edi
call fcn.100f2c30
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 0x10005f9c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005f80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xfc]
call fcn.10004bf0
push edi
call fcn.100da696
add esp, 4
cmp dword [ebp - 0xec], 0
jbe 0x1000611c
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000610a
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 0x1000611c
push 0
push 0x10143c14
lea ecx, [ebp - 0xfc]
call fcn.10004bf0
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 0x1000627d
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.100dabf9
mov esi, eax
mov dword [ebp - 0xe4], 0x800
add esp, 4
test esi, esi
je 0x100061e5
push 0x802
push 0
push esi
call fcn.100f2c30
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 0x100061dc
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100061c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x12c]
call fcn.10004bf0
push esi
call fcn.100da696
add esp, 4
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
push str.2345Explorer.exe
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.100f5c64
add esp, 8
test eax, eax
jne 0x1000621c
push eax
push 0x10143c14
lea ecx, [ebp - 0xfc]
call fcn.10004bf0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x10006260
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006256
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000631d
push edx
push ecx
call fcn.100da665
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 0x10005b61
push edx
push ecx
call fcn.100da665
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.100da624
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
int3