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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45ae18
push eax
mov eax, 0x21b8
mov dword fs:[0], esp
call fcn.004581d0
push ebx
push ebp
mov ebp, dword [esp + 0x21d4]
push esi
mov esi, dword [esp + 0x21d4]
xor ebx, ebx
mov dword [esp + 0x54], ecx
push edi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov eax, dword [ebp]
mov dword [esp + 0x10], ebx
cmp dword [eax - 8], ebx
je 0x42d720
mov edi, dword [esp + 0x21e0]
mov eax, dword [edi]
cmp dword [eax - 8], ebx
je 0x42d720
mov ecx, dword [esp + 0x21e8]
mov edx, dword [ecx]
cmp dword [edx - 8], ebx
je 0x42d720
mov ecx, dword [esp + 0x21ec]
mov edx, dword [ecx]
cmp dword [edx - 8], ebx
je 0x42d720
mov cl, byte [esp + 0x4f]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push 0x5c
push eax
mov dword [esp + 0x21d8], ebx
call dword [0x45d2e0]
add esp, 8
cmp eax, ebx
je 0x42ce00
sub eax, dword [edi]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ce05
mov esi, dword [esp + 0x21d8]
mov esi, dword [esi + 0xc]
jmp 0x42ce7b
mov edx, dword [esp + 0x21f0]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x469dac
call fcn.0042a1f0
push ecx
mov ecx, edi
mov eax, esp
mov dword [esp + 0x5c], esp
push esi
push eax
mov byte [esp + 0x21e4], 1
call fcn.00419850
mov ecx, ebp
mov byte [esp + 0x21dc], 0
call fcn.00405940
push eax
lea ecx, [esp + 0x44]
call fcn.00428560
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x21d0], 2
cmp ecx, ebx
jne 0x42cead
mov ecx, dword [esp + 0x21d8]
mov esi, dword [ecx + 0xc]
lea ecx, [esp + 0x3c]
call fcn.00401c80
lea ecx, [esp + 0x38]
call fcn.00401c80
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x21d8], 0xffffffff
call fcn.00430520
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0044c87a
add esp, 4
mov eax, esi
jmp 0x42d722
mov edx, dword [esp + 0x21d8]
mov eax, dword [esp + 0x3c]
mov esi, 1
mov dword [esp + 0x18], ebx
mov dword [edx + 0xc], esi
mov eax, dword [eax - 8]
cmp eax, ebx
jne 0x42cf97
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x18]
or al, 8
push edx
mov edx, dword [esp + 0x3c]
push eax
push ebx
push edx
push ecx
mov dword [esp + 0x24], 0x1000
call dword [0x45d014]
test eax, eax
jne 0x42d0db
mov edx, dword [esp + 0x18]
mov ebp, dword [0x45d00c]
push ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x1d8]
push eax
push ecx
push ebx
push edx
xor esi, esi
call ebp
test eax, eax
jne 0x42cf87
mov bl, 3
lea eax, [esp + 0x1c8]
lea ecx, [esp + 0x14]
push eax
call fcn.004171e0
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x21d8], bl
call fcn.00430390
lea ecx, [esp + 0x14]
mov byte [esp + 0x21d0], 2
call fcn.00401c80
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push 0
lea ecx, [esp + 0x1d8]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], 0x1000
call ebp
test eax, eax
je 0x42cf1f
xor ebx, ebx
mov eax, dword [esp + 0x18]
push eax
call dword [0x45d01c]
jmp 0x42d0db
mov edx, dword [esp + 0x38]
cmp dword [edx - 8], ebx
je 0x42cfde
lea eax, [esp + 0x38]
push 0x464650
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0042cba0
mov dword [esp + 0x10], esi
lea edx, [esp + 0x3c]
mov byte [esp + 0x21d0], 4
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0042ca00
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], 3
jmp 0x42cfe2
lea eax, [esp + 0x3c]
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x44]
or edx, esi
push edx
push ebx
push eax
push ecx
call dword [0x45d014]
test eax, eax
mov al, byte [esp + 0x10]
sete bl
test al, 2
je 0x42d019
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
and al, 0xfd
mov dword [esp + 0x10], eax
call fcn.00401c80
mov al, byte [esp + 0x10]
mov dword [esp + 0x21d0], 2
test al, 1
je 0x42d035
lea ecx, [esp + 0x14]
call fcn.00401c80
test bl, bl
je 0x42d0d9
mov edx, dword [esp + 0x18]
xor esi, esi
mov ebp, dword [0x45d010]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x1d8]
push eax
push ecx
mov ebx, 0x1000
push esi
push edx
mov dword [esp + 0x30], ebx
call ebp
test eax, eax
jne 0x42d0ce
lea eax, [esp + 0x1c8]
lea ecx, [esp + 0x14]
push eax
call fcn.004171e0
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x21d8], 5
call fcn.00430390
lea ecx, [esp + 0x14]
mov byte [esp + 0x21d0], 2
call fcn.00401c80
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push 0
lea ecx, [esp + 0x1d8]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], ebx
call ebp
test eax, eax
je 0x42d06b
mov eax, dword [esp + 0x18]
push eax
call dword [0x45d01c]
xor ebx, ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x42d0f1
mov ecx, dword [esp + 0x2c]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x42d13f
mov edx, dword [esp + 0x21d8]
lea ecx, [esp + 0x3c]
mov esi, dword [edx + 0xc]
call fcn.00401c80
lea ecx, [esp + 0x38]
call fcn.00401c80
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x21d8], 0xffffffff
call fcn.00430520
mov edx, dword [esp + 0x28]
push edx
call fcn.0044c87a
add esp, 4
mov eax, esi
jmp 0x42d722
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jl 0x42d156
mov dword [esp + 0x1c], eax
add eax, 0xfffffff4
push eax
call dword [0x45d1b4]
jmp 0x42d16a
mov ecx, dword [0x4641a0]
push eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
call fcn.00405430
mov edx, 0x46812c
mov byte [esp + 0x21d0], 6
test edx, edx
je 0x42d35e
mov esi, dword [0x45d1cc]
push edx
call esi
mov ebp, eax
cmp ebp, ebx
je 0x42d35e
mov eax, 0x468124
test eax, eax
jne 0x42d1a1
mov dword [esp + 0x10], ebx
jmp 0x42d1ac
push 0x468124
call esi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x14], eax
jae 0x42d357
mov ebx, dword [0x45d2e8]
push 0x46812c
push esi
call ebx
add esp, 8
test eax, eax
je 0x42d1ec
lea esi, [eax + ebp*2]
push 0x46812c
push esi
inc edi
call ebx
add esp, 8
test eax, eax
jne 0x42d1d9
push esi
call dword [0x45d1cc]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x14]
cmp esi, eax
jb 0x42d1c4
test edi, edi
jle 0x42d357
lea ecx, [esp + 0x1c]
call fcn.00408830
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
sub ebx, ebp
imul ebx, edi
mov ecx, dword [eax - 8]
mov dword [esp + 0x18], ecx
add ebx, ecx
mov ecx, dword [eax - 4]
mov dword [esp + 0x44], ebx
cmp ecx, ebx
jl 0x42d237
cmp dword [eax - 0xc], 1
jle 0x42d271
push ebx
lea ecx, [esp + 0x20]
lea esi, [eax - 0xc]
mov edi, eax
call fcn.00404720
test eax, eax
je 0x42d357
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
shl edx, 1
push edx
lea eax, [ebx + ebx + 2]
push edi
push eax
push ecx
call fcn.00401bc0
add esp, 0x10
push esi
call fcn.00405ba0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax - 8]
mov edi, eax
lea ecx, [eax + edx*2]
cmp eax, ecx
mov dword [esp + 0x14], ecx
jae 0x42d354
push 0x46812c
push edi
call dword [0x45d2e8]
mov esi, eax
add esp, 8
test esi, esi
je 0x42d339
mov eax, dword [esp + 0x10]
mov ecx, eax
neg ecx
shl ecx, 0x1f
sub ecx, eax
inc ecx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, esi
mov edi, dword [edx - 4]
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
sub edi, eax
sub ecx, ebp
lea eax, [edx + edx]
mov edx, dword [esp + 0x20]
add eax, esi
lea ebx, [ecx + ecx]
add edx, edi
lea ecx, [esi + ebp*2]
push ebx
shl edx, 1
push ecx
push edx
push eax
mov dword [esp + 0x58], eax
call fcn.00409c60
mov eax, dword [esp + 0x20]
lea ecx, [edi + edi + 2]
add eax, eax
push eax
push 0x468124
push ecx
push esi
call fcn.00401bc0
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
sub edx, ebp
push 0x46812c
mov word [ebx + edi], 0
mov ebx, dword [esp + 0x3c]
add ebx, edx
push edi
mov dword [esp + 0x40], ebx
call dword [0x45d2e8]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x42d2b0
mov ebx, dword [esp + 0x44]
push edi
call dword [0x45d1cc]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x14]
cmp edi, eax
jb 0x42d285
mov eax, dword [esp + 0x1c]
mov dword [eax - 8], ebx
mov edi, dword [esp + 0x21e0]
push 0x46811c
push 0x468114
lea ecx, [esp + 0x24]
call fcn.00423730
push 0x46810c
push 0x464650
lea ecx, [esp + 0x24]
call fcn.00423730
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x9c]
call fcn.00434220
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x21d4], 7
call fcn.00434190
mov eax, dword [eax + 8]
push 8
push eax
push esi
lea ecx, [esp + 0xa8]
mov byte [esp + 0x21dc], 8
call fcn.00434360
mov dword [esp + 0x80], 0x45da18
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov esi, eax
cmp eax, ecx
mov byte [esp + 0x21d0], 9
mov dword [esp + 0x20], esi
je 0x42d6d8
mov ebp, dword [esp + 0x21f4]
mov bl, 0xd
lea eax, [esp + 0x38]
push 0x464650
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0042cba0
push esi
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x21dc], 0xa
call fcn.0042ca00
mov eax, dword [esp + 0x18]
mov edx, dword [0x4641a4]
mov byte [esp + 0x21d0], 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42d455
add eax, 0xfffffff4
push eax
call dword [0x45d1b0]
test eax, eax
jg 0x42d455
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.0044c87a
add esp, 4
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.00433400
push 0
push 0
lea ecx, [esp + 0x74]
mov byte [esp + 0x21d8], bl
call fcn.00434170
test eax, eax
jne 0x42d4ac
lea ecx, [esp + 0x6c]
mov byte [esp + 0x21d0], 0xc
call fcn.00433010
lea ecx, [esp + 0x10]
mov byte [esp + 0x21d0], 9
call fcn.00401c80
jmp 0x42d6c5
lea edx, [esp + 0x44]
lea eax, [esp + 0x1c8]
push edx
mov edx, dword [esp + 0x21f4]
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x21ec]
push ecx
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
mov dword [esp + 0x5c], 0x1000
call fcn.0040c550
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
mov byte [esp + 0x21ec], 0xe
call fcn.0040c550
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xa4]
push eax
mov byte [esp + 0x21ec], bl
call fcn.00421240
push eax
call fcn.00428730
add esp, 0x10
lea ecx, [esp + 0x8c]
mov esi, eax
call fcn.00428870
test esi, esi
je 0x42d69f
mov eax, dword [esp + 0x48]
cmp eax, 1
je 0x42d5fc
cmp eax, 2
je 0x42d5fc
cmp eax, 4
jne 0x42d69f
push 0x8e
lea ecx, [esp + 0x60]
call fcn.004171e0
mov ecx, dword [esp + 0x1c8]
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x21e4]
push ecx
mov byte [esp + 0x21dc], 0x11
mov ecx, dword [edx]
lea edx, [esp + 0x6c]
push ecx
push eax
push edx
call fcn.00421b40
add esp, 0x18
push eax
mov ecx, ebp
mov byte [esp + 0x21d4], 0x12
call fcn.00409d60
lea ecx, [esp + 0x60]
call fcn.00401c80
lea ecx, [esp + 0x5c]
mov byte [esp + 0x21d0], bl
call fcn.00401c80
mov eax, dword [esp + 0x21ec]
mov edx, dword [esp + 0x21e8]
lea ecx, [esp + 0x14]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [0x45d320]
mov ecx, dword [esp + 0x64]
add esp, 4
push eax
mov eax, dword [esp + 0x1d4]
push eax
call fcn.0042e1f0
test eax, eax
je 0x42d69f
jmp 0x42d691
push 0x8d
lea ecx, [esp + 0x58]
call fcn.004171e0
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x21d0], 0xf
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x21e4]
push ecx
mov ecx, dword [edx]
lea edx, [esp + 0x5c]
push ecx
push eax
push edx
call fcn.00421b40
add esp, 0x18
push eax
mov ecx, ebp
mov byte [esp + 0x21d4], 0x10
call fcn.00409d60
lea ecx, [esp + 0x50]
call fcn.00401c80
lea ecx, [esp + 0x54]
mov byte [esp + 0x21d0], bl
call fcn.00401c80
mov eax, dword [esp + 0x21ec]
mov edx, dword [esp + 0x21e8]
lea ecx, [esp + 0x14]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
lea eax, [esp + 0x1d4]
push eax
call fcn.0042e320
test eax, eax
je 0x42d69f
mov edx, dword [esp + 0x21d8]
mov ecx, dword [esp + 0x14]
mov dword [edx + 8], ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x21d0], 0xc
call fcn.00433010
lea ecx, [esp + 0x10]
mov byte [esp + 0x21d0], 9
call fcn.00401c80
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
add esi, 4
cmp esi, eax
mov dword [esp + 0x20], esi
jne 0x42d3f6
mov eax, dword [esp + 0x21d8]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x21d0], 6
mov esi, dword [eax + 0xc]
call fcn.00433140
lea ecx, [esp + 0x1c]
call fcn.00401c80
lea ecx, [esp + 0x34]
call fcn.00428870
lea ecx, [esp + 0x24]
mov dword [esp + 0x21d0], 0xffffffff
call fcn.0040e640
mov eax, esi
jmp 0x42d722
xor eax, eax
mov ecx, dword [esp + 0x21c8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x21c4
ret 0x20