Function at 0x407e00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41a946
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x170]
mov edx, dword [esp + 0x168]
mov edi, 1
push eax
lea ecx, [esp + 0x16c]
mov dword [esp + 0x160], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0x104
call dword [edx + 4]
mov ecx, dword [esp + 0x16c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call esi
test eax, eax
je 0x407ea5
mov esi, dword [esp + 0x164]
push 0xffffffffffffffff
push 0x422acc
mov ecx, esi
call fcn.00402500
mov dword [esi], 0x41b248
mov dword [esp + 0x10], edi
jmp 0x408065
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
lea eax, [esp + 0x50]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.CurrentVersion
push edx
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov eax, dword [esp + 0x14]
push eax
call ebp
test ebx, ebx
push 0xffffffffffffffff
je 0x407f03
mov esi, dword [esp + 0x168]
push 0x422acc
mov ecx, esi
call fcn.00402500
mov dword [esi], 0x41b248
mov dword [esp + 0x10], 1
jmp 0x408065
push 0x41f33c
lea ecx, [esp + 0x4c]
call fcn.00402630
lea ecx, [esp + 0x44]
mov byte [esp + 0x15c], 2
push ecx
lea ecx, [esp + 0x16c]
call fcn.004023e0
lea edx, [esp + 0x50]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x164], 1
call fcn.00402630
lea eax, [esp + 0x44]
lea ecx, [esp + 0x168]
push eax
mov byte [esp + 0x160], 3
call fcn.004023e0
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x168]
push ecx
lea ecx, [esp + 0x16c]
mov byte [esp + 0x160], 1
call dword [edx + 4]
mov ecx, dword [esp + 0x16c]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call esi
test eax, eax
je 0x407fa2
push 0xffffffffffffffff
jmp 0x407edd
lea edx, [esp + 0x18]
lea eax, [esp + 0x50]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
mov ebx, 1
push str.RuntimeLib
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
je 0x4080dd
lea eax, [esp + 0x18]
lea ecx, [esp + 0x50]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push str.JavaHome
push eax
call edi
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
call ebp
test esi, esi
mov ebp, 0x41b238
jne 0x40809b
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x50]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004078c0
push 0x422acc
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 4
call fcn.00404cd0
test eax, eax
je 0x40807e
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0040a3c0
lea ecx, [esp + 0x20]
mov dword [esi], 0x41b248
mov dword [esp + 0x10], ebx
mov byte [esp + 0x15c], bl
call fcn.00402b70
lea ecx, [esp + 0x168]
mov byte [esp + 0x15c], 0
call fcn.00402b70
jmp 0x408342
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 5
call fcn.0040a4e0
mov byte [esp + 0x15c], 1
mov esi, dword [esp + 0x164]
push 0xffffffffffffffff
push 0x422acc
mov ecx, esi
call fcn.00402500
mov dword [esi], 0x41b248
mov dword [esp + 0x10], ebx
mov dword [esp + 0x168], ebp
lea ecx, [esp + 0x168]
mov dword [esp + 0x15c], 6
call fcn.0040a4e0
jmp 0x408342
mov edx, dword [esp + 0x14]
push edx
call ebp
lea eax, [esp + 0x50]
push eax
call fcn.00409720
add esp, 4
mov ebp, 0x41b238
test eax, eax
je 0x408177
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00409c60
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ebp
cmp ecx, ebx
setle bl
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 7
call fcn.0040a4e0
test bl, bl
mov byte [esp + 0x15c], 1
je 0x408177
mov esi, dword [esp + 0x164]
lea edx, [esp + 0x50]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.00402500
mov dword [esi], 0x41b248
mov dword [esp + 0x10], 1
mov dword [esp + 0x168], ebp
lea ecx, [esp + 0x168]
mov dword [esp + 0x15c], 8
call fcn.0040a4e0
jmp 0x408342
lea eax, [esp + 0x50]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x38]
call fcn.00402500
mov dword [esp + 0x30], 0x41b248
mov byte [esp + 0x15c], 9
mov edi, 2
mov ecx, dword [esp + 0x38]
lea esi, [ecx - 1]
test esi, esi
jl 0x4081e2
mov edx, dword [esp + 0x34]
mov al, byte [edx + esi]
push eax
push 0x41f410
call fcn.004029c0
add esp, 8
test al, al
jne 0x4081c5
dec esi
jns 0x4081a7
jmp 0x4081e2
test esi, esi
jle 0x4081e2
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x34]
call fcn.00402390
mov edx, dword [esp + 0x34]
mov byte [edx + esi], 0
mov dword [esp + 0x38], esi
dec edi
jne 0x40819c
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x34]
call dword [edx + 4]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004078c0
mov bl, 0xa
push 0xffffffffffffffff
push 0x422acc
lea ecx, [esp + 0x4c]
mov byte [esp + 0x164], bl
call fcn.00402630
lea edx, [esp + 0x44]
lea ecx, [esp + 0x20]
push edx
mov byte [esp + 0x160], 0xb
call fcn.00405970
test eax, eax
mov byte [esp + 0x15c], bl
je 0x4082bd
mov esi, dword [esp + 0x164]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0040a3c0
mov dword [esi], 0x41b248
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 0xc
call fcn.0040a4e0
mov edi, 0x41b27c
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x15c], 0xd
call fcn.0040a4e0
mov dword [esp + 0x30], edi
mov dword [esp + 0x168], ebp
lea ecx, [esp + 0x168]
mov dword [esp + 0x15c], 0xe
call fcn.0040a4e0
jmp 0x408342
mov esi, dword [esp + 0x164]
push 0xffffffffffffffff
push 0x422acc
mov ecx, esi
call fcn.00402500
mov dword [esi], 0x41b248
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 0xf
call fcn.0040a4e0
mov edi, 0x41b27c
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x15c], 0x10
call fcn.0040a4e0
mov dword [esp + 0x30], edi
mov dword [esp + 0x168], ebp
lea ecx, [esp + 0x168]
mov dword [esp + 0x15c], 0x11
call fcn.00405b10
test eax, eax
je 0x408342
push eax
call fcn.0040c2f0
add esp, 4
mov ecx, dword [esp + 0x154]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 0x14