Function at 0x416060
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45cba6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
xor esi, esi
cmp dword [0x474d7c], esi
je 0x416296
cmp dword [esp + 0xbc], 0xffffffff
jne 0x416296
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0x46043c
mov dword [esp + 0xac], esi
call fcn.0042f484
mov dword [esp + 0x38], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x38], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x38], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
add esp, 0x18
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0xb8]
mov eax, ebx
cmp ebx, esi
jne 0x416120
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0xb4]
mov eax, edi
cmp edi, esi
jne 0x41613f
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, ebx
cmp ebx, esi
jne 0x416157
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x24], eax
mov eax, edi
cmp edi, esi
jne 0x41616f
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xb8], 9
call fcn.00407af0
mov esi, eax
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xc8], 0xa
call fcn.00407af0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x68]
push edx
push 1
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x5c]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebp
mov byte [esp + 0x108], 0xb
call fcn.0040c0f0
mov edx, dword [esp + 0xa4]
add esp, 0x64
push edx
mov dword [esp + 0xc0], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x30]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x50]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x64]
push ecx
mov dword [esp + 0xd4], 0xffffffff
call fcn.0042f4d9
add esp, 0x30
xor esi, esi
jmp 0x4162a4
mov ebx, dword [esp + 0xb8]
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
lea edx, [esp + 0x44]
push edx
push 0x20019
push esi
push edi
push eax
mov dword [esp + 0x58], esi
call fcn.00409f10
mov eax, dword [esp + 0x58]
add esp, 0x14
cmp eax, esi
je 0x41685b
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
push esi
push ebx
push eax
mov dword [esp + 0x54], esi
call edi
test eax, eax
jne 0x416850
push 1
call fcn.0042f396
mov dword [esp + 0x20], eax
mov byte [eax], 0
mov edx, dword [esp + 0x40]
add edx, 2
push edx
mov dword [esp + 0xac], 0xc
call fcn.0042ee3e
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
lea eax, [esp + 0x3c]
push eax
push esi
push 0
push 0
push ebx
push ecx
call edi
mov eax, dword [esp + 0x3c]
cmp eax, 2
jbe 0x416843
mov byte [esi + eax - 1], 0
mov edx, dword [esp + 0x3c]
mov byte [esi + edx], 0
cmp byte [esi], 0
je 0x416843
mov edi, edi
lea ecx, [esp + 0x80]
call fcn.00402320
lea eax, [esp + 0x80]
push eax
push esi
mov byte [esp + 0xac], 0xd
call fcn.00411310
mov edi, dword [esp + 0x24]
push esi
call fcn.0042f484
push edi
mov dword [esp + 0x2c], eax
call fcn.0042f4d9
push 0
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0040b350
add esp, 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41642d
push 0x10
push str.File_not_found:
push eax
call fcn.004330c9
add esp, 0xc
test eax, eax
jne 0x41642d
push 0xa
push str.autocheck
push esi
call fcn.004330c9
add esp, 0xc
test eax, eax
jne 0x41642d
push esi
call fcn.0042f484
mov edi, eax
mov dword [esp + 0x6c], edi
lea eax, [esp + 0x84]
push eax
lea ecx, [esi + 0xa]
push ecx
mov byte [esp + 0xb0], 0xf
call fcn.00411310
push 0
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.0040b350
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
call fcn.00401690
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0042f4d9
push edi
call fcn.0042f4d9
add esp, 8
mov edx, dword [esp + 0x14]
cmp byte [edx], 0
je 0x4167f0
push 1
call fcn.0042f396
mov dword [esp + 0x1c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x28], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x30], eax
mov byte [eax], 0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
push ebp
mov byte [esp + 0xc0], 0x12
call fcn.0040b950
push esi
mov dword [esp + 0x88], eax
call fcn.0042f484
mov dword [esp + 0x58], eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x64]
push eax
push ebp
mov byte [esp + 0xd8], 0x13
call fcn.0040bd70
mov ecx, dword [esp + 0x6c]
push ecx
mov bl, al
call fcn.0042f4d9
add esp, 0x38
test bl, bl
je 0x4167cf
cmp dword [esp + 0xbc], 0xffffffff
jne 0x4166c5
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x70], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x6c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x60], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x60], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x60], eax
push 0x46043c
call fcn.0042f484
add esp, 0x18
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0xb8]
mov eax, edi
test edi, edi
jne 0x416542
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0xb4]
mov eax, ebx
test ebx, ebx
jne 0x416561
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x28], eax
mov eax, edi
test edi, edi
jne 0x416579
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, ebx
test ebx, ebx
jne 0x416591
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0xb4]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x88]
push ebx
push ecx
mov byte [esp + 0xb8], 0x1d
call fcn.00407af0
mov edi, eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x90]
push ebx
push ecx
mov byte [esp + 0xc8], 0x1e
call fcn.00407af0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x9c]
push edx
push 1
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0xa4]
push ecx
push edi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebp
mov byte [esp + 0x108], 0x1f
call fcn.0040c0f0
mov edx, dword [esp + 0xd8]
add esp, 0x64
push edx
mov dword [esp + 0xc0], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x80]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x38]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x38]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x74]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x68]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x78]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x8c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0042f4d9
add esp, 0x30
jmp 0x4166cc
mov ebx, dword [esp + 0xb0]
push 0x46043c
call fcn.0042f484
add esp, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb8]
test eax, eax
jne 0x4166ed
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x41670a
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x5c], eax
push esi
call fcn.0042f484
mov dword [esp + 0x68], eax
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x88]
push ebx
push ecx
mov byte [esp + 0xbc], 0x23
call fcn.00407af0
movzx ecx, byte [esp + 0xd8]
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x64]
push edx
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0xf8]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0xa8]
push eax
lea eax, [esp + 0xa4]
push eax
push 5
push ecx
push edx
push ebp
mov byte [esp + 0xfc], 0x24
call fcn.0040c0f0
mov eax, dword [esp + 0xd0]
add esp, 0x58
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x60]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x54]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0042f4d9
add esp, 0x14
mov edx, dword [esp + 0x24]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x24]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042f4d9
add esp, 0xc
mov edx, dword [esp + 0x14]
push edx
call fcn.0042f4d9
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 0xc
call fcn.00402070
mov eax, dword [esp + 0x84]
push eax
call fcn.0042f2c2
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0042f4d9
push 0
inc esi
push esi
call fcn.004308e5
inc eax
mov esi, eax
add esp, 0x10
cmp byte [esi], 0
jne 0x416350
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042f4d9
add esp, 4
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret