Function at 0x867340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x207
lea eax, [esp + 0x225]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x22c], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x207
lea ecx, [esp + 0x1d]
push ebx
push ecx
mov byte [esp + 0x24], bl
call fcn.00a7ffb0
add esp, 0xc
mov dword [esp + 0xc], ebx
cmp byte [str.C:PROGRA2eScan_admin.ini], bl
je 0x86762e
lea edx, [esp + 0x10]
push edx
push 0xaae760
mov ecx, str.SOFTWAREMicroWorld
mov edx, 0x80000002
call fcn.0094c0d0
test al, al
je 0x86762e
jmp 0x8673d2
xor ebx, ebx
push 1
push ebx
xor edx, edx
mov ecx, str.C:PROGRA2eScan_admin.ini
call fcn.0095a0f0
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, ebx
je 0x86750f
cmp ecx, 1
jne 0x86762e
push str.C:PROGRA2eScan_admin.ini
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], bl
push 0x208
push eax
mov ebx, 0xaa1543
mov edi, str.UserPassword
mov esi, str.Config
call fcn.00958c20
add esp, 0xc
cmp byte [esp + 0x18], 0
jne 0x86762e
lea ecx, [esp + 0xc]
push ecx
push 1
push 0
push str.eScan.Net
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x867482
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x224]
push eax
push esi
push esi
push ebx
push ecx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.C:PROGRA2eScan_admin.ini
lea eax, [esp + 0x1c]
push 0x208
push eax
mov ebx, 0xaa1543
mov edi, str.UserPassword
mov esi, str.General
mov byte [esp + 0x24], 0
call fcn.00958c20
add esp, 0xc
cmp byte [esp + 0x220], 0
jne 0x8674c2
cmp byte [esp + 0x18], 0
je 0x86762e
xor eax, eax
mov esi, 0xaae760
mov ebx, str.SOFTWAREMicroWorld
mov ecx, 0x80000002
call fcn.0094be90
lea ecx, [esp + 0x10]
push ecx
push esi
mov ecx, ebx
mov edx, 0x80000002
mov dword [esp + 0x18], 0
call fcn.0094c0d0
test al, al
jne 0x8673d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x86751e
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0xc]
push edx
push 1
push ebx
push str.eScan.Net
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x867575
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x224]
push ecx
push ebx
push ebx
push 0xaa1543
push edx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.C:PROGRA2eScan_admin.ini
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], bl
push 0x208
push ecx
mov ebx, 0xaa1543
mov edi, str.UserPassword
mov esi, str.General
call fcn.00958c20
add esp, 0xc
cmp byte [esp + 0x18], 0
jne 0x8675b0
cmp byte [esp + 0x220], 0
je 0x86762e
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
call fcn.0094c330
test eax, eax
je 0x86762e
cmp byte [esp + 0x18], 0
jne 0x8675f5
cmp byte [esp + 0x220], 0
je 0x86762e
push str.General
mov esi, str.C:PROGRA2eScan_admin.ini
lea eax, [esp + 0x224]
mov ebx, str.UserPassword
call fcn.009584b0
add esp, 4
jmp 0x867618
cmp byte [esp + 0x220], 0
jne 0x86762e
lea edx, [esp + 0x18]
push edx
push str.eScan.NET
mov edx, 0xaa1543
mov ecx, 0x80000000
call fcn.0094bd00
push str.Config
mov esi, str.C:PROGRA2eScan_admin.ini
xor eax, eax
xor ebx, ebx
call fcn.009584b0
add esp, 4
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret