Function at 0x1005ffb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10181cf8
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x55c], esi
mov edi, edx
mov dword [ebp - 0x560], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54c], eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x554], ebx
xor eax, eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x12c], al
push 0x103
push eax
lea ecx, [ebp - 0x12b]
push ecx
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x548], 1
cmp dword [0x101b59a4], 0
je 0x10060055
push edi
push esi
push str._WIN.INI____s____s_
push 0
call fcn.1006ed90
add esp, 0x10
test esi, esi
je 0x10060420
mov dword [ebp - 0x548], 2
mov eax, str.eScan
mov ecx, esi
call fcn.1005a090
test eax, eax
je 0x1006008b
mov eax, str.MailScan
mov ecx, esi
call fcn.1005a090
test eax, eax
jne 0x100602be
mov eax, str.progressover
mov ecx, edi
call fcn.1005a090
test eax, eax
je 0x100602be
cmp dword [0x101b59b8], 0
jne 0x10060398
mov byte [ebp - 0x33c], 0
push 0x103
push 0
lea edx, [ebp - 0x33b]
push edx
call fcn.1012e060
add esp, 0xc
mov byte [ebp - 0x544], 0
push 0x207
push 0
lea eax, [ebp - 0x543]
push eax
call fcn.1012e060
add esp, 0xc
mov byte [ebp - 0x234], 0
push 0x103
push 0
lea ecx, [ebp - 0x233]
push ecx
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x548], 4
mov dword [0x101b59b8], 1
push 0x208
lea edx, [ebp - 0x544]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea ecx, [ebp - 0x33c]
lea edx, [ebp - 0x544]
call fcn.1005f370
add esp, 4
test eax, eax
je 0x1006015c
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x544]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x548], 5
lea ecx, [ebp - 0x234]
lea edx, [ebp - 0x544]
call fcn.10060880
push 0
lea edx, [ebp - 0x234]
push edx
call fcn.100612a0
lea eax, [ebp - 0x234]
push eax
push str._sWIN.INI
push 0x101b59c0
call fcn.10127dc0
add esp, 0x14
mov dword [ebp - 0x548], 6
push 1
push 0
xor edx, edx
mov ecx, 0x101b59c0
call fcn.10060eb0
add esp, 8
test eax, eax
jne 0x10060246
test ebx, ebx
je 0x10060229
test edi, edi
je 0x10060229
push str.InstallDirectory
push edi
call fcn.10135887
add esp, 8
test eax, eax
jne 0x10060229
push str.InstallDirectory
push edi
call fcn.10135887
add esp, 8
push 0x101b59c0
test eax, eax
jne 0x100603b4
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov ebx, dword [ebp - 0x54c]
call fcn.1005fea0
add esp, 0xc
mov edx, dword [ebp - 0x554]
cmp byte [edx], 0
jne 0x1006048b
mov dword [0x101b59b8], 0
jmp 0x1006048b
push 0x101b59c0
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov ebx, dword [ebp - 0x54c]
call fcn.1005fea0
add esp, 0xc
jmp 0x1006048b
mov dword [ebp - 0x548], 7
cmp byte [0x101b5708], 0
je 0x100602b7
push 0x101b5708
push 0x101b59c0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x101b59c0
call fcn.10065200
push str.WIN.INI
push 0x101b59c0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push 0
xor edx, edx
mov ecx, 0x101b59c0
call fcn.10060eb0
add esp, 8
test eax, eax
jne 0x100602b7
push 0x101b59c0
mov edx, dword [ebp + 0x10]
push edx
push ebx
mov ebx, dword [ebp - 0x54c]
call fcn.1005fea0
add esp, 0xc
jmp 0x1006048b
mov byte [0x101b59c0], 0
mov dword [ebp - 0x548], 9
call fcn.10067710
test eax, eax
je 0x10060420
push str.SoftwareMicroWorldWIN.INI
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x550]
push edx
push 1
push 0
lea eax, [ebp - 0x12c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x564], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x564], 0
jne 0x10060420
mov ecx, dword [ebp - 0x550]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10158184
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x550]
push ecx
push 1
push 0
lea edx, [ebp - 0x12c]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x100603cc
mov eax, dword [ebp - 0x54c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call fcn.10061df0
add esp, 4
mov ecx, ebx
call fcn.1005a130
jmp 0x1006048b
mov dword [ebp - 0x548], 8
cmp byte [0x101b59c0], 0
je 0x100602be
push 0x101b59c0
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov ebx, dword [ebp - 0x54c]
call fcn.1005fea0
add esp, 0xc
jmp 0x1006048b
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x558], ecx
lea edx, [ebp - 0x558]
push edx
push ebx
push 0
push 0
push edi
mov eax, dword [ebp - 0x550]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1006040a
mov ecx, dword [ebp - 0x54c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call fcn.10061df0
add esp, 4
mov edx, dword [ebp - 0x550]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call fcn.1005a130
jmp 0x1006048b
mov dword [ebp - 0x548], 0xa
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x54c]
push ecx
push edi
mov ecx, ebx
mov edx, esi
call fcn.1005f960
add esp, 0x10
jmp 0x1006048b
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret