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

Disassembly:
push 0xffffffffffffffff
push 0x45dee8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
cmp dword [0x474d7c], 0
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xb8]
je 0x41e4e4
cmp esi, 0xffffffff
jne 0x41e4e4
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x40], eax
push 0x46043c
mov dword [esp + 0xa8], 0
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x4c], eax
push 0x46043c
call fcn.0042f484
add esp, 0x18
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xb4]
mov eax, ebx
test ebx, ebx
jne 0x41e375
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0xb0]
mov eax, edi
test edi, edi
jne 0x41e394
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x18], eax
mov eax, ebx
test ebx, ebx
jne 0x41e3ac
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x20], eax
mov eax, edi
test edi, edi
jne 0x41e3c4
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0xb0]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xb4], 9
call fcn.00407af0
mov esi, eax
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0xc4], 0xa
call fcn.00407af0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x6c]
push edx
push 1
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x6c]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebp
mov byte [esp + 0x104], 0xb
call fcn.0040c0f0
mov edx, dword [esp + 0xa8]
add esp, 0x64
push edx
mov esi, eax
call fcn.0042f4d9
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x28]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x54]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x68]
push ecx
mov dword [esp + 0xd0], 0xffffffff
call fcn.0042f4d9
add esp, 0x30
jmp 0x41e4f2
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x40]
push edx
push 0x20019
push 0
push edi
push eax
mov dword [esp + 0x54], 0
call fcn.00409f10
mov eax, dword [esp + 0x54]
add esp, 0x14
test eax, eax
je 0x41e9f4
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
mov dword [esp + 0x48], 0
call ebx
mov edx, dword [esp + 0x30]
add edx, 2
push edx
call fcn.0042ee3e
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x44]
add esp, 4
mov edi, eax
lea eax, [esp + 0x30]
push eax
push edi
push 0
push 0
push ecx
push edx
call ebx
mov eax, dword [esp + 0x30]
cmp eax, 2
jbe 0x41e9e9
mov byte [edi + eax - 1], 0
mov eax, dword [esp + 0x30]
mov byte [edi + eax], 0
cmp byte [edi], 0
je 0x41e9e9
mov edi, edi
lea ecx, [esp + 0x7c]
call fcn.00402320
lea ecx, [esp + 0x7c]
push ecx
push edi
mov dword [esp + 0xa8], 0xc
call fcn.00411310
push edi
call fcn.0042f484
mov dword [esp + 0x50], eax
push 0
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xb8], 0xd
call fcn.0040b350
add esp, 0x18
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0
je 0x41e989
push 1
call fcn.0042f396
mov dword [esp + 0x1c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x24], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x2c], eax
mov byte [eax], 0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
push ecx
push ebp
mov byte [esp + 0xbc], 0x11
call fcn.0040b950
push edi
mov dword [esp + 0x90], eax
call fcn.0042f484
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x68]
push edx
push ebp
mov byte [esp + 0xd4], 0x12
call fcn.0040bd70
mov bl, al
mov eax, dword [esp + 0x70]
push eax
call fcn.0042f4d9
add esp, 0x38
test bl, bl
je 0x41e968
cmp esi, 0xffffffff
jne 0x41e865
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x5c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x68], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x60], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x5c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x64], eax
push 0x46043c
call fcn.0042f484
add esp, 0x18
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0xb4]
mov eax, esi
test esi, esi
jne 0x41e6e8
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0xb0]
mov eax, ebx
test ebx, ebx
jne 0x41e707
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, esi
test esi, esi
jne 0x41e71f
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x28], eax
mov eax, ebx
test ebx, ebx
jne 0x41e737
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0xb4], 0x1c
call fcn.00407af0
mov esi, eax
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0xc4], 0x1d
call fcn.00407af0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x88]
push ecx
push 1
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x6c]
push edx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebp
mov byte [esp + 0x104], 0x1e
call fcn.0040c0f0
mov esi, eax
mov eax, dword [esp + 0xd0]
add esp, 0x64
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x34]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x6c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x78]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x84]
push edx
call fcn.0042f4d9
add esp, 0x30
push 0x46043c
call fcn.0042f484
add esp, 4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x41e886
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x41e8a3
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x68], eax
push edi
call fcn.0042f484
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x70]
push ecx
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xb8], 0x22
call fcn.00407af0
movzx edx, byte [esp + 0xd4]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0xac]
push edx
push 5
push esi
push eax
push ebp
mov byte [esp + 0xf8], 0x23
call fcn.0040c0f0
mov ecx, dword [esp + 0xcc]
add esp, 0x58
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x6c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x6c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x58]
push edx
call fcn.0042f4d9
add esp, 0x14
mov eax, dword [esp + 0x20]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x20]
push edx
call fcn.0042f4d9
add esp, 0xc
mov eax, dword [esp + 0x14]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
add esp, 8
lea ecx, [esp + 0x80]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00402070
mov edx, dword [esp + 0x80]
push edx
call fcn.0042f2c2
mov eax, dword [esp + 0x80]
push eax
call fcn.0042f4d9
push 0
inc edi
push edi
call fcn.004308e5
inc eax
mov edi, eax
add esp, 0x10
cmp byte [edi], 0
jne 0x41e590
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret