Function at 0x4307a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x49e]
push ecx
mov word [ebp - 0x4a0], ax
call fcn.004737c0
mov edx, 0x5c
mov word [ebp - 0xa0], dx
mov eax, 0x53
mov word [ebp - 0x9e], ax
mov ecx, 0x4f
mov word [ebp - 0x9c], cx
mov edx, 0x46
mov word [ebp - 0x9a], dx
mov eax, 0x54
mov word [ebp - 0x98], ax
mov ecx, 0x57
mov word [ebp - 0x96], cx
mov edx, 0x41
mov word [ebp - 0x94], dx
mov eax, 0x52
mov word [ebp - 0x92], ax
mov ecx, 0x45
mov word [ebp - 0x90], cx
mov edx, 0x5c
mov word [ebp - 0x8e], dx
mov eax, 0x4d
mov word [ebp - 0x8c], ax
mov ecx, 0x69
mov word [ebp - 0x8a], cx
mov edx, 0x63
mov word [ebp - 0x88], dx
mov eax, 0x72
mov word [ebp - 0x86], ax
mov ecx, 0x6f
mov eax, ecx
mov word [ebp - 0x84], cx
mov edx, 0x73
mov word [ebp - 0x82], dx
mov word [ebp - 0x80], ax
mov ecx, 0x66
mov word [ebp - 0x7e], cx
mov edx, 0x74
mov word [ebp - 0x7c], dx
mov eax, 0x5c
mov word [ebp - 0x7a], ax
mov ecx, 0x57
mov word [ebp - 0x78], cx
mov edx, 0x69
mov word [ebp - 0x76], dx
mov eax, 0x6e
mov word [ebp - 0x74], ax
mov ecx, 0x64
mov word [ebp - 0x72], cx
mov edx, 0x6f
mov word [ebp - 0x70], dx
mov eax, 0x77
mov word [ebp - 0x6e], ax
mov ecx, 0x73
mov edx, 0x5c
mov word [ebp - 0x6c], cx
mov word [ebp - 0x6a], dx
mov eax, 0x43
mov edx, 0x72
mov ecx, 0x75
mov word [ebp - 0x68], ax
mov eax, edx
mov word [ebp - 0x66], cx
mov word [ebp - 0x64], dx
mov ecx, 0x65
mov edx, 0x6e
mov word [ebp - 0x62], ax
mov word [ebp - 0x60], cx
mov word [ebp - 0x5e], dx
mov eax, 0x74
mov ecx, 0x56
mov edx, 0x65
mov word [ebp - 0x5c], ax
mov word [ebp - 0x5a], cx
mov word [ebp - 0x58], dx
mov edx, 0x69
mov word [ebp - 0x52], dx
mov eax, 0x72
mov word [ebp - 0x56], ax
mov edx, 0x5c
mov word [ebp - 0x4c], dx
mov eax, 0x6f
mov word [ebp - 0x50], ax
mov ecx, 0x73
mov word [ebp - 0x54], cx
mov edx, 0x74
mov word [ebp - 0x46], dx
mov ecx, 0x6e
mov word [ebp - 0x4e], cx
mov word [ebp - 0x48], cx
mov eax, 0x49
mov word [ebp - 0x4a], ax
mov edx, 0x6e
mov word [ebp - 0x40], dx
mov eax, 0x65
mov word [ebp - 0x44], ax
mov word [ebp - 0x3e], ax
mov ecx, 0x72
mov word [ebp - 0x42], cx
mov edx, 0x20
mov word [ebp - 0x3a], dx
mov eax, 0x53
mov word [ebp - 0x38], ax
mov edx, 0x74
mov eax, edx
mov ecx, 0x74
mov word [ebp - 0x3c], cx
mov ecx, 0x65
mov word [ebp - 0x32], ax
mov word [ebp - 0x36], cx
mov word [ebp - 0x34], dx
mov eax, 0x67
mov ecx, 0x69
mov edx, 0x6e
push esi
mov word [ebp - 0x2c], ax
mov word [ebp - 0x30], cx
mov word [ebp - 0x2e], dx
lea eax, [ebp - 0x4a0]
mov ecx, 0x73
xor edx, edx
push 0x200
push eax
mov word [ebp - 0x2a], cx
mov word [ebp - 0x28], dx
call fcn.0046e925
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x4a0]
push 0x200
push edx
call fcn.0046e925
mov eax, 0x53
mov edx, 0x63
mov word [ebp - 0x24], ax
mov word [ebp - 0x20], dx
mov ecx, 0x65
mov eax, 0x75
mov edx, 0x65
mov word [ebp - 0x22], cx
mov ecx, 0x72
mov word [ebp - 0x1e], ax
mov word [ebp - 0x1a], dx
mov edx, 0x6f
mov eax, 0x50
mov word [ebp - 0x1c], cx
mov word [ebp - 0x16], cx
mov ecx, edx
mov word [ebp - 0x18], ax
mov word [ebp - 0x14], dx
mov eax, 0x74
mov edx, 0x63
add esp, 0x24
mov word [ebp - 0x12], ax
mov word [ebp - 0x10], cx
mov word [ebp - 0xe], dx
mov eax, ecx
mov ecx, 0x6c
mov word [ebp - 0xa], cx
lea ecx, [ebp - 0x4a4]
push ecx
push 0x20019
mov word [ebp - 0xc], ax
xor eax, eax
mov edx, 0x73
mov word [ebp - 8], dx
push eax
lea edx, [ebp - 0x4a0]
push edx
push reloc.WS2_32.dll_closesocket
mov word [ebp - 6], ax
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x4ac], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430b23
lea eax, [ebp - 0x4ac]
push eax
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x4a8]
push ecx
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x430b33
mov ecx, dword [ebp - 0x4a4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x4a4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x4a8]
mov ecx, dword [ebp - 4]
shr eax, 0xb
xor ecx, ebp
and eax, 1
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret