Function at 0x43dc80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a7dd
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4e8], ecx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x109
push 0
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x4ac]
push edx
call fcn.00422760
add esp, 8
mov dword [ebp - 0x4ec], eax
mov eax, dword [ebp - 0x4ec]
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4f0]
call fcn.00401670
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ac]
call fcn.00401640
cmp dword [ebp - 0x10], 0
je 0x43dd27
xor eax, eax
jmp 0x43e2df
mov dword [ebp - 0x18], 0
jmp 0x43dd39
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 0x14]
call fcn.00457880
cmp dword [ebp - 0x18], eax
jae 0x43e2d0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00457d50
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.004584c0
movzx ecx, al
test ecx, ecx
jne 0x43dd77
mov ecx, dword [ebp - 0x64]
call fcn.00458670
movzx edx, al
test edx, edx
jne 0x43dd7c
jmp 0x43e2d0
push 0x597b1c
mov ecx, dword [ebp - 0x64]
call fcn.00457f90
mov dword [ebp - 0x1c], eax
push 0x597b20
mov ecx, dword [ebp - 0x64]
call fcn.00457f90
mov dword [ebp - 0x60], eax
push 0x597b28
mov ecx, dword [ebp - 0x64]
call fcn.00457f90
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x1c]
call fcn.004584c0
movzx eax, al
test eax, eax
jne 0x43ddcd
mov ecx, dword [ebp - 0x1c]
call fcn.00458610
movzx ecx, al
test ecx, ecx
jne 0x43ddd2
jmp 0x43e2d0
mov ecx, dword [ebp - 0x60]
call fcn.004584c0
movzx edx, al
test edx, edx
jne 0x43ddf0
mov ecx, dword [ebp - 0x60]
call fcn.00458610
movzx eax, al
test eax, eax
jne 0x43de19
mov ecx, dword [ebp - 0x84]
call fcn.004584c0
movzx ecx, al
test ecx, ecx
jne 0x43de19
mov ecx, dword [ebp - 0x84]
call fcn.00458610
movzx edx, al
test edx, edx
je 0x43de19
jmp 0x43e2d0
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00456720
mov dword [ebp - 0x4f4], eax
mov ecx, dword [ebp - 0x4f4]
mov dword [ebp - 0x4f8], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x4f8]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00422760
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c8]
call fcn.004015d0
mov ecx, dword [ebp - 0x60]
call fcn.004584c0
movzx ecx, al
test ecx, ecx
jne 0x43dea5
mov ecx, dword [ebp - 0x60]
call fcn.00458610
movzx edx, al
test edx, edx
je 0x43dea5
mov ecx, dword [ebp - 0x84]
call fcn.004584c0
movzx eax, al
test eax, eax
jne 0x43dea5
mov ecx, dword [ebp - 0x84]
call fcn.00458610
movzx ecx, al
test ecx, ecx
jne 0x43dee7
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.00401670
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ded3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x43dee7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401640
jmp 0x43e2d0
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00456720
mov byte [ebp - 4], 4
push str.REG_SZ
lea ecx, [ebp - 0x80]
push ecx
call fcn.00407350
add esp, 8
movzx edx, al
test edx, edx
je 0x43df22
mov dword [ebp - 0x5c], 1
jmp 0x43e0c4
push str.REG_EXPAND_SZ
lea eax, [ebp - 0x80]
push eax
call fcn.00407350
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43df46
mov dword [ebp - 0x5c], 2
jmp 0x43e0c4
push str.REG_BINARY
lea edx, [ebp - 0x80]
push edx
call fcn.00407350
add esp, 8
movzx eax, al
test eax, eax
je 0x43df6a
mov dword [ebp - 0x5c], 3
jmp 0x43e0c4
push str.REG_DWORD
lea ecx, [ebp - 0x80]
push ecx
call fcn.00407350
add esp, 8
movzx edx, al
test edx, edx
je 0x43df8e
mov dword [ebp - 0x5c], 4
jmp 0x43e0c4
push str.REG_DWORD_LITTLE_ENDIAN
lea eax, [ebp - 0x80]
push eax
call fcn.00407350
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43dfb2
mov dword [ebp - 0x5c], 4
jmp 0x43e0c4
push str.REG_DWORD_BIG_ENDIAN
lea edx, [ebp - 0x80]
push edx
call fcn.00407350
add esp, 8
movzx eax, al
test eax, eax
je 0x43dfd6
mov dword [ebp - 0x5c], 5
jmp 0x43e0c4
push str.REG_LINK
lea ecx, [ebp - 0x80]
push ecx
call fcn.00407350
add esp, 8
movzx edx, al
test edx, edx
je 0x43dffa
mov dword [ebp - 0x5c], 6
jmp 0x43e0c4
push str.REG_MULTI_SZ
lea eax, [ebp - 0x80]
push eax
call fcn.00407350
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43e01e
mov dword [ebp - 0x5c], 7
jmp 0x43e0c4
push str.REG_RESOURCE_LIST
lea edx, [ebp - 0x80]
push edx
call fcn.00407350
add esp, 8
movzx eax, al
test eax, eax
je 0x43e042
mov dword [ebp - 0x5c], 8
jmp 0x43e0c4
push str.REG_FULL_RESOURCE_DESCRIPTOR
lea ecx, [ebp - 0x80]
push ecx
call fcn.00407350
add esp, 8
movzx edx, al
test edx, edx
je 0x43e063
mov dword [ebp - 0x5c], 9
jmp 0x43e0c4
push str.REG_RESOURCE_REQUIREMENTS_LIST
lea eax, [ebp - 0x80]
push eax
call fcn.00407350
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43e084
mov dword [ebp - 0x5c], 0xa
jmp 0x43e0c4
push str.REG_QWORD
lea edx, [ebp - 0x80]
push edx
call fcn.00407350
add esp, 8
movzx eax, al
test eax, eax
je 0x43e0a5
mov dword [ebp - 0x5c], 0xb
jmp 0x43e0c4
push str.REG_QWORD_LITTLE_ENDIAN
lea ecx, [ebp - 0x80]
push ecx
call fcn.00407350
add esp, 8
movzx edx, al
test edx, edx
je 0x43e0c4
mov dword [ebp - 0x5c], 0xb
mov word [ebp - 0x484], 0
push 0x3fe
push 0
lea eax, [ebp - 0x482]
push eax
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x488], 0x200
lea ecx, [ebp - 0x4e4]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.00456720
mov dword [ebp - 0x4fc], eax
mov edx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x500]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00422760
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4e4]
call fcn.004015d0
cmp dword [ebp - 0x5c], 2
je 0x43e14d
cmp dword [ebp - 0x5c], 1
je 0x43e14d
cmp dword [ebp - 0x5c], 7
jne 0x43e1d4
lea edx, [ebp - 0x488]
push edx
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x5c]
push ecx
push 0
lea ecx, [ebp - 0x58]
call fcn.00401670
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e1cf
lea ecx, [ebp - 0x3c]
call fcn.00401670
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.00419910
add esp, 8
test eax, eax
je 0x43e1a3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
jmp 0x43e1cf
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.004015d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401640
jmp 0x43e2d0
jmp 0x43e2a4
cmp dword [ebp - 0x5c], 4
je 0x43e1e4
cmp dword [ebp - 0x5c], 3
jne 0x43e27b
lea ecx, [ebp - 0x488]
push ecx
lea edx, [ebp - 0x484]
push edx
lea eax, [ebp - 0x5c]
push eax
push 0
lea ecx, [ebp - 0x58]
call fcn.00401670
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e279
movsx edx, word [ebp - 0x484]
mov dword [ebp - 0x48c], edx
lea ecx, [ebp - 0x3c]
call fcn.00401670
push eax
call fcn.0049e71b
add esp, 4
mov dword [ebp - 0x490], eax
mov eax, dword [ebp - 0x490]
cmp eax, dword [ebp - 0x48c]
jne 0x43e250
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
jmp 0x43e279
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.004015d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401640
jmp 0x43e2d0
jmp 0x43e2a4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.004015d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401640
jmp 0x43e2d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.004015d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401640
jmp 0x43dd30
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 0x10