Function at 0x407650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
mov byte [ebp - 0x9d], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x9c], eax
mov eax, 0x4f90d4
call fcn.004e1300
mov dword [ebp - 0x7c], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.004f419c
inc dword [ebp - 0x7c]
mov word [ebp - 0x88], 8
mov word [ebp - 0x88], 0x14
xor edx, edx
mov dword [ebp - 8], edx
inc dword [ebp - 0x7c]
mov word [ebp - 0x88], 8
mov word [ebp - 0x88], 0x20
mov edx, 0x4f69f0
lea eax, [ebp - 0xc]
call fcn.004f4164
inc dword [ebp - 0x7c]
mov word [ebp - 0x88], 8
mov word [ebp - 0x88], 0x2c
xor ecx, ecx
mov dword [ebp - 0x10], ecx
inc dword [ebp - 0x7c]
mov word [ebp - 0x88], 8
lea eax, [ebp - 0xa4]
push eax
push 0
lea edx, [ebp - 0xa8]
push edx
push 0
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x407705
mov eax, dword [ebp - 4]
jmp 0x40770a
mov eax, 0x4f69f2
push eax
mov edx, dword [ebp - 0x9c]
mov ecx, dword [edx + 0x408]
push dword [ecx + 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4077c7
mov word [ebp - 0x88], 0x38
mov edx, 0x4f69f3
lea eax, [ebp - 0x14]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004f4338
mov eax, dword [ebp + 8]
mov word [ebp - 0x88], 0x44
push eax
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004f4308
pop eax
mov word [ebp - 0x88], 0x38
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x98]
mov dword fs:[0], edx
jmp 0x407e4d
mov ecx, dword [ebp - 0xa8]
cmp ecx, 1
jne 0x407842
mov word [ebp - 0x88], 0x50
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x408]
call fcn.0047c70c
lea edx, [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
inc dword [ebp - 0x7c]
mov eax, 0x4f69f4
call fcn.004f486c
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x10]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004f4308
jmp 0x407d57
mov ecx, dword [ebp - 0xa8]
cmp ecx, 2
jne 0x4078bd
mov word [ebp - 0x88], 0x5c
xor eax, eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x408]
call fcn.0047c70c
lea edx, [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
inc dword [ebp - 0x7c]
mov eax, 0x4f69fa
call fcn.004f486c
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x10]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004f4308
jmp 0x407d57
mov ecx, dword [ebp - 0xa8]
cmp ecx, 4
jne 0x407939
mov word [ebp - 0x88], 0x68
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x408]
call fcn.0047c784
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.004f4280
mov edx, eax
inc dword [ebp - 0x7c]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x7c]
mov eax, 0x4f6a00
call fcn.004f486c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x10]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004f4308
jmp 0x407d57
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xfde8
jae 0x407a61
mov eax, dword [ebp - 0xa4]
cmp eax, 1
jae 0x40798f
mov word [ebp - 0x88], 0x74
mov edx, str.No_Data.
lea eax, [ebp - 0x30]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004f4308
jmp 0x407a95
push dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x9c]
add ecx, 0x6464b
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x408]
call fcn.0047c7b4
mov edx, dword [ebp - 0xa8]
cmp edx, 7
jne 0x407a12
mov word [ebp - 0x88], 0x80
xor ecx, ecx
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
push eax
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x9c]
add edx, 0x6464b
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x9c]
call fcn.0040e884
lea edx, [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004f4308
jmp 0x407a95
mov word [ebp - 0x88], 0x8c
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x38]
push eax
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x9c]
add edx, 0x6464b
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x9c]
call fcn.0040e738
lea edx, [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004f4308
jmp 0x407a95
mov word [ebp - 0x88], 0x98
mov edx, str.Data_Too_Long.
lea eax, [ebp - 0x3c]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 8]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004f4308
mov ecx, dword [ebp - 0xa8]
cmp ecx, 7
jne 0x407ad9
mov word [ebp - 0x88], 0xa4
mov edx, str.MIBLQRFC
lea eax, [ebp - 0x40]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0xc]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004f4308
jmp 0x407cad
mov ecx, dword [ebp - 0xa8]
cmp ecx, 5
jne 0x407b1d
mov word [ebp - 0x88], 0xb0
mov edx, 0x4f6a20
lea eax, [ebp - 0x44]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0xc]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004f4308
jmp 0x407cad
mov ecx, dword [ebp - 0xa8]
cmp ecx, 3
jne 0x407b61
mov word [ebp - 0x88], 0xbc
mov edx, 0x4f6a22
lea eax, [ebp - 0x48]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x48]
lea eax, [ebp - 0xc]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004f4308
jmp 0x407cad
mov ecx, dword [ebp - 0xa8]
cmp ecx, 6
jne 0x407ba5
mov word [ebp - 0x88], 0xc8
mov edx, 0x4f6a24
lea eax, [ebp - 0x4c]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0xc]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004f4308
jmp 0x407cad
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0xb
jne 0x407be9
mov word [ebp - 0x88], 0xd4
mov edx, 0x4f6a26
lea eax, [ebp - 0x50]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x50]
lea eax, [ebp - 0xc]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004f4308
jmp 0x407cad
mov ecx, dword [ebp - 0xa8]
cmp ecx, 8
jne 0x407c2d
mov word [ebp - 0x88], 0xe0
mov edx, 0x4f6a28
lea eax, [ebp - 0x54]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x54]
lea eax, [ebp - 0xc]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004f4308
jmp 0x407cad
mov ecx, dword [ebp - 0xa8]
cmp ecx, 9
jne 0x407c6e
mov word [ebp - 0x88], 0xec
mov edx, 0x4f6a2a
lea eax, [ebp - 0x58]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x58]
lea eax, [ebp - 0xc]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004f4308
jmp 0x407cad
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0xa
jne 0x407cad
mov word [ebp - 0x88], 0xf8
mov edx, 0x4f6a2c
lea eax, [ebp - 0x5c]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0xc]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004f4308
mov word [ebp - 0x88], 0x104
xor ecx, ecx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x60]
inc dword [ebp - 0x7c]
lea edx, [ebp - 0xc]
mov eax, 0x4f6a2e
call fcn.004f486c
lea eax, [ebp - 0x60]
push eax
mov edx, 0x4f6a31
lea eax, [ebp - 0x64]
call fcn.004f4164
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x64]
xor ecx, ecx
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x68]
inc dword [ebp - 0x7c]
pop eax
call fcn.004f4360
lea eax, [ebp - 0x68]
xor edx, edx
mov dword [ebp - 0x6c], edx
lea ecx, [ebp - 0x6c]
inc dword [ebp - 0x7c]
lea edx, [ebp - 8]
call fcn.004f4360
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x10]
call fcn.004f4338
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004f4308
mov cl, byte [ebp - 0x9d]
test cl, cl
je 0x407dac
mov word [ebp - 0x88], 0x110
xor eax, eax
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x70]
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004f4360
lea edx, [ebp - 0x70]
mov edx, dword [edx]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x61e98]
mov ebx, dword [eax]
call dword [ebx + 0x38]
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004f4308
mov word [ebp - 0x88], 0x11c
xor ecx, ecx
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x74]
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004f4360
lea edx, [ebp - 0x74]
mov eax, dword [ebp + 8]
call fcn.004f4338
mov eax, dword [ebp + 8]
mov word [ebp - 0x88], 0x128
push eax
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x7c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004f4308
pop eax
mov word [ebp - 0x88], 0x11c
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x98]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret 4