Function at 0x42d740
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45aee7
push eax
mov eax, 0x2190
mov dword fs:[0], esp
call fcn.004581d0
push ebx
push ebp
mov ebp, dword [esp + 0x21ac]
push esi
mov esi, dword [esp + 0x21ac]
push edi
xor edi, edi
xor ebx, ebx
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov eax, dword [ebp]
mov dword [esp + 0x1c], ebx
cmp dword [eax - 8], edi
je 0x42df8f
mov ecx, dword [esp + 0x21b8]
mov eax, dword [ecx]
cmp dword [eax - 8], edi
je 0x42df8f
mov dl, byte [esp + 0x23]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x28], dl
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
push 0x5c
push eax
mov dword [esp + 0x21b0], edi
call dword [0x45d2e0]
add esp, 8
cmp eax, edi
je 0x42d7e1
mov ecx, dword [esp + 0x21b8]
sub eax, dword [ecx]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d7e6
mov esi, dword [esp + 0x21b0]
mov esi, dword [esi + 0xc]
jmp 0x42d861
mov edx, dword [esp + 0x21bc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x469dac
call fcn.0042a1f0
push ecx
mov ecx, dword [esp + 0x21c4]
mov eax, esp
mov dword [esp + 0x44], esp
push esi
push eax
mov byte [esp + 0x21bc], 1
call fcn.00419850
mov ecx, ebp
mov byte [esp + 0x21b4], 0
call fcn.00405940
push eax
lea ecx, [esp + 0x50]
call fcn.00428560
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x21a8], 2
cmp ecx, edi
jne 0x42d893
mov ecx, dword [esp + 0x21b0]
mov esi, dword [ecx + 0xc]
lea ecx, [esp + 0x48]
call fcn.00401c80
lea ecx, [esp + 0x44]
call fcn.00401c80
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x21b0], 0xffffffff
call fcn.00430520
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044c87a
add esp, 4
mov eax, esi
jmp 0x42df91
mov edx, dword [esp + 0x21b0]
mov eax, dword [esp + 0x48]
mov esi, 1
mov dword [esp + 0x10], edi
mov dword [edx + 0xc], esi
mov eax, dword [eax - 8]
cmp eax, edi
jne 0x42d96c
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x10]
or al, 8
push edx
mov edx, dword [esp + 0x48]
push eax
push edi
mov ebx, 0x1000
push edx
push ecx
mov dword [esp + 0x2c], ebx
call dword [0x45d014]
test eax, eax
jne 0x42daa0
mov edx, dword [esp + 0x10]
mov ebp, dword [0x45d00c]
push edi
push edi
push edi
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x1b0]
push eax
push ecx
push edi
push edx
xor esi, esi
call ebp
test eax, eax
jne 0x42da95
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x1c]
push eax
call fcn.004171e0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x21b0], 3
call fcn.00430390
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21a8], 2
call fcn.00401c80
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x1b0]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x38], ebx
call ebp
test eax, eax
je 0x42d908
jmp 0x42da95
mov edx, dword [esp + 0x44]
cmp dword [edx - 8], edi
je 0x42d9b0
lea eax, [esp + 0x44]
push 0x464650
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0042cba0
mov dword [esp + 0x1c], esi
lea edx, [esp + 0x48]
mov byte [esp + 0x21a8], 4
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042ca00
mov ecx, dword [esp + 0x40]
mov ebx, 3
jmp 0x42d9b4
lea eax, [esp + 0x48]
mov eax, dword [eax]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x50]
or edx, esi
push edx
push edi
push eax
push ecx
call dword [0x45d014]
test eax, eax
sete byte [esp + 0x23]
test bl, 2
je 0x42d9e3
lea ecx, [esp + 0x18]
and ebx, 0xfffffffd
call fcn.00401c80
test bl, 1
mov dword [esp + 0x21a8], 2
je 0x42d9fc
lea ecx, [esp + 0x24]
call fcn.00401c80
mov al, byte [esp + 0x23]
test al, al
je 0x42daa0
mov edx, dword [esp + 0x10]
mov ebp, dword [0x45d010]
push edi
push edi
push edi
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x1b0]
push eax
push ecx
mov ebx, 0x1000
push edi
push edx
mov dword [esp + 0x38], ebx
xor esi, esi
call ebp
test eax, eax
jne 0x42da95
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x1c]
push eax
call fcn.004171e0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x21b0], 5
call fcn.00430390
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21a8], 2
call fcn.00401c80
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x1b0]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x38], ebx
call ebp
test eax, eax
je 0x42da36
mov eax, dword [esp + 0x10]
push eax
call dword [0x45d01c]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x42dab6
mov ecx, dword [esp + 0x30]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x42db04
mov edx, dword [esp + 0x21b0]
lea ecx, [esp + 0x48]
mov esi, dword [edx + 0xc]
call fcn.00401c80
lea ecx, [esp + 0x44]
call fcn.00401c80
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x21b0], 0xffffffff
call fcn.00430520
mov edx, dword [esp + 0x2c]
push edx
call fcn.0044c87a
add esp, 4
mov eax, esi
jmp 0x42df91
mov eax, dword [esp + 0x21b8]
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
jl 0x42db22
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [0x45d1b4]
jmp 0x42db36
mov ecx, dword [0x4641a0]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.00405430
mov edx, 0x46812c
mov byte [esp + 0x21a8], 6
test edx, edx
je 0x42dd23
mov esi, dword [0x45d1cc]
push edx
call esi
mov ebp, eax
cmp ebp, edi
je 0x42dd23
mov eax, 0x468124
test eax, eax
jne 0x42db6d
mov dword [esp + 0x10], edi
jmp 0x42db78
push 0x468124
call esi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x1c], eax
jae 0x42dd23
mov ebx, dword [0x45d2e8]
push 0x46812c
push esi
call ebx
add esp, 8
test eax, eax
je 0x42dbb6
lea esi, [eax + ebp*2]
push 0x46812c
push esi
inc edi
call ebx
add esp, 8
test eax, eax
jne 0x42dba3
push esi
call dword [0x45d1cc]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x42db8e
test edi, edi
jle 0x42dd21
lea ecx, [esp + 0x14]
call fcn.00408830
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
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 + 0x3c], ebx
cmp ecx, ebx
jl 0x42dc01
cmp dword [eax - 0xc], 1
jle 0x42dc3b
push ebx
lea ecx, [esp + 0x18]
lea esi, [eax - 0xc]
mov edi, eax
call fcn.00404720
test eax, eax
je 0x42dd21
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
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 + 0x14]
mov edx, dword [eax - 8]
mov edi, eax
lea ecx, [eax + edx*2]
cmp eax, ecx
mov dword [esp + 0x1c], ecx
jae 0x42dd1e
push 0x46812c
push edi
call dword [0x45d2e8]
mov esi, eax
add esp, 8
test esi, esi
je 0x42dd03
mov eax, dword [esp + 0x10]
mov ecx, eax
neg ecx
shl ecx, 0x1f
sub ecx, eax
inc ecx
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x14]
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 + 0x24]
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 + 0x48], 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 + 0x58]
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 0x42dc7a
mov ebx, dword [esp + 0x3c]
push edi
call dword [0x45d1cc]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x1c]
cmp edi, eax
jb 0x42dc4f
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebx
xor edi, edi
push 0x46811c
push 0x468114
lea ecx, [esp + 0x1c]
call fcn.00423730
push 0x46810c
push 0x464650
lea ecx, [esp + 0x1c]
call fcn.00423730
mov eax, dword [esp + 0x14]
push 8
push eax
lea ecx, [esp + 0x7c]
call fcn.00433270
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp ebp, eax
mov byte [esp + 0x21a8], 7
je 0x42de78
mov bl, 0xb
lea ecx, [esp + 0x44]
push 0x464650
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.0042cba0
push ebp
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x21b0], 8
push eax
call fcn.0042ca00
lea ecx, [esp + 0x3c]
mov byte [esp + 0x21a8], 0xa
call fcn.00401c80
mov ecx, dword [esp + 0x10]
push edi
lea edx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.00433400
push edi
push edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x21b0], bl
call fcn.00434170
test eax, eax
je 0x42de47
mov eax, dword [esp + 0x21bc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x469dac
call fcn.0042a1f0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x21b8], 0xc
call fcn.0040c550
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x70]
push eax
mov byte [esp + 0x21b8], bl
call fcn.00421240
push eax
mov byte [esp + 0x21ac], 0xd
call fcn.0042dfb0
add esp, 4
lea ecx, [esp + 0x64]
mov esi, eax
mov byte [esp + 0x21a8], bl
call fcn.00428870
cmp esi, edi
jne 0x42dec3
lea ecx, [esp + 0x50]
mov byte [esp + 0x21a8], 0xa
call fcn.00433010
lea ecx, [esp + 0x10]
mov byte [esp + 0x21a8], 7
call fcn.00401c80
mov eax, dword [esp + 0x30]
add ebp, 4
cmp ebp, eax
jne 0x42dd73
mov eax, dword [esp + 0x21b0]
lea ecx, [esp + 0x74]
mov byte [esp + 0x21a8], 6
mov esi, dword [eax + 0xc]
mov dword [eax + 8], edi
call fcn.00433140
lea ecx, [esp + 0x14]
call fcn.00401c80
lea ecx, [esp + 0x40]
call fcn.00428870
lea ecx, [esp + 0x28]
mov dword [esp + 0x21a8], 0xffffffff
call fcn.0040e640
mov eax, esi
jmp 0x42df91
push 0x8f
lea ecx, [esp + 0x28]
call fcn.004171e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x21b8]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x21b8]
push ecx
mov byte [esp + 0x21b0], 0xe
mov ecx, dword [edx]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
call fcn.00421b40
add esp, 0x14
mov ecx, dword [esp + 0x21c0]
push eax
mov byte [esp + 0x21ac], 0xf
call fcn.00409d60
lea ecx, [esp + 0x38]
call fcn.00401c80
lea ecx, [esp + 0x24]
call fcn.00401c80
mov eax, dword [esp + 0x21b0]
lea ecx, [esp + 0x50]
mov byte [esp + 0x21a8], 0xa
mov esi, dword [eax + 0xc]
mov dword [eax + 8], 1
call fcn.00433010
lea ecx, [esp + 0x10]
call fcn.00401c80
lea ecx, [esp + 0x74]
mov byte [esp + 0x21a8], 6
call fcn.00433140
lea ecx, [esp + 0x14]
call fcn.00401c80
lea ecx, [esp + 0x40]
call fcn.00428870
lea ecx, [esp + 0x28]
mov dword [esp + 0x21a8], 0xffffffff
call fcn.0040e640
mov eax, esi
jmp 0x42df91
xor eax, eax
mov ecx, dword [esp + 0x21a0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x219c
ret 0x14