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

Disassembly:
push 0xffffffffffffffff
push 0x618a03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea ecx, [esi + 8]
call fcn.005ce910
xor ebx, ebx
lea ecx, [esi + 0x150]
mov dword [esp + 0x24], ebx
call fcn.00432430
lea ecx, [esi + 0x178]
mov byte [esp + 0x24], 1
call fcn.0050a7d0
mov dword [esi + 0x194], ebx
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x198], ebx
mov dword [esi + method.CCommandLineInfo.virtual_0], 0x62f08c
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x24], 3
call fcn.00521230
lea ecx, [esi + 0x2f8]
mov byte [esp + 0x24], 4
call fcn.00420160
lea ecx, [esi + 0x398]
mov byte [esp + 0x24], 5
call fcn.004feb30
push 0x1770
mov byte [esp + 0x28], 6
mov dword [esi + 0x3d4], 0x63fba8
mov dword [esi + 0x3d8], ebx
mov dword [esi + 0x3dc], 0x1f4
call fcn.005f6c5c
mov edi, eax
mov eax, dword [esi + 0x3dc]
mov dword [esi + 0x3e0], edi
add esp, 4
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [esi + 0x3e0], ebx
jne 0x4b931b
lea eax, [esp + 0x10]
push 0x68af10
push eax
mov dword [esp + 0x18], 0xc0000017
call fcn.005dfc6d
push 0xfa0
mov byte [esp + 0x28], 7
mov dword [esi + 0x3e4], 0x63fba4
mov dword [esi + 0x3e8], ebx
mov dword [esi + 0x3ec], 0x3e8
call fcn.005f6c5c
mov ecx, dword [esi + 0x3ec]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3f0], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [esi + 0x3f0], ebx
jne 0x4b9387
lea eax, [esp + 0x14]
push 0x68af10
push eax
mov dword [esp + 0x1c], 0xc0000017
call fcn.005dfc6d
push ebp
lea ecx, [esi + 0x420]
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x424], ebx
mov word [ecx], bx
mov edx, dword [0x6e7b6c]
mov dword [esi + 0x428], edx
mov eax, dword [0x6e7b6c]
mov dword [esi + 0x42c], eax
mov ecx, dword [0x6e7b6c]
mov dword [esi + 0x430], ecx
mov edx, dword [0x6e7b6c]
mov dword [esi + 0x434], edx
mov eax, dword [0x6e7b6c]
mov dword [esi + 0x43c], eax
mov ecx, dword [0x6e7b6c]
mov dword [esi + 0x440], ecx
mov edx, dword [0x6e7b6c]
mov dword [esi + 0x448], edx
mov eax, dword [0x6e7b6c]
mov dword [esi + 0x44c], eax
mov dword [esi + 0x454], ebx
mov dword [esi + 0x458], ebx
mov dword [esi + 0x45c], ebx
lea ecx, [esi + 0x464]
mov dword [esi + 0x460], ebx
mov dword [esi + 0x468], ebx
mov word [ecx], bx
mov edx, dword [0x6e7b6c]
mov dword [esi + 0x46c], edx
mov eax, dword [0x6e7b6c]
mov dword [esi + 0x474], eax
mov dword [esi + 0x490], 0x63fb98
mov dword [esi + 0x494], ebx
mov dword [esi + 0x498], 0x11
mov dword [esi + 0x49c], ebx
mov dword [esi + 0x4a0], ebx
mov dword [esi + 0x4a4], ebx
mov dword [esi + 0x4a8], 0xa
mov ecx, dword [0x6e7b6c]
mov dword [esi + 0x4b4], ecx
mov edx, dword [0x6e7b6c]
mov dword [esi + 0x4b8], edx
lea eax, [esi + 0x4c4]
mov dword [esi + 0x4c0], ebx
mov dword [esi + 0x4c8], ebx
mov word [eax], bx
mov ecx, dword [0x6e7b6c]
mov dword [esi + 0x4f0], ecx
mov dword [esi + 0x514], 0x63fb8c
mov dword [esi + 0x518], ebx
mov dword [esi + 0x524], ebx
mov dword [esi + 0x520], ebx
mov dword [esi + 0x51c], ebx
mov dword [esi + 0x528], 0x63fb80
mov dword [esi + 0x52c], ebx
mov dword [esi + 0x538], ebx
mov dword [esi + 0x534], ebx
mov dword [esi + 0x530], ebx
mov byte [esp + 0x28], 0x1c
mov dword [esi], 0x63fb7c
mov byte [esi + 0x4ad], bl
mov byte [esi + 0x4ae], bl
mov byte [esi + 0x4af], bl
mov byte [esi + 0x4ac], bl
mov dword [esi + 0x4bc], ebx
mov dword [esi + 0x48c], ebx
mov edi, 1
mov byte [esi + 0x479], bl
mov dword [esi + 0x4f4], edi
mov dword [esi + 0x4f8], ebx
mov byte [esi + 0x438], bl
mov byte [esi + 0x444], bl
mov byte [esi + 0x450], bl
mov byte [esi + 0x4cd], 1
mov byte [esi + 0x540], bl
lea edx, [esi + 0x3f8]
mov dword [esi + 0x4d0], ebx
mov dword [esi + 0x4d4], ebx
push edx
mov dword [esi + 0x4d8], ebx
mov dword [esi + 0x4dc], ebx
mov dword [esi + 0x4e0], ebx
mov dword [esi + 0x4e4], ebx
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x4ec], ebx
mov byte [esi + 0x47b], bl
mov byte [esi + 0x3f4], bl
mov byte [esi + 0x3f5], bl
mov dword [esi + 0x50c], ebx
mov dword [esi + 0x510], ebx
mov dword [esi + 0x53c], ebx
mov dword [esi + 0x508], edi
mov byte [esi + 0x47a], bl
mov byte [esi + 0x4cc], bl
mov byte [esi + 0x504], bl
mov dword [esi + 0x4fc], ebx
mov dword [esi + 0x500], ebx
mov dword [esi + 0x47c], ebx
mov dword [esi + 0x480], ebx
mov byte [esi + 0x486], bl
mov byte [esi + 0x484], bl
mov byte [esi + 0x485], bl
mov byte [esi + 0x487], bl
mov byte [esi + 0x488], bl
mov dword [esi + 0x410], ebx
mov dword [esi + 0x418], ebx
mov dword [esi + 0x544], ebx
mov dword [esi + 0x54c], ebx
mov dword [esi + 0x548], ebx
mov dword [esi + 0x550], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, esi
call fcn.004c4860
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push 0x6c4dc4
push reloc.WS2_32.dll_accept
call ebp
test eax, eax
jne 0x4b9687
mov edi, 0x6c4dc0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push 0x6c4dc0
push 1
push ebx
push 0x6c4da8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
lea eax, [esp + 0x10]
mov dword [esi + 0x588], edi
push eax
push 0xf003f
push ebx
push 0x6c4d74
push reloc.WS2_32.dll_accept
call ebp
test eax, eax
pop ebp
jne 0x4b9704
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push ebx
push ebx
push 0x6c4d6c
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b96db
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x588], ecx
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push ebx
push 0x6c4d6c
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.004b7c20
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret