Function at 0x4119d0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4929e2
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c8]
push 0x1c
xor eax, eax
mov esi, 7
xor ebx, ebx
push str.SoftwareChangyouCYouLobby_
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
call fcn.00402210
xor ecx, ecx
mov eax, 0x4bc788
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411a60
sub eax, edx
sar eax, 1
push eax
push 0x4bc788
lea ecx, [esp + 0x60]
call fcn.00402210
mov edx, dword [0x4b83a8]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0x2cc], 1
call fcn.00407790
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x2cc], 2
call fcn.00402110
mov ebp, 8
mov byte [esp + 0x2c0], 1
cmp dword [esp + 0xa8], ebp
jb 0x411add
mov edx, dword [esp + 0x94]
push edx
call fcn.00443d03
add esp, 4
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], ebp
jae 0x411aee
lea eax, [esp + 0x78]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x411d28
lea edx, [esp + 0x1c]
push edx
mov edx, dword [str.ConfigPath]
lea eax, [esp + 0xb0]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push ebx
push edx
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x411cf8
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x94]
call fcn.004068c0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x98]
push edx
mov ecx, edi
mov byte [esp + 0x2cc], 3
call fcn.00402110
push 1
push 1
lea eax, [esp + 0x44]
push edi
push eax
call fcn.004358f0
mov esi, eax
push 1
push 1
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x2e0], 4
call fcn.004358f0
add esp, 0x20
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x2c0], 5
cmp dword [esi + 0x18], ebp
jb 0x411bbc
mov esi, dword [esi + 4]
jmp 0x411bbf
add esi, 4
push ecx
mov ecx, dword [eax + 0x14]
push esi
push ecx
push ebx
mov ecx, eax
call fcn.00404b10
test eax, eax
sete bl
cmp dword [esp + 0x38], ebp
jb 0x411be5
mov edx, dword [esp + 0x24]
push edx
call fcn.00443d03
add esp, 4
xor esi, esi
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], ax
cmp dword [esp + 0x54], ebp
jb 0x411c0d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00443d03
add esp, 4
test bl, bl
jne 0x411c6a
mov edx, dword [str.ConfigPath]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0x411c31
lea eax, [esp + 0x5c]
mov ecx, dword [str.ConfigPath]
mov edx, dword [esp + 0x14]
push 0x103
push eax
push 1
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0x18], ebp
jb 0x411c56
mov eax, dword [edi + 4]
jmp 0x411c59
lea eax, [edi + 4]
push esi
push eax
call fcn.00467bd5
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [esp + 0xa8], ebp
jb 0x411c83
mov eax, dword [esp + 0x94]
push eax
call fcn.00443d03
add esp, 4
xor ebx, ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x70], ebp
jb 0x411ca3
mov eax, dword [esp + 0x5c]
push eax
call fcn.00443d03
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
cmp dword [esp + 0x8c], ebp
jb 0x411ccc
mov edx, dword [esp + 0x78]
push edx
call fcn.00443d03
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.004673e3
add esp, 0x2b0
ret 4
mov eax, dword [esp + 0x5c]
xor esi, esi
cmp dword [esp + 0x70], ebp
jae 0x411d08
lea eax, [esp + 0x5c]
mov ecx, dword [str.ConfigPath]
mov edx, dword [esp + 0x14]
push 0x103
push eax
push 1
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x411c85
mov eax, dword [esp + 0x14]
push eax
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareChangyouCYouLobby
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x411c85
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0x411d6e
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x14]
push 0x103
push eax
mov eax, dword [str.ConfigPath]
push 1
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x411c85