Function at 0x410b60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4776f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], ebx
push ebx
mov esi, 0xf
push 0x483234
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 2
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00401bf0
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftwardID
mov byte [esp + 0x70], 1
push SysReAllocStringLen
mov dword [esp + 0x28], 0x50
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x410c37
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftwardID
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x410c37
xor eax, eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410c20
sub eax, edx
push eax
push ebx
mov ecx, edi
call fcn.00401bf0
jmp 0x410d27
cmp dword [esp + 0x80], 0x10
mov ebp, dword [esp + 0x6c]
jae 0x410c49
lea ebp, [esp + 0x6c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x410d81
mov ecx, dword [esp + 0x14]
inc ecx
push ecx
call fcn.004396b7
mov edx, dword [esp + 0x18]
inc edx
push edx
mov esi, eax
push ebx
push esi
call fcn.0045fbe0
mov edx, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, esi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410cb3
sub eax, ebp
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.00401bf0
push esi
mov byte [esp + 0x64], 2
call fcn.004396bc
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
call fcn.00401910
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x60], 1
cmp dword [esp + 0x50], 0x10
jb 0x410d0a
mov edx, dword [esp + 0x3c]
push edx
call fcn.004396bc
add esp, 4
mov esi, 0xf
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00401910
mov ebp, 0x10
cmp dword [esp + 0x34], ebp
jb 0x410d3f
mov edx, dword [esp + 0x20]
push edx
call fcn.004396bc
add esp, 4
mov byte [esp + 0x20], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
cmp dword [esp + 0x80], ebp
jb 0x410d61
mov eax, dword [esp + 0x6c]
push eax
call fcn.004396bc
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x54
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x410d0f