Function at 0x411e00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54b8f5
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5b0630]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b0630]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
push 8
mov esi, ecx
xor eax, eax
mov ebp, 7
xor ebx, ebx
push str.SOFTWARE
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
call fcn.0040c670
push 1
lea ecx, [esp + 0x54]
push ecx
lea edi, [esp + 0x74]
mov ecx, 0x5b8870
mov dword [esp + 0x158], ebx
call fcn.0041c670
mov byte [esp + 0x150], 1
cmp byte [esp + 0x90], bl
jne 0x411ee2
mov esi, 8
mov dword [esp + 0x6c], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0x8c], esi
jb 0x411eb3
mov edx, dword [esp + 0x78]
push edx
call fcn.00450c1b
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], ax
cmp dword [esp + 0x68], esi
jb 0x411edb
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00450c1b
add esp, 4
xor al, al
jmp 0x412504
push 0xc
push str.ShengquGames
lea ecx, [esp + 0x58]
call fcn.0040c670
push 1
lea edx, [esp + 0x54]
push edx
lea edi, [esp + 0x9c]
lea ecx, [esp + 0x74]
call fcn.0041c670
mov byte [esp + 0x150], 2
mov eax, dword [esi + 0x40]
push 2
add eax, 0xfffffffe
push eax
lea ebp, [esi + 0x2c]
push 0x589780
mov ecx, ebp
call fcn.0040a980
inc eax
push eax
push ebx
lea eax, [esp + 0x130]
push eax
mov ecx, ebp
call fcn.00408e10
mov byte [esp + 0x150], 3
cmp byte [esp + 0xb8], bl
jne 0x412009
lea ecx, [esp + 0x50]
push ecx
lea edi, [esp + 0x104]
lea ecx, [esp + 0x70]
call fcn.0041c8a0
mov esi, eax
push 0xffffffffffffffff
mov byte [esp + 0x154], 4
mov edx, dword [esi + 4]
push ebx
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa4], edx
call fcn.0040a880
mov cl, byte [esi + 0x24]
mov byte [esp + 0x150], 3
mov esi, 8
mov byte [esp + 0xb8], cl
mov dword [esp + method.Win32Reg::RegistryKey.virtual_0], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0x120], esi
jb 0x411fc7
mov edx, dword [esp + 0x10c]
push edx
call fcn.00450c1b
add esp, 4
push str.BasePath
lea ecx, [esp + 0x1c]
call fcn.00408c70
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x1c]
call fcn.0041cac0
cmp dword [esp + 0x30], esi
jb 0x4120d2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00450c1b
add esp, 4
jmp 0x4120d2
push str.BasePath
lea ecx, [esp + 0x1c]
call fcn.00408c70
lea ecx, [esp + 0x18]
lea esi, [esp + 0x100]
lea ebx, [esp + 0x94]
mov byte [esp + 0x150], 5
call fcn.0041cb10
mov ebx, 7
mov esi, 8
mov byte [esp + 0x150], bl
cmp dword [esp + 0x30], esi
jb 0x41205a
mov edx, dword [esp + 0x1c]
push edx
call fcn.00450c1b
add esp, 4
xor eax, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp dword [esp + 0x114], eax
jne 0x4120af
push str.BasePath
lea ecx, [esp + 0x38]
call fcn.00408c70
lea ecx, [esp + 0x94]
push ecx
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x38]
call fcn.0041cac0
cmp dword [esp + 0x4c], esi
jb 0x4120af
mov edx, dword [esp + 0x38]
push edx
call fcn.00450c1b
add esp, 4
mov byte [esp + 0x150], 3
cmp dword [esp + 0x118], esi
jb 0x4120d0
mov eax, dword [esp + 0x104]
push eax
call fcn.00450c1b
add esp, 4
xor ebx, ebx
push 1
push 0x5b85e8
lea edi, [esp + 0xc4]
lea ecx, [esp + 0x9c]
call fcn.0041c670
mov byte [esp + 0x150], 8
cmp byte [esp + 0xe0], bl
jne 0x412173
push 0x5b85e8
lea edi, [esp + 0x104]
lea ecx, [esp + 0x98]
call fcn.0041c8a0
mov esi, eax
mov byte [esp + 0x150], 9
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ebx
lea edx, [esi + 8]
mov dword [esp + 0xc8], ecx
push edx
lea ecx, [esp + 0xd0]
call fcn.0040a880
mov al, byte [esi + 0x24]
mov byte [esp + 0x150], 8
cmp dword [esp + 0x120], 8
mov byte [esp + 0xe0], al
mov dword [esp + method.Win32Reg::RegistryKey.virtual_0], vtable.Win32Reg::RegistryKey.0
jb 0x412173
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.00450c1b
add esp, 4
push 0x5b86ac
lea edx, [esp + 0xe8]
push ebp
push edx
call fcn.0040fa60
add esp, 0xc
mov byte [esp + 0x150], 0xa
cmp dword [ebp + 0x18], 8
jb 0x41219c
mov ebp, dword [ebp + 4]
jmp 0x41219f
add ebp, 4
xor eax, eax
mov word [esp + 0x1c], ax
mov esi, 7
mov eax, ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
lea edx, [eax + 2]
jmp 0x4121c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4121c0
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.0040c670
mov byte [esp + 0x150], 0xb
xor ecx, ecx
push 4
mov word [esp + 0x3c], cx
push str.Path
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
call fcn.0040c670
mov ecx, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x412214
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x412222
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0xd4]
push eax
call ebp
cmp eax, ebx
je 0x41224a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x4c], edi
jb 0x41225d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov byte [esp + 0x150], 0xa
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], dx
cmp dword [esp + 0x30], edi
jb 0x412287
mov eax, dword [esp + 0x1c]
push eax
call fcn.00450c1b
add esp, 4
xor ecx, ecx
push esi
mov word [esp + 0x20], cx
push str.version
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
call fcn.0040c670
mov ecx, dword [0x5b8624]
cmp dword [0x5b8638], edi
jae 0x4122b8
mov ecx, 0x5b8624
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x4122c6
lea eax, [esp + 0x1c]
mov edx, dword [0x5b8634]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0xd4]
push eax
call ebp
cmp eax, ebx
je 0x4122ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x30], edi
jb 0x4122fd
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00450c1b
add esp, 4
mov edx, dword [esp + 0xe8]
cmp dword [esp + 0xfc], edi
jae 0x412314
lea edx, [esp + 0xe8]
xor eax, eax
mov word [esp + 0x1c], ax
mov eax, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
lea edi, [eax + 2]
jmp 0x412330
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412330
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.0040c670
mov byte [esp + 0x150], 0xc
xor ecx, ecx
push 6
mov word [esp + 0x3c], cx
push str.Loader
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
call fcn.0040c670
mov ecx, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x412384
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x412392
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x2c]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0xd4]
push eax
call ebp
test eax, eax
je 0x4123b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x4c], edi
jb 0x4123c7
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], dx
cmp dword [esp + 0x30], edi
jb 0x4123e9
mov eax, dword [esp + 0x1c]
push eax
call fcn.00450c1b
add esp, 4
cmp dword [esp + 0xfc], edi
jb 0x412402
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov ebp, vtable.Win32Reg::RegistryKey.0
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], dx
mov dword [esp + 0xbc], ebp
cmp dword [esp + 0xdc], edi
jb 0x41243f
mov eax, dword [esp + 0xc8]
push eax
call fcn.00450c1b
add esp, 4
xor ecx, ecx
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], cx
cmp dword [esp + 0x140], edi
jb 0x412470
mov edx, dword [esp + 0x12c]
push edx
call fcn.00450c1b
add esp, 4
xor eax, eax
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], ax
mov dword [esp + 0x94], ebp
cmp dword [esp + 0xb4], edi
jb 0x4124a8
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], dx
mov dword [esp + 0x6c], ebp
cmp dword [esp + 0x8c], edi
jb 0x4124da
mov eax, dword [esp + 0x78]
push eax
call fcn.00450c1b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
cmp dword [esp + 0x68], edi
jb 0x412502
mov edx, dword [esp + 0x54]
push edx
call fcn.00450c1b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00523c4c
add esp, 0x140
ret