Function at 0x43f7d0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x47a613
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x2c], ebp
mov edi, dword [esp + 0x100]
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xf4]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 0
push edi
mov dword [esp + 0x11c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x43f876
mov eax, dword [esp + 0xfc]
add eax, 0xfffffff0
mov dword [esp + 0xec], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x44027e
mov eax, dword [esp + 0x34]
inc eax
push eax
call fcn.0046b3ee
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x44025c
push str.k__
lea ecx, [esp + 0x48]
call fcn.00405920
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xf0], 1
call fcn.0044c3f0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0xec], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f8d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xfc]
mov eax, dword [eax - 0xc]
test eax, eax
mov esi, dword [esp + 0xf4]
je 0x43fa2a
mov eax, dword [esp + 0xf8]
test eax, eax
push ecx
mov dword [esp + 0x1c], esp
mov ecx, esp
jne 0x43f9d8
lea edx, [esp + 0x100]
push edx
call fcn.004023e0
lea eax, [esp + 0x14]
push eax
call fcn.0043de00
add esp, 8
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
mov bl, 4
push str.name
mov byte [esp + 0xf8], bl
call fcn.00405920
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043de00
add esp, 8
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xf4], 5
call fcn.0044c460
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xec], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f97e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xec], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f9a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
test eax, eax
ja 0x43f9c6
mov eax, dword [esp + 0x30]
test eax, eax
ja 0x43f9c6
push 1
push 1
push 1
push esi
lea ecx, [esp + 0x70]
call fcn.0044c710
jmp 0x43fa2a
push 1
push 1
push 1
push esi
lea ecx, [esp + 0x70]
call fcn.0044c530
jmp 0x43fa2a
lea eax, [esp + 0x100]
push eax
call fcn.004023e0
lea ecx, [esp + 0x18]
push ecx
call fcn.0043de00
add esp, 8
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xf0], 6
call fcn.0044c3e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xec], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43fa2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x104]
test esi, esi
je 0x43fcf6
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00416bc0
mov eax, dword [eax]
push str._Default_
push eax
mov byte [esp + 0xf4], 7
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x43faa5
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00416bf0
mov eax, dword [eax]
push str._value_not_set_
push eax
call fcn.004578d3
mov edi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43fa9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x43faa5
xor bl, bl
jmp 0x43faa7
mov bl, 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xec], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43facd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x440113
mov eax, dword [esp + 0xf8]
test eax, eax
mov edi, dword [esi + 8]
jne 0x43fc84
push 0x484928
lea ecx, [esp + 0x18]
call fcn.00405920
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xf0], 8
call fcn.0044c3f0
mov bl, 0xa
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], bl
call fcn.00413d20
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, esi
call fcn.00416bc0
lea ecx, [esp + 0x20]
push ecx
call fcn.0043de00
add esp, 8
mov ebp, eax
push str.name
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 0xb
call fcn.00405920
push ebp
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0xc
call fcn.0044c460
lea ecx, [esp + 0x10]
call fcn.00413d20
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], bl
call fcn.00413d20
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, esi
call fcn.00416bf0
lea eax, [esp + 0x14]
push eax
call fcn.0043de00
add esp, 8
mov esi, eax
push str.value
lea ecx, [esp + 0x20]
mov byte [esp + 0xf0], 0xd
call fcn.00405920
push esi
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0xe
call fcn.0044c460
lea ecx, [esp + 0x1c]
call fcn.00413d20
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.00413d20
cmp edi, 1
je 0x43fc51
test edi, edi
je 0x43fc51
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0043d6b0
lea edx, [esp + 0x14]
push edx
call fcn.0043de00
add esp, 8
mov esi, eax
push str.type
lea ecx, [esp + 0x20]
mov byte [esp + 0xf0], 0xf
call fcn.00405920
push esi
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0x10
call fcn.0044c460
lea ecx, [esp + 0x1c]
call fcn.00413d20
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.00413d20
mov eax, dword [esp + 0xf4]
push 1
push 1
push 1
push eax
lea ecx, [esp + 0x9c]
call fcn.0044c710
lea ecx, [esp + 0x8c]
mov byte [esp + 0xec], 3
call fcn.00410870
jmp 0x440113
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esi
call fcn.00416bf0
lea edx, [esp + 0x18]
push edx
call fcn.0043de00
add esp, 8
push eax
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, esi
mov byte [esp + 0xf8], 0x11
call fcn.00416bc0
lea ecx, [esp + 0x24]
push ecx
call fcn.0043de00
add esp, 8
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xf4], 0x12
call fcn.0044c460
lea ecx, [esp + 0x1c]
call fcn.00413d20
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 3
call fcn.00413d20
jmp 0x440113
lea ecx, [esp + 0xbc]
call fcn.004660f0
lea edx, [esp + 0xbc]
push edx
push edi
mov ecx, ebp
mov byte [esp + 0xf4], 0x13
call fcn.0043dfd0
mov eax, dword [esp + 0xc4]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
jle 0x4400ff
mov eax, dword [esp + 0xc0]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4400ee
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00416bc0
mov eax, dword [eax]
push str._Default_
push eax
mov byte [esp + 0xf4], 0x14
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x43fdb1
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00416bf0
mov eax, dword [eax]
push str._value_not_set_
push eax
call fcn.004578d3
mov edi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fda9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x43fdb1
xor bl, bl
jmp 0x43fdb3
mov bl, 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xec], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fdd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4400a8
mov eax, dword [esp + 0xf8]
test eax, eax
mov ebx, dword [esi + 8]
jne 0x440009
push 0x484928
lea ecx, [esp + 0x58]
call fcn.00405920
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xf0], 0x15
call fcn.0044c3f0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0xec], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fe3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, esi
call fcn.00416bc0
lea ecx, [esp + 0x60]
push ecx
call fcn.0043de00
add esp, 8
mov edi, eax
push str.name
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf0], 0x18
call fcn.00405920
push edi
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0x19
call fcn.0044c460
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0xec], 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43feac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0xec], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fed2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, esi
call fcn.00416bf0
lea ecx, [esp + 0x3c]
push ecx
call fcn.0043de00
add esp, 8
mov edi, eax
push str.value
lea ecx, [esp + 0x44]
mov byte [esp + 0xf0], 0x1a
call fcn.00405920
push edi
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0x1b
call fcn.0044c460
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0xec], 0x1a
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ff42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0xec], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ff68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp ebx, 1
je 0x43ffd6
test ebx, ebx
je 0x43ffd6
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push ebx
push eax
mov ecx, ebp
call fcn.0043d6b0
lea ecx, [esp + 0x54]
push ecx
call fcn.0043de00
add esp, 8
mov edi, eax
push str.type
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf0], 0x1c
call fcn.00405920
push edi
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0x1d
call fcn.0044c460
lea ecx, [esp + 0x58]
call fcn.00413d20
lea ecx, [esp + 0x50]
mov byte [esp + 0xec], 0x17
call fcn.00413d20
mov edx, dword [esp + 0xf4]
push 1
push 1
push 1
push edx
lea ecx, [esp + 0x9c]
call fcn.0044c710
lea ecx, [esp + 0x8c]
mov byte [esp + 0xec], 0x13
call fcn.00410870
jmp 0x4400a8
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, esi
call fcn.00416bf0
lea ecx, [esp + 0x50]
push ecx
call fcn.0043de00
add esp, 8
push eax
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push edx
mov ecx, esi
mov byte [esp + 0xf8], 0x1e
call fcn.00416bc0
lea eax, [esp + 0x44]
push eax
call fcn.0043de00
add esp, 8
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xf4], 0x1f
call fcn.0044c460
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0xec], 0x1e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440082
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0xec], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4400a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4400c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4400e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.0046b3f3
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x18]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x43fd33
lea ecx, [esp + 0xbc]
mov byte [esp + 0xec], 3
call fcn.00466107
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x44015e
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x44015e
mov eax, dword [esp + 0x28]
test eax, eax
push 1
push 1
push 1
jbe 0x44014d
mov ecx, dword [esp + 0x100]
push ecx
lea ecx, [esp + 0x70]
call fcn.0044c530
jmp 0x44015e
mov edx, dword [esp + 0x100]
push edx
lea ecx, [esp + 0x70]
call fcn.0044c710
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
lea esp, [esp]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0x104]
push 0
push 0
push 0
inc eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push eax
push edi
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x440205
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x440205
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x104]
push ecx
push eax
call ebp
test eax, eax
jne 0x440205
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push eax
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00405920
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x100]
push eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.0043f7d0
test eax, eax
je 0x44024b
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
test esi, esi
je 0x440170
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4402a7
mov eax, dword [esp + 0xf8]
test eax, eax
mov eax, dword [esp + 0x28]
jne 0x44028c
test eax, eax
ja 0x44023b
mov eax, dword [esp + 0x30]
test eax, eax
jbe 0x4402a7
mov ecx, dword [esp + 0xf4]
push 1
push 1
push 0xffffffffffffffff
push ecx
jmp 0x44029e
lea ecx, [esp + 0x60]
mov byte [esp + 0xec], 0
call fcn.00410870
mov eax, dword [esp + 0xfc]
add eax, 0xfffffff0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440288
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x4402f6
test eax, eax
jbe 0x4402a7
mov edx, dword [esp + 0xf4]
push 1
push 1
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x70]
call fcn.0044cad0
mov eax, dword [esp + 0x24]
push eax
call fcn.0046b3f3
add esp, 4
lea ecx, [esp + 0x60]
mov byte [esp + 0xec], 0
call fcn.00410870
mov eax, dword [esp + 0xfc]
add eax, 0xfffffff0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4402f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret 0x14