Function at 0x4767be
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49a788
call fcn.00497a30
sub esp, 0x3d8
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWARECat_SoftServ_UDomainsDomainList
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x476a06
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3e4]
push eax
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1f0]
push eax
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xc8
mov dword [ebp - 0x10], 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4769fd
push esi
push edi
mov edi, dword [sym.imp.MSVCR71.dll_atoi]
lea eax, [ebp - 0x1f0]
push eax
call edi
mov esi, eax
cmp esi, ebx
pop ecx
jle 0x4769be
cmp dword [ebp - 0x10], ebx
je 0x4769be
lea eax, [ebp - 0x104]
push eax
call fcn.00402b56
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00483141
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 2
call fcn.0048301b
pop ecx
pop ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.004833a3
or dword [ebp - 0x40], 0xffffffff
push 2
mov dword [ebp - 0x44], esi
pop esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x48], 1
call fcn.00402ee5
cmp eax, 1
jb 0x4768dc
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
call dword [eax + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00402ee5
cmp eax, esi
jb 0x4768fe
mov eax, dword [ebp - 0x28]
add eax, 0x24
push eax
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
call dword [eax + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00402ee5
cmp eax, 3
jb 0x476925
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x64], 0x10
jb 0x476919
mov eax, dword [eax + 0x50]
jmp 0x47691c
add eax, 0x50
push eax
call edi
pop ecx
mov dword [ebp - 0x34], eax
jmp 0x47692c
mov dword [ebp - 0x34], 0x15
lea ecx, [ebp - 0x2c]
call fcn.00402ee5
cmp eax, 4
jb 0x47694f
mov eax, dword [ebp - 0x28]
add eax, 0x6c
push eax
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb8]
call dword [eax + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00402ee5
cmp eax, 5
jb 0x476991
mov eax, dword [ebp - 0x28]
add eax, 0x90
cmp dword [eax + 0x1c], 0x10
jb 0x47696f
mov eax, dword [eax + 8]
jmp 0x476972
add eax, 8
push eax
call edi
sub eax, ebx
pop ecx
je 0x47698e
dec eax
je 0x476985
dec eax
jne 0x47698e
mov dword [ebp - 0x4c], esi
jmp 0x476991
mov dword [ebp - 0x4c], 1
jmp 0x476991
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp + 8]
add eax, 0x48
call fcn.0047b25f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403093
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x104]
push eax
call fcn.00402bb0
inc dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3e4]
push eax
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0xc8
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x476836
pop edi
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4