Function at 0x6108d240
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x61097948]
mov dword [ebp - 0xc], eax
push 0x20
push 0
lea eax, [ebp - 0x480]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0x10]
imul ecx, ecx, 0xc
mov edx, dword [ecx + 0x610970c0]
mov dword [ebp - 0x47c], edx
mov dword [ebp - 0x478], 1
mov dword [ebp - 0x480], 1
push 0x20
push 0
lea eax, [ebp - 0x440]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0x10]
imul ecx, ecx, 0xc
mov edx, dword [ecx + 0x610970c4]
mov dword [ebp - 0x43c], edx
mov dword [ebp - 0x438], 1
lea eax, [ebp - 0x444]
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
imul ecx, ecx, 0xc
mov edx, dword [ecx + str.p._ba]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x6108d2f1
jmp 0x6108d5e2
lea ecx, [ebp - 0x454]
push ecx
push 1
push 0
push 0x61083304
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x6108d32f
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6108d5e2
mov dword [ebp - 0x214], 0
jmp 0x6108d34a
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x458], 0x100
mov dword [ebp - 4], 0x200
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x6108d3a2
jmp 0x6108d5c8
cmp dword [ebp - 8], 1
je 0x6108d3aa
jmp 0x6108d33b
push 0x2f
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
je 0x6108d40b
movzx ecx, word [ebp - 0x420]
cmp ecx, 0x2a
jne 0x6108d3e3
mov dword [ebp - 0x21c], 0
jmp 0x6108d3ef
lea edx, [ebp - 0x420]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x45c]
mov word [eax], 0
mov ecx, dword [ebp - 0x45c]
add ecx, 2
mov dword [ebp - 0x45c], ecx
jmp 0x6108d421
mov dword [ebp - 0x21c], 0
lea edx, [ebp - 0x420]
mov dword [ebp - 0x45c], edx
push 0x2f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x6108d45e
mov ecx, dword [ebp - 0x218]
mov word [ecx], 0
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
jmp 0x6108d46a
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x218]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.61085140
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x6108d49f
jmp 0x6108d33b
lea edx, [ebp - 0x450]
push edx
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call fcn.61085140
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x6108d4e1
mov eax, dword [ebp - 0x460]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x6108d33b
push 0x1b8
push 0
mov ecx, dword [0x61097a30]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x6108d5a9
push 0x1b8
push 0
mov edx, dword [ebp - 0x44c]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x44c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.6108d0e0
mov edx, dword [ebp - 0x460]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x460]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x44c]
add eax, 0x110
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x460]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x190], eax
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x44c]
add edx, 0x88
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x108], edx
mov eax, dword [ebp - 0x460]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp - 0x450]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x6108d33b
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
call fcn.61095de2
mov esp, ebp
pop ebp
ret 0xc