Function at 0x10003840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x100af440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x280], 0
mov eax, 2
imul eax, eax, 0xf
mov ecx, 0x6f
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x1d
mov eax, 0x68
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x15
mov edx, 0x79
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 3
mov ecx, 0x54
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0xe
mov eax, 0x73
mov word [ebp + edx - 0x68], ax
mov ecx, 2
shl ecx, 4
mov edx, 0x66
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0x1e
mov ecx, 0x79
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x11
mov eax, 0x74
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 6
mov edx, 0x52
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 7
mov ecx, 0x45
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0
mov eax, 0x53
mov word [ebp + edx - 0x68], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x46
mov word [ebp + ecx - 0x68], dx
mov eax, 2
shl eax, 2
mov ecx, 0x57
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x16
mov eax, 0x70
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x18
mov edx, 0x6f
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0x1c
mov ecx, 0x70
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x1f
mov dword [ebp - 0x284], edx
cmp dword [ebp - 0x284], 0x40
jae 0x100039ad
jmp 0x100039b2
call fcn.10063ae1
xor eax, eax
mov ecx, dword [ebp - 0x284]
mov word [ebp + ecx - 0x68], ax
mov edx, 2
imul edx, edx, 0x19
mov eax, 0x67
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x14
mov edx, 0x72
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 5
mov ecx, 0x41
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 9
mov eax, 0x4d
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x12
mov edx, 0x5c
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0xd
mov ecx, 0x6f
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x13
mov eax, 0x43
mov word [ebp + edx - 0x68], ax
mov ecx, 2
shl ecx, 3
mov edx, 0x5c
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0xb
mov ecx, 0x63
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0xc
mov eax, 0x72
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x1a
mov edx, 0x72
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0x17
mov ecx, 0x74
mov word [ebp + eax - 0x68], cx
mov edx, 2
shl edx, 0
mov eax, 0x4f
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0xa
mov edx, 0x69
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0x1b
mov ecx, 0x61
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 5
mov eax, 0x6e
mov word [ebp + edx - 0x28], ax
mov ecx, 2
shl ecx, 0
mov edx, 0x61
mov word [ebp + ecx - 0x28], dx
mov eax, 2
imul eax, eax, 0
mov ecx, 0x4d
mov word [ebp + eax - 0x28], cx
mov edx, 2
shl edx, 1
mov eax, 0x63
mov word [ebp + edx - 0x28], ax
mov ecx, 2
imul ecx, ecx, 0xb
mov dword [ebp - 0x288], ecx
cmp dword [ebp - 0x288], 0x18
jae 0x10003b2d
jmp 0x10003b32
call fcn.10063ae1
xor edx, edx
mov eax, dword [ebp - 0x288]
mov word [ebp + eax - 0x28], dx
mov ecx, 2
imul ecx, ecx, 0xa
mov edx, 0x64
mov word [ebp + ecx - 0x28], dx
mov eax, 2
shl eax, 3
mov ecx, 0x75
mov word [ebp + eax - 0x28], cx
mov edx, 2
imul edx, edx, 3
mov eax, 0x68
mov word [ebp + edx - 0x28], ax
mov ecx, 2
imul ecx, ecx, 6
mov edx, 0x65
mov word [ebp + ecx - 0x28], dx
mov eax, 2
imul eax, eax, 7
mov ecx, 0x47
mov word [ebp + eax - 0x28], cx
mov edx, 2
imul edx, edx, 9
mov eax, 0x69
mov word [ebp + edx - 0x28], ax
mov ecx, 2
shl ecx, 2
mov edx, 0x69
mov word [ebp + ecx - 0x28], dx
push 0x100af3a0
lea ecx, [ebp - 0x278]
call fcn.1000ecc0
mov dword [ebp - 4], 0
mov byte [ebp - 0x268], 0
push 0x1ff
push 0
lea eax, [ebp - 0x267]
push eax
call fcn.10064860
add esp, 0xc
mov dword [ebp - 0x290], 0x200
mov byte [ebp - 0x269], 0
lea ecx, [ebp - 0x274]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x68]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003d57
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x2a8]
push edx
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003c5c
mov byte [ebp - 0x269], 1
jmp 0x10003cb0
lea edx, [ebp - 0x274]
push edx
push 0x20119
push 0
lea eax, [ebp - 0x68]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003cb0
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x2a8]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x274]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003cb0
mov byte [ebp - 0x269], 1
movzx eax, byte [ebp - 0x269]
test eax, eax
je 0x10003d57
lea ecx, [ebp - 0x268]
test ecx, ecx
jne 0x10003cd5
mov dword [ebp - 0x28c], 0
jmp 0x10003d31
lea edx, [ebp - 0x268]
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
add eax, 2
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x270]
mov dx, word [ecx]
mov word [ebp - 0x27a], dx
add dword [ebp - 0x270], 2
cmp word [ebp - 0x27a], 0
jne 0x10003cf0
mov eax, dword [ebp - 0x270]
sub eax, dword [ebp - 0x298]
sar eax, 1
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x28c]
push edx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x278]
call fcn.10012a90
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x278]
sub edx, 0x10
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x294]
push eax
call fcn.10011200
add esp, 4
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x280]
or eax, 1
mov dword [ebp - 0x280], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x278]
sub ecx, 0x10
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [ebp - 0x2a4]
call fcn.100026e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061e3f
mov esp, ebp
pop ebp
ret