Function at 0x42ecb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
push 0x3fe
lea ecx, [ebp - 0x49e]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x4a0], ax
call fcn.00473d40
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 ecx, 0x73
mov word [ebp - 0x6e], ax
mov word [ebp - 0x6c], cx
mov edx, 0x5c
mov word [ebp - 0x6a], dx
mov eax, 0x43
mov ecx, 0x75
mov edx, 0x72
mov word [ebp - 0x68], ax
mov word [ebp - 0x66], cx
mov eax, edx
mov ecx, 0x65
mov word [ebp - 0x64], dx
mov word [ebp - 0x62], ax
mov word [ebp - 0x60], cx
mov edx, 0x6e
mov eax, 0x74
mov ecx, 0x56
mov word [ebp - 0x5e], dx
mov word [ebp - 0x5c], ax
mov word [ebp - 0x5a], cx
mov edx, 0x65
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.0046ecd5
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x4a0]
push 0x200
push edx
call fcn.0046ecd5
mov eax, 0x53
mov word [ebp - 0x24], ax
mov edx, 0x63
mov ecx, 0x65
mov word [ebp - 0x20], dx
mov eax, 0x75
mov edx, 0x65
mov word [ebp - 0x22], cx
mov word [ebp - 0x1e], ax
mov ecx, 0x72
mov eax, 0x50
mov word [ebp - 0x1a], dx
mov edx, 0x6f
mov word [ebp - 0x1c], cx
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], cx
mov eax, 0x74
mov ecx, edx
add esp, 0x24
mov word [ebp - 0x14], dx
mov word [ebp - 0x12], ax
mov word [ebp - 0x10], cx
mov eax, ecx
mov ecx, 0x6c
mov word [ebp - 0xa], cx
mov edx, 0x63
lea ecx, [ebp - 0x4a8]
push ecx
mov word [ebp - 0xe], dx
push 0x2001f
mov edx, 0x73
mov word [ebp - 8], dx
push edi
lea edx, [ebp - 0x4a0]
mov word [ebp - 0xc], ax
push edx
xor eax, eax
push reloc.WS2_32.dll_closesocket
mov word [ebp - 6], ax
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x4ac], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42f034
lea eax, [ebp - 0x4ac]
push eax
mov eax, dword [ebp - 0x4a8]
lea ecx, [ebp - 0x4a4]
push ecx
push edi
push edi
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42f045
mov ecx, dword [ebp - 0x4a8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x4ac]
push eax
mov eax, dword [ebp - 0x4a8]
mov edx, 1
shl edx, cl
lea ecx, [ebp - 0x4a4]
push ecx
push 4
or dword [ebp - 0x4a4], edx
push edi
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42f07e
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x4a8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0046e186
mov esp, ebp
pop ebp
ret