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

Disassembly:
push 0xffffffffffffffff
push 0x492e32
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4bb190]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb190]
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.00402220
xor ecx, ecx
mov eax, 0x4bd788
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 0x411bd0
sub eax, edx
sar eax, 1
push eax
push 0x4bd788
lea ecx, [esp + 0x60]
call fcn.00402220
mov edx, dword [0x4b93a8]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0x2cc], 1
call fcn.004077c0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x2cc], 2
call fcn.00402120
mov ebp, 8
mov byte [esp + 0x2c0], 1
cmp dword [esp + 0xa8], ebp
jb 0x411c4d
mov edx, dword [esp + 0x94]
push edx
call fcn.004440cb
add esp, 4
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], ebp
jae 0x411c5e
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 0x411e98
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 0x411e68
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x94]
call fcn.004068e0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x98]
push edx
mov ecx, edi
mov byte [esp + 0x2cc], 3
call fcn.00402120
push 1
push 1
lea eax, [esp + 0x44]
push edi
push eax
call fcn.00435c20
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.00435c20
add esp, 0x20
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x2c0], 5
cmp dword [esi + 0x18], ebp
jb 0x411d2c
mov esi, dword [esi + 4]
jmp 0x411d2f
add esi, 4
push ecx
mov ecx, dword [eax + 0x14]
push esi
push ecx
push ebx
mov ecx, eax
call fcn.00404b70
test eax, eax
sete bl
cmp dword [esp + 0x38], ebp
jb 0x411d55
mov edx, dword [esp + 0x24]
push edx
call fcn.004440cb
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 0x411d7d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004440cb
add esp, 4
test bl, bl
jne 0x411dda
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 0x411da1
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 0x411dc6
mov eax, dword [edi + 4]
jmp 0x411dc9
lea eax, [edi + 4]
push esi
push eax
call fcn.00467fa5
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [esp + 0xa8], ebp
jb 0x411df3
mov eax, dword [esp + 0x94]
push eax
call fcn.004440cb
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 0x411e13
mov eax, dword [esp + 0x5c]
push eax
call fcn.004440cb
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 0x411e3c
mov edx, dword [esp + 0x78]
push edx
call fcn.004440cb
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.004677ab
add esp, 0x2b0
ret 4
mov eax, dword [esp + 0x5c]
xor esi, esi
cmp dword [esp + 0x70], ebp
jae 0x411e78
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 0x411df5
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 0x411df5
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0x411ede
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 0x411df5