Function at 0x412110
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4bbe67
mov eax, dword fs:[0]
push eax
sub esp, 0x758
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x750], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcc8c]
xor eax, esp
push eax
lea eax, [esp + 0x76c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x780]
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0x77c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ebp
cmp dword [ebp + 0xc], esi
jbe 0x41216e
call fcn.004921da
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp]
cmp edi, dword [ebp + 0x10]
jbe 0x41217e
call fcn.004921da
mov eax, dword [ebp]
push esi
push ebx
push edi
push eax
lea ebx, [esp + 0x44]
mov esi, ebp
call fcn.00413ec0
mov ecx, 8
mov esi, str.SoftwareESTsoft
lea edi, [esp + 0x330]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
movsw word es:[edi], word [esi]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x33c]
push edx
mov dword [esp + 0x784], ebx
push closesocket
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x412274
mov edi, dword [esp + 0x18]
push 0x230
lea eax, [esp + 0x100]
push ebx
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
call fcn.004982b0
add esp, 0xc
lea ecx, [esp + 0x324]
push ecx
lea edx, [esp + 0x324]
push edx
lea eax, [esp + 0x324]
push eax
lea ecx, [esp + 0x324]
push ecx
lea edx, [esp + 0x324]
push edx
lea eax, [esp + 0x324]
push eax
lea ecx, [esp + 0x324]
push ecx
lea edx, [esp + 0x324]
push edx
push ebx
lea eax, [esp + 0x328]
push eax
lea ecx, [esp + 0x124]
push ecx
push edi
mov dword [esp + 0x334], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x41227b
cmp edi, ebx
je 0x412274
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41253a
push 0x206
lea eax, [esp + 0x35a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x360], dx
call fcn.004982b0
xor esi, esi
add esp, 0xc
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], esi
cmp dword [esp + 0x308], ebx
jbe 0x41252d
push 0x208
lea ecx, [esp + 0x358]
push ebx
push ecx
call fcn.004982b0
add esp, 0xc
lea edx, [esp + 0x324]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x368]
push ecx
push esi
push edi
mov dword [esp + 0x50], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41251b
lea edx, [esp + 0x5c]
push edx
call fcn.00407a60
lea eax, [esp + 0x354]
push eax
push ecx
push 0x4e6d3c
push ecx
lea ecx, [esp + 0x340]
push ecx
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x78c], 1
call fcn.0040bd80
add esp, 0xc
push eax
call fcn.0040bd80
add esp, 0xc
push eax
call fcn.0040bd80
xor ebp, ebp
add esp, 8
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x5c]
mov byte [esp + 0x774], 2
call fcn.00407b60
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x412371
mov eax, dword [eax + 4]
jmp 0x412374
add eax, 4
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push eax
push closesocket
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4123a3
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
cmp eax, ebx
sete byte [esp + 0x17]
cmp dword [esp + 0xf8], esi
jb 0x4123c1
mov edx, dword [esp + 0xe4]
push edx
call fcn.004913b3
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4124d6
push 0x206
lea ecx, [esp + 0x562]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x568], ax
call fcn.004982b0
add esp, 0xc
push str.Version
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x24]
lea esi, [esp + 0x564]
mov dword [esp + 0x24], 0x104
call fcn.0040f5e0
test eax, eax
jne 0x4124d2
lea eax, [esp + 0x354]
lea ecx, [esp + 0x40]
call fcn.004074d0
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x778], 3
call fcn.0042f570
add esp, 4
mov esi, 8
mov byte [esp + 0x774], 5
cmp dword [esp + 0x58], esi
jb 0x412461
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004913b3
add esp, 4
xor edx, edx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
cmp dword [0x5046b4], ebx
je 0x4124a6
cmp byte [esp + 0x784], bl
jne 0x4124a6
mov ecx, dword [esp + 0x3c]
add ecx, 0x30
lea eax, [esp + 0xe0]
call fcn.0040c000
test al, al
je 0x4124b9
lea eax, [esp + 0xe0]
push eax
jmp 0x4124ae
lea ecx, [esp + 0xe0]
push ecx
mov ebx, dword [esp + 0x30]
call fcn.004079c0
xor ebx, ebx
cmp dword [esp + 0xf8], esi
jb 0x4124d2
mov edx, dword [esp + 0xe4]
push edx
call fcn.004913b3
add esp, 4
mov edi, dword [esp + 0x18]
cmp ebp, ebx
je 0x4124e5
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x774], bl
call fcn.00407af0
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xac], vtable.std::ios_base.0
call fcn.00431fcb
mov esi, dword [esp + 0x2c]
add esp, 4
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [esp + 0x308]
jb 0x4122b2
cmp edi, ebx
je 0x412538
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x76c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x750]
xor ecx, esp
call fcn.004913be
add esp, 0x764
ret 0xc