Function at 0x4188bc
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xa8
mov eax, 0x613fe1
call fcn.005b83bf
mov ebx, ecx
mov dword [ebp - 0x78], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x104
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], esi
call fcn.0041b30d
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00416b80
mov dword [ebp - 0xa4], eax
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00416aea
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x418b20
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x71], al
call fcn.00416aea
mov ecx, eax
call fcn.0041fcd3
lea ecx, [ebp - 0x28]
call fcn.00416aea
push eax
lea ecx, [ebp - 0x58]
call fcn.0041b35f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push eax
lea edi, [ebx + 0x38]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], edi
push eax
mov ecx, edi
call fcn.0041be5a
mov ebx, dword [ebp - 0x98]
cmp ebx, dword [edi]
je 0x4189b4
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x58]
call fcn.0041e7ad
test eax, eax
jns 0x4189b6
mov ebx, dword [edi]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0041660a
cmp ebx, dword [edi]
je 0x4189e9
mov ebx, dword [ebx + 0x28]
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebx + 4]
ja 0x418a32
jb 0x418b14
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebx]
ja 0x418a32
jmp 0x418b14
push 0x20
call fcn.00525a5d
mov ebx, eax
pop ecx
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov byte [ebx + 0x18], 1
mov byte [ebp - 4], 1
mov edi, ebx
mov esi, dword [ebp + 0x10]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x9c]
mov byte [ebp - 0x71], 1
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x40]
call fcn.0041b35f
mov byte [ebp - 4], 4
push 0x6daccc
call fcn.004160c0
pop ecx
push eax
push 0x6daccc
lea ecx, [ebp - 0x40]
call fcn.0041d34d
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041d412
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x40]
call fcn.00416aea
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418af8
mov ecx, dword [ebp - 0x78]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x7c]
call fcn.00418802
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 4], eax
call fcn.00416aea
mov ecx, eax
call fcn.0041fcd3
lea ecx, [ebp - 0x28]
call fcn.00416aea
push eax
lea ecx, [ebp - 0x70]
call fcn.0041b35f
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
push eax
mov ecx, edi
call fcn.0041b1b9
mov dword [eax], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.0041660a
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x418b08
cmp byte [ebp - 0x71], 0
je 0x418b08
push 0x20
push ebx
call fcn.00525a4f
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0041660a
mov edi, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x80]
inc esi
test eax, eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x88], esi
je 0x418921
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.0041b613
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041660a
call fcn.005b8369
ret 0xc