Function at 0x10b33360
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x394
mov eax, dword [esp + 0x39c]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
jne 0x10b33392
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x394
ret 0x10
mov word [eax], si
mov eax, dword [esp + 0x3b4]
cmp eax, esi
jne 0x10b333cf
lea eax, [esp + 0x3b4]
push eax
push esi
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
je 0x10b333c7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x394
ret 0x10
mov dword [esp + 0x20], 1
mov ebp, dword [esp + 0x3a8]
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov ebx, dword [sym.imp.MSVCRT.dll_wcstombs]
push 0x100
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1a8]
push edx
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x1a4]
lea edx, [esp + 0x124]
push ecx
push 0x10dee49c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x3bc]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x3b8]
lea edx, [esp + 0x128]
push ecx
push edx
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
test edi, edi
jne 0x10b33456
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x24], al
mov eax, dword [esp + 0x3ac]
lea edx, [esp + 0x24]
push esi
push edx
push eax
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
test edi, edi
je 0x10b33534
mov edx, dword [0x10e2ab30]
lea ecx, [esp + 0x24]
push esi
push ecx
push 0x7ea1
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
mov ecx, dword [esp + 0x3b0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
test edi, edi
je 0x10b33534
push ebp
call dword [sym.imp.ole32.dll_CoIsOle1Class]
test eax, eax
je 0x10b33534
lea edx, [esp + 0x14]
push edx
push ebp
call dword [sym.imp.ole32.dll_ProgIDFromCLSID]
push 0x100
lea ecx, [esp + 0x2a8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], esi
push eax
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2a4]
push edx
mov edx, dword [esp + 0x3b8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
test edi, edi
jne 0x10b33511
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x24], 0
mov edx, dword [esp + 0x3ac]
lea ecx, [esp + 0x24]
push esi
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
test edi, edi
je 0x10b33534
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10b33544
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10b33585
lea eax, [esp + 0x1c]
push eax
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
test eax, eax
jne 0x10b33585
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10b33568
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10b3357b
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10b3359b
mov edx, dword [esp + 0x3b4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x394
ret 0x10