Function at 0x467dc3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x83c], 0xd
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x848], 0
lea eax, [ebp - 0x840]
push eax
push 0x20019
push 0
push 0x4daadc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x467f3a
mov dword [ebp - 0x848], 1
mov dword [ebp - 0x82c], 0x27
mov dword [ebp - 0x824], 0x800
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x80c]
push edx
push 0
push 0
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x870]
push ecx
mov edx, dword [ebp - 0x838]
push edx
mov eax, dword [ebp - 0x840]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x467f3a
mov ecx, dword [ebp - 0x838]
add ecx, 1
mov dword [ebp - 0x838], ecx
push 0x4daafc
lea edx, [ebp - 0x870]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x467f21
movsx eax, byte [ebp - 0x870]
movsx ecx, byte [0x4dab0c]
cmp eax, ecx
jne 0x467ed7
push 0x4dab1c
lea edx, [ebp - 0x870]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x467f21
cmp dword [ebp + 0xc], 0
je 0x467ef4
lea eax, [ebp - 0x870]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x878], eax
jmp 0x467f00
mov ecx, dword [ebp - 0x824]
mov dword [ebp - 0x878], ecx
mov edx, dword [ebp - 0x834]
add edx, dword [ebp - 0x878]
mov dword [ebp - 0x834], edx
mov eax, dword [ebp - 0x820]
add eax, 1
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x82c], 0x27
mov dword [ebp - 0x824], 0x800
jmp 0x467e49
call dword [sym.imp.MSVCRT.dll___p__environ]
mov ecx, dword [eax]
mov dword [ebp - 0x830], ecx
jmp 0x467f59
mov edx, dword [ebp - 0x830]
add edx, 4
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0x830]
cmp dword [eax], 0
je 0x46803a
push 0x5f
mov ecx, dword [ebp - 0x830]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x468035
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
movsx edx, byte [0x4dab2c]
cmp ecx, edx
jne 0x468035
mov eax, dword [ebp - 0x83c]
push eax
push 0x4dab3c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x468035
mov edx, dword [ebp - 0x830]
mov eax, dword [edx]
movsx ecx, byte [eax]
movsx edx, byte [0x4dab4c]
cmp ecx, edx
jne 0x467ff6
mov eax, dword [ebp - 0x83c]
add eax, 2
push eax
push 0x4dab5c
mov ecx, dword [ebp - 0x830]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x468035
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x83c]
movsx ecx, byte [eax]
cmp ecx, 0x3d
jne 0x468035
mov edx, dword [ebp - 0x830]
mov eax, dword [edx]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x834]
add ecx, eax
mov dword [ebp - 0x834], ecx
mov edx, dword [ebp - 0x820]
add edx, 1
mov dword [ebp - 0x820], edx
jmp 0x467f4a
cmp dword [ebp - 0x820], 0
jne 0x46804a
xor eax, eax
jmp 0x468396
mov eax, dword [ebp - 0x834]
add eax, dword [ebp - 0x820]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00465c90
add esp, 8
mov dword [ebp - 0x874], eax
mov edx, dword [ebp - 0x874]
mov dword [ebp - 0x844], edx
cmp dword [ebp - 0x848], 0
je 0x4681cf
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x82c], 0x27
mov dword [ebp - 0x824], 0x800
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0x80c]
push ecx
push 0
push 0
lea edx, [ebp - 0x82c]
push edx
lea eax, [ebp - 0x870]
push eax
mov ecx, dword [ebp - 0x838]
push ecx
mov edx, dword [ebp - 0x840]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4681c2
mov eax, dword [ebp - 0x838]
add eax, 1
mov dword [ebp - 0x838], eax
push 0x4dab6c
lea ecx, [ebp - 0x870]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4681a9
movsx edx, byte [ebp - 0x870]
movsx eax, byte [0x4dab7c]
cmp edx, eax
jne 0x468132
push 0x4dab8c
lea ecx, [ebp - 0x870]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4681a9
mov edx, dword [ebp - 0x844]
cmp edx, dword [ebp - 0x874]
jbe 0x468158
mov eax, dword [ebp - 0x844]
mov byte [eax], 0x3b
mov ecx, dword [ebp - 0x844]
add ecx, 1
mov dword [ebp - 0x844], ecx
cmp dword [ebp + 0xc], 0
je 0x468176
lea edx, [ebp - 0x870]
push edx
mov eax, dword [ebp - 0x844]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x46818c
lea ecx, [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 0x844]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x844]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x844]
add ecx, eax
mov dword [ebp - 0x844], ecx
mov dword [ebp - 0x82c], 0x27
mov dword [ebp - 0x824], 0x800
jmp 0x4680a0
mov edx, dword [ebp - 0x840]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.MSVCRT.dll___p__environ]
mov eax, dword [eax]
mov dword [ebp - 0x830], eax
jmp 0x4681ee
mov ecx, dword [ebp - 0x830]
add ecx, 4
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0x830]
cmp dword [edx], 0
je 0x46837e
push 0x5f
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x468379
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
movsx ecx, byte [0x4dab9c]
cmp eax, ecx
jne 0x468379
mov edx, dword [ebp - 0x83c]
push edx
push str._LICENSE_FILE
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x468379
mov ecx, dword [ebp - 0x830]
mov edx, dword [ecx]
movsx eax, byte [edx]
movsx ecx, byte [0x4dabbc]
cmp eax, ecx
jne 0x468293
mov edx, dword [ebp - 0x83c]
add edx, 2
push edx
push 0x4dabcc
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x468379
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x83c]
movsx eax, byte [edx]
cmp eax, 0x3d
jne 0x468379
mov ecx, dword [ebp - 0x844]
cmp ecx, dword [ebp - 0x874]
jbe 0x4682ce
mov edx, dword [ebp - 0x844]
mov byte [edx], 0x3b
mov eax, dword [ebp - 0x844]
add eax, 1
mov dword [ebp - 0x844], eax
cmp dword [ebp + 0xc], 0
jne 0x468316
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x83c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
cmp eax, 0x3d
je 0x4682f6
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0x20
jne 0x468301
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x4682e0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x844]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x46835c
mov eax, dword [ebp - 0x830]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax]
add ecx, dword [ebp - 0x83c]
push ecx
mov edx, dword [ebp - 0x830]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x844]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov edx, dword [ebp - 0x830]
mov eax, dword [ebp - 8]
sub eax, dword [edx]
add eax, dword [ebp - 0x83c]
mov ecx, dword [ebp - 0x844]
mov byte [ecx + eax], 0
mov edx, dword [ebp - 0x844]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x844]
add ecx, eax
mov dword [ebp - 0x844], ecx
jmp 0x4681df
cmp dword [ebp - 4], 0
je 0x468390
mov edx, dword [ebp - 4]
push edx
call fcn.00465d6b
add esp, 4
mov eax, dword [ebp - 0x874]
mov esp, ebp
pop ebp
ret