Function at 0x4148c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x20], 4
lea ecx, [ebp + 8]
call fcn.00404600
push eax
push 0x4607f8
call fcn.00401000
add esp, 8
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
lea ecx, [ebp + 8]
call fcn.00404600
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414be3
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x23c]
add edx, 0xc
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x46081c
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4149a1
mov edx, dword [ebp - 0x23c]
cmp dword [edx + 0xc], 0
je 0x414981
mov dword [ebp - 0x240], 0x460828
jmp 0x41498b
mov dword [ebp - 0x240], 0x460830
mov eax, dword [ebp - 0x240]
push eax
push 0x460838
call fcn.00401000
add esp, 8
jmp 0x4149df
push 0x460870
call fcn.00401000
add esp, 4
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0xc], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043de93
mov eax, dword [ebp - 0x228]
jmp 0x414f3a
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x23c]
add eax, 8
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x4608b4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414a43
mov eax, dword [ebp - 0x23c]
cmp dword [eax + 8], 0
je 0x414a23
mov dword [ebp - 0x244], 0x4608c4
jmp 0x414a2d
mov dword [ebp - 0x244], 0x4608cc
mov ecx, dword [ebp - 0x244]
push ecx
push 0x4608d4
call fcn.00401000
add esp, 8
jmp 0x414a5d
mov edx, dword [ebp - 0x23c]
mov dword [edx + 8], 0
push 0x460910
call fcn.00401000
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x18
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0x460958
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414ac1
mov ecx, dword [ebp - 0x23c]
cmp dword [ecx + 8], 0
je 0x414aa1
mov dword [ebp - 0x248], 0x46096c
jmp 0x414aab
mov dword [ebp - 0x248], 0x460974
mov edx, dword [ebp - 0x248]
push edx
push 0x46097c
call fcn.00401000
add esp, 8
jmp 0x414adb
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0x18], 0
push 0x4609b8
call fcn.00401000
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x23c]
add edx, 0x10
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x460a00
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414b3f
mov edx, dword [ebp - 0x23c]
cmp dword [edx + 0x10], 0
je 0x414b1f
mov dword [ebp - 0x24c], 0x460a10
jmp 0x414b29
mov dword [ebp - 0x24c], 0x460a18
mov eax, dword [ebp - 0x24c]
push eax
push 0x460a20
call fcn.00401000
add esp, 8
jmp 0x414b59
push 0x460a5c
call fcn.00401000
add esp, 4
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x10], 3
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x23c]
add eax, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x460aa4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414bbd
mov eax, dword [ebp - 0x23c]
cmp dword [eax + 4], 0
je 0x414b9d
mov dword [ebp - 0x250], 0x460ab0
jmp 0x414ba7
mov dword [ebp - 0x250], 0x460ab8
mov ecx, dword [ebp - 0x250]
push ecx
push 0x460ac0
call fcn.00401000
add esp, 8
jmp 0x414bd7
push 0x460af8
call fcn.00401000
add esp, 4
mov edx, dword [ebp - 0x23c]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414c14
push 0x460b38
call fcn.00401000
add esp, 4
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043de93
mov eax, dword [ebp - 0x22c]
jmp 0x414f3a
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0x200
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push 0
push 0x460b84
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414cf2
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x460bb0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414cc6
mov ecx, dword [ebp - 0x23c]
add ecx, 0x20
call fcn.00404600
test eax, eax
je 0x414c91
mov dword [ebp - 0x254], 0x460bb8
jmp 0x414c9b
mov dword [ebp - 0x254], 0x460bc0
mov eax, dword [ebp - 0x254]
push eax
push 0x460bc8
call fcn.00401000
add esp, 8
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x23c]
add ecx, 0x20
call fcn.0043e01c
jmp 0x414ce6
push 0x460bfc
call fcn.00401000
add esp, 4
push 0x460c3c
mov ecx, dword [ebp - 0x23c]
add ecx, 0x20
call fcn.0043e01c
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414d2d
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 0x20]
push ecx
push 0x460c44
call fcn.00401000
add esp, 8
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043de93
mov eax, dword [ebp - 0x230]
jmp 0x414f3a
call fcn.00404650
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x18]
push edx
push 0x20019
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xec
call fcn.00404600
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414eed
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x1c
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0x460c8c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414dcb
mov ecx, dword [ebp - 0x23c]
cmp dword [ecx + 0x1c], 0
je 0x414dab
mov dword [ebp - 0x258], 0x460c9c
jmp 0x414db5
mov dword [ebp - 0x258], 0x460ca4
mov edx, dword [ebp - 0x258]
push edx
push 0x460cac
call fcn.00401000
add esp, 8
jmp 0x414de5
push 0x460ce8
call fcn.00401000
add esp, 4
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0x1c], 1
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x23c]
add edx, 0x24
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x460d2c
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414e49
mov edx, dword [ebp - 0x23c]
cmp dword [edx + 0x24], 0
je 0x414e29
mov dword [ebp - 0x25c], 0x460d40
jmp 0x414e33
mov dword [ebp - 0x25c], 0x460d48
mov eax, dword [ebp - 0x25c]
push eax
push 0x460d50
call fcn.00401000
add esp, 8
jmp 0x414e63
push 0x460d90
call fcn.00401000
add esp, 4
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x24], 1
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x23c]
add eax, 0x28
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x460dd8
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414ec7
mov eax, dword [ebp - 0x23c]
cmp dword [eax + 0x28], 0
je 0x414ea7
mov dword [ebp - 0x260], 0x460dec
jmp 0x414eb1
mov dword [ebp - 0x260], 0x460df4
mov ecx, dword [ebp - 0x260]
push ecx
push 0x460dfc
call fcn.00401000
add esp, 8
jmp 0x414ee1
push 0x460e38
call fcn.00401000
add esp, 4
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0x28], 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414f1b
push 0x460e80
call fcn.00401000
add esp, 4
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043de93
mov eax, dword [ebp - 0x234]
jmp 0x414f3a
mov dword [ebp - 0x238], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043de93
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4