Function at 0x411050
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43816b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x164]
mov edx, dword [esp + 0x15c]
mov edi, 1
push eax
lea ecx, [esp + 0x160]
mov dword [esp + 0x154], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x104
call dword [edx + 4]
mov ecx, dword [esp + 0x160]
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 0x4110f5
mov esi, dword [esp + 0x158]
push 0xffffffffffffffff
push 0x448e48
mov ecx, esi
call fcn.004044f0
mov dword [esi], 0x43a2e4
mov dword [esp + 0x10], edi
jmp 0x4112b5
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
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 0x411153
mov esi, dword [esp + 0x15c]
push 0x448e48
mov ecx, esi
call fcn.004044f0
mov dword [esi], 0x43a2e4
mov dword [esp + 0x10], 1
jmp 0x4112b5
push 0x444bb4
lea ecx, [esp + 0x20]
call fcn.00404620
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 2
push ecx
lea ecx, [esp + 0x160]
call fcn.00404370
lea edx, [esp + 0x44]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], 1
call fcn.00404620
lea eax, [esp + 0x18]
lea ecx, [esp + 0x15c]
push eax
mov byte [esp + 0x154], 3
call fcn.00404370
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x15c]
push ecx
lea ecx, [esp + 0x160]
mov byte [esp + 0x154], 1
call dword [edx + 4]
mov ecx, dword [esp + 0x160]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call esi
test eax, eax
je 0x4111f2
push 0xffffffffffffffff
jmp 0x41112d
lea edx, [esp + 0x2c]
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
mov ebx, 1
push str.RuntimeLib
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x104
call edi
test eax, eax
je 0x41132d
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
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, 0x43a2d4
jne 0x4112eb
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x44]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00410a20
push 0x448e48
lea ecx, [esp + 0x34]
mov byte [esp + 0x154], 4
call fcn.004095a0
test eax, eax
je 0x4112ce
mov esi, dword [esp + 0x158]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00404430
lea ecx, [esp + 0x30]
mov dword [esi], 0x43a2e4
mov dword [esp + 0x10], ebx
mov byte [esp + 0x150], bl
call fcn.004150e0
lea ecx, [esp + 0x15c]
mov byte [esp + 0x150], 0
call fcn.004150e0
jmp 0x411580
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 5
call fcn.00404d10
mov byte [esp + 0x150], 1
mov esi, dword [esp + 0x158]
push 0xffffffffffffffff
push 0x448e48
mov ecx, esi
call fcn.004044f0
mov dword [esi], 0x43a2e4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x15c], ebp
lea ecx, [esp + 0x15c]
mov dword [esp + 0x150], 6
call fcn.00404d10
jmp 0x411580
mov edx, dword [esp + 0x14]
push edx
call ebp
lea eax, [esp + 0x44]
push eax
call fcn.00412760
add esp, 4
mov ebp, 0x43a2d4
test eax, eax
je 0x4113d0
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00412c00
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ebp
cmp ecx, ebx
setle bl
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 7
call fcn.00404d10
test bl, bl
mov byte [esp + 0x150], 1
je 0x4113cb
mov esi, dword [esp + 0x158]
lea edx, [esp + 0x44]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.004044f0
mov dword [esi], 0x43a2e4
mov dword [esp + 0x10], 1
mov dword [esp + 0x15c], ebp
lea ecx, [esp + 0x15c]
mov dword [esp + 0x150], 8
call fcn.00404d10
jmp 0x411580
mov ebx, 1
lea eax, [esp + 0x44]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x20]
call fcn.004044f0
mov dword [esp + 0x18], 0x43a2e4
mov byte [esp + 0x150], 9
mov edi, 2
mov ecx, dword [esp + 0x20]
lea esi, [ecx - 1]
test esi, esi
jl 0x41143b
mov edx, dword [esp + 0x1c]
mov al, byte [edx + esi]
push eax
push 0x444c94
call fcn.00406ca0
add esp, 8
test al, al
jne 0x41141e
dec esi
jns 0x411400
jmp 0x41143b
test esi, esi
jle 0x41143b
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404320
mov edx, dword [esp + 0x1c]
mov byte [edx + esi], 0
mov dword [esp + 0x20], esi
dec edi
jne 0x4113f5
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x48]
call fcn.00410a20
push 0x448e48
lea ecx, [esp + 0x34]
mov byte [esp + 0x154], 0xa
call fcn.004095a0
test eax, eax
je 0x4114f2
mov esi, dword [esp + 0x158]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00404430
mov dword [esi], 0x43a2e4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0xb
call fcn.00404d10
mov edi, 0x43a2d0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 0xc
call fcn.00404d10
mov dword [esp + 0x18], edi
mov dword [esp + 0x15c], ebp
lea ecx, [esp + 0x15c]
mov dword [esp + 0x150], 0xd
call fcn.00404d10
jmp 0x411580
mov esi, dword [esp + 0x158]
push 0xffffffffffffffff
push 0x448e48
mov ecx, esi
call fcn.004044f0
mov dword [esi], 0x43a2e4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0xe
call fcn.00404d10
mov edi, 0x43a2d0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 0xf
call fcn.00416b30
test eax, eax
je 0x411551
push eax
call fcn.0041a6b3
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x15c], ebp
lea ecx, [esp + 0x15c]
mov dword [esp + 0x150], 0x10
call fcn.00416b30
test eax, eax
je 0x411580
push eax
call fcn.0041a6b3
add esp, 4
mov ecx, dword [esp + 0x148]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 0x14