Function at 0x416b60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436192
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x442308]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43a004
mov eax, dword [ebp + 8]
add eax, 4
push eax
call fcn.0040dbc0
add esp, 8
test eax, eax
je 0x416bbc
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00417000
add esp, 0xc
jmp 0x416fdd
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x42c]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftCTFDirectSwitchHotkeys
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x416bfd
xor eax, eax
jmp 0x416fdd
mov edx, dword [ebp - 0x42c]
push edx
lea ecx, [ebp - 0x428]
call fcn.004139a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x42c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x416c6d
mov dword [ebp - 0x458], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00413510
mov eax, dword [ebp - 0x458]
jmp 0x416fdd
xor edx, edx
mov word [ebp - 0x424], dx
push 0x3fe
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.00423660
add esp, 0xc
mov dword [ebp - 0x10], 0x200
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
jmp 0x416cac
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jae 0x416f7f
push 0x400
push 0
lea eax, [ebp - 0x424]
push eax
call fcn.00423660
add esp, 0xc
mov dword [ebp - 0x10], 0x200
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x424]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x416f7a
mov dword [ebp - 0x430], 0
lea edx, [ebp - 0x430]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416f7a
mov edx, dword [ebp - 0x430]
push edx
lea ecx, [ebp - 0x434]
call fcn.004139a0
mov byte [ebp - 4], 1
mov eax, dword [0x43a004]
mov dword [ebp - 0x454], eax
mov ecx, dword [0x43a008]
mov dword [ebp - 0x450], ecx
mov edx, dword [0x43a00c]
mov dword [ebp - 0x44c], edx
mov eax, dword [0x43a010]
mov dword [ebp - 0x448], eax
mov ecx, dword [0x43a004]
mov dword [ebp - 0x444], ecx
mov edx, dword [0x43a008]
mov dword [ebp - 0x440], edx
mov eax, dword [0x43a00c]
mov dword [ebp - 0x43c], eax
mov ecx, dword [0x43a010]
mov dword [ebp - 0x438], ecx
lea edx, [ebp - 0x454]
push edx
push 0x43c8ac
push str.CLSID
push 0
mov eax, dword [ebp - 0x430]
push eax
lea ecx, [ebp - 0x474]
push ecx
call fcn.00407340
mov dword [ebp - 0x4d4], eax
mov edx, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4d8]
call fcn.00401600
push eax
call fcn.004080b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x474]
call fcn.00401080
lea eax, [ebp - 0x444]
push eax
push 0x43c8ac
push 0x438738
push 0
mov ecx, dword [ebp - 0x430]
push ecx
lea edx, [ebp - 0x490]
push edx
call fcn.00407340
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4e0]
call fcn.00401600
push eax
call fcn.004080b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x490]
call fcn.00401080
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea edx, [ebp - 0x454]
push edx
call fcn.0040dbc0
add esp, 8
test eax, eax
je 0x416f6b
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
lea ecx, [ebp - 0x444]
push ecx
call fcn.0040dbc0
add esp, 8
test eax, eax
je 0x416f6b
push 0x10
push 0
push 0x43c8ac
push str.Modifiers
push 0
mov edx, dword [ebp - 0x430]
push edx
lea eax, [ebp - 0x4ac]
push eax
call fcn.00407340
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x4e8], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4e8]
call fcn.00401600
push eax
call fcn.004245e0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4ac]
call fcn.00401080
push 0x10
push 0
push 0x43c8ac
push str.VirtualKey
push 0
mov edx, dword [ebp - 0x430]
push edx
lea eax, [ebp - 0x4c8]
push eax
call fcn.00407340
mov dword [ebp - 0x4ec], eax
mov ecx, dword [ebp - 0x4ec]
mov dword [ebp - 0x4f0], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4f0]
call fcn.00401600
push eax
call fcn.004245e0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c8]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.00413510
jmp 0x416f7f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.00413510
jmp 0x416ca3
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jb 0x416fab
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00413510
mov eax, dword [ebp - 0x4cc]
jmp 0x416fdd
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x4d0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00413510
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0042364d
mov esp, ebp
pop ebp
ret