Function at 0x1097480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10db3eb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x115e76c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.0100caa0
test eax, eax
je 0x10974c8
push 0x7a
push 0x113a408
call fcn.0100a6d0
test eax, eax
je 0x10974c8
int3
lea ecx, [ebp - 0x14]
call fcn.0100f000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0100f000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
call fcn.010141d0
push eax
call fcn.01097030
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.0100cbc0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
jmp 0x1097512
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x18], 0
je 0x109783a
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.0100cc00
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x2c]
call fcn.0100f000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0100f000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.0100f000
mov byte [ebp - 4], 4
push 5
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
je 0x1097811
lea ecx, [ebp - 0x28]
call fcn.010087c0
movzx ecx, al
test ecx, ecx
jne 0x1097811
push 6
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
jne 0x10975a5
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0100f020
push 0
push 0x20
lea ecx, [ebp - 0x28]
call fcn.01099f50
cmp eax, 0xffffffff
je 0x10975ca
push 0x8e
push 0x113a440
call fcn.0100a6d0
test eax, eax
je 0x10975ca
int3
lea ecx, [ebp - 0x28]
call fcn.0101b260
push eax
push str._sDefaultIcon
lea eax, [ebp - 0x10]
push eax
call fcn.0109a1a0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0101b260
push eax
call fcn.010971f0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x6c]
call edx
test eax, eax
je 0x109761c
lea ecx, [ebp - 0x10]
call fcn.010087c0
movzx eax, al
test eax, eax
je 0x10976a3
push str.ddeexec
lea ecx, [ebp - 0x28]
call fcn.0101b260
push eax
push str._s_shellopen_s
lea ecx, [ebp - 0x10]
push ecx
call fcn.0109a1a0
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0101b260
push eax
call fcn.010971f0
push str.ddeexec
lea ecx, [ebp - 0x28]
call fcn.0101b260
push eax
push str._s_shellprint_s
lea edx, [ebp - 0x10]
push edx
call fcn.0109a1a0
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0101b260
push eax
call fcn.010971f0
push str.ddeexec
lea ecx, [ebp - 0x28]
call fcn.0101b260
push eax
push str._s_shellprintto_s
lea eax, [ebp - 0x10]
push eax
call fcn.0109a1a0
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0101b260
push eax
call fcn.010971f0
push str.command
lea ecx, [ebp - 0x28]
call fcn.0101b260
push eax
push str._s_shellopen_s
lea ecx, [ebp - 0x10]
push ecx
call fcn.0109a1a0
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0101b260
push eax
call fcn.010971f0
push str.command
lea ecx, [ebp - 0x28]
call fcn.0101b260
push eax
push str._s_shellprint_s
lea edx, [ebp - 0x10]
push edx
call fcn.0109a1a0
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0101b260
push eax
call fcn.010971f0
push str.command
lea ecx, [ebp - 0x28]
call fcn.0101b260
push eax
push str._s_shellprintto_s
lea eax, [ebp - 0x10]
push eax
call fcn.0109a1a0
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0101b260
push eax
call fcn.010971f0
push 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x6c]
call edx
lea ecx, [ebp - 0x2c]
call fcn.010087c0
movzx eax, al
test eax, eax
jne 0x1097811
push 0
lea ecx, [ebp - 0x2c]
call fcn.010910c0
movsx ecx, al
cmp ecx, 0x2e
je 0x1097776
push 0xb9
push 0x113a478
call fcn.0100a6d0
test eax, eax
je 0x1097776
int3
mov dword [ebp - 0x34], 0x208
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x10]
call fcn.01011320
push eax
lea ecx, [ebp - 0x2c]
call fcn.0101b260
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 0x30], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.01011680
cmp dword [ebp - 0x30], 0
jne 0x10977db
lea ecx, [ebp - 0x10]
call fcn.010087c0
movzx edx, al
test edx, edx
jne 0x10977db
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0109a0b0
add esp, 8
movzx edx, al
test edx, edx
je 0x1097811
lea ecx, [ebp - 0x2c]
call fcn.0101b260
push eax
push str._sShellNew
lea eax, [ebp - 0x10]
push eax
call fcn.0109a1a0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0101b260
push eax
call fcn.010971f0
lea ecx, [ebp - 0x2c]
call fcn.0101b260
push eax
call fcn.010971f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.01009720
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.01009720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.01009720
jmp 0x1097509
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.01009720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01009720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret