Function at 0x10b17330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10dbe130
push 0x10d9cc78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffd28
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1a0]
lea ecx, [ebx + 0x200]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0x58]
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [ebp - 0x20], esi
je 0x10b175d2
mov eax, dword [ebx + 0x1a0]
mov edx, dword [eax]
lea ecx, [ebx + 0x1a4]
push ecx
push 0x10dc4f20
push eax
call dword [edx]
cmp eax, esi
jl 0x10b175d2
push ebx
call fcn.10b2a040
mov dword [ebp - 0x164], esi
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebx + 0x23c]
push eax
call dword [sym.imp.ole32.dll_OleDoAutoConvert]
cmp eax, esi
jge 0x10b17419
mov eax, dword [ebx + 0x23c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x1ac]
push edx
push eax
call dword [ecx + 0x44]
cmp eax, esi
jl 0x10b17419
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x154], eax
call fcn.10bd19f0
test eax, eax
je 0x10b17439
push 0x10ded1e8
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10b17463
lea edx, [ebp - 0x150]
mov edi, 0x10ded1f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp - 0x160]
push edx
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, esi
jge 0x10b17493
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x100
mov eax, dword [ebp - 0x164]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0xc
call fcn.10bd19f0
test eax, eax
je 0x10b174d1
lea edx, [ebp - 0x2ac]
push edx
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10b17504
lea edi, [ebp - 0x2ac]
lea edx, [ebp - 0x150]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
call fcn.10bd19f0
test eax, eax
je 0x10b17524
push 0x10ded1f8
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10b17554
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, dword [str.DisplayMode]
mov dword [edi], ecx
mov edx, dword [0x10ded20c]
mov dword [edi + 4], edx
mov eax, dword [0x10ded210]
mov dword [edi + 8], eax
mov cl, byte [0x10ded214]
mov byte [edi + 0xc], cl
mov edx, dword [ebp - 0x164]
push edx
call fcn.10b02ee0
lea eax, [ebp - 0x2b4]
push eax
push 0xf003f
push esi
lea ecx, [ebp - 0x150]
push ecx
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x10b175d2
mov dword [ebp - 0x2bc], 2
lea edx, [ebp - 0x2bc]
push edx
lea eax, [ebp - 0x2c0]
push eax
push esi
push esi
push str.SizeMode
mov ecx, dword [ebp - 0x2b4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov edx, dword [ebp - 0x2b4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jne 0x10b175d2
cmp byte [ebp - 0x2c0], 0x31
jne 0x10b175d2
mov dword [ebx + 0x4c], 1
push ebx
call fcn.10b1acc0
cmp eax, esi
jge 0x10b175e5
cmp dword [ebp - 0x20], esi
jne 0x10b17793
push ebx
call fcn.10b17220
mov eax, dword [ebx + 0x1a0]
lea edi, [ebx + 0x9c]
mov ecx, dword [eax]
lea edx, [ebx + 0x254]
push edx
push edi
push eax
call dword [ecx + 0x4c]
cmp dword [ebx + 0x294], esi
jne 0x10b1761c
push 1
mov eax, dword [ebx + 0x1a0]
push eax
call dword [sym.imp.ole32.dll_OleSetContainedObject]
mov eax, dword [ebx + 0x1a0]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x10dc4ef0
push eax
call dword [ecx]
cmp eax, esi
jl 0x10b1765a
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebx + 0x250]
push edx
push edi
push 1
lea edx, [ebx + 0x1c4]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], esi
push ebx
call fcn.10b177b0
cmp dword [ebp + 0xc], esi
je 0x10b1766c
push esi
push ebx
call fcn.10b17af0
push ebx
call fcn.10b170a0
mov eax, dword [ebx + 0x200]
test ah, 1
je 0x10b17682
test ah, 4
je 0x10b1768c
cmp dword [ebx + 0x48], 2
jne 0x10b17791
cmp dword [ebx + 0x1fc], esi
jne 0x10b17791
mov dword [ebp - 0x2d8], 0xfffffffb
lea edx, [ebp - 0x2dc]
push edx
push ebx
call fcn.10b16810
mov eax, dword [ebx + 0x1a0]
push eax
call dword [sym.imp.ole32.dll_OleIsRunning]
test eax, eax
jne 0x10b176e9
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
mov edi, dword [sym.imp.USER32.dll_SetCursor]
call edi
mov esi, eax
mov ecx, dword [ebx + 0x1a0]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
push esi
call edi
xor esi, esi
cmp dword [ebp - 0x20], esi
je 0x10b17719
cmp dword [ebp - 0x2dc], esi
jne 0x10b17719
lea edx, [ebp - 0x2d4]
push edx
push ebx
call fcn.10b16b90
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x2d4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x10b17733
lea edx, [ebp - 0x2d4]
push edx
push ebx
call fcn.10b16780
lea eax, [ebp - 0x2d0]
push eax
push ebx
call fcn.10b16b60
cmp dword [ebx + 0x48], 2
jne 0x10b1774a
push esi
push ebx
call fcn.10b18990
mov dword [ebp - 0x2d8], 0xffffffff
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x2d4]
cmp ecx, esi
je 0x10b1778a
mov eax, dword [ebx + 0x1a0]
mov edx, dword [eax]
lea edi, [ebp - 0x2d0]
push edi
push ecx
push 0xffffffffffffffff
add ebx, 0xac
push ebx
push esi
mov ecx, dword [ebp - 0x2d8]
push ecx
push eax
call dword [edx + 0x2c]
mov dword [ebp - 0x2c], eax
jmp 0x10b1778a
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8