Function at 0x411df0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54bca5
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.0040c5e0
push 1
lea ecx, [esp + 0x54]
push ecx
lea edi, [esp + 0x74]
mov ecx, 0x5b8878
mov dword [esp + 0x158], ebx
call fcn.0041c650
mov byte [esp + 0x150], 1
cmp byte [esp + 0x90], bl
jne 0x411ed2
mov esi, 8
mov dword [esp + 0x6c], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0x8c], esi
jb 0x411ea3
mov edx, dword [esp + 0x78]
push edx
call fcn.00450c25
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 0x411ecb
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00450c25
add esp, 4
xor al, al
jmp 0x4124f4
push 0xa
push str._nNwmpe
lea ecx, [esp + 0x58]
call fcn.0040c5e0
push 1
lea edx, [esp + 0x54]
push edx
lea edi, [esp + 0x9c]
lea ecx, [esp + 0x74]
call fcn.0041c650
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.0040a8d0
inc eax
push eax
push ebx
lea eax, [esp + 0x130]
push eax
mov ecx, ebp
call fcn.00408d20
mov byte [esp + 0x150], 3
cmp byte [esp + 0xb8], bl
jne 0x411ff9
lea ecx, [esp + 0x50]
push ecx
lea edi, [esp + 0x104]
lea ecx, [esp + 0x70]
call fcn.0041c880
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.0040a7d0
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 0x411fb7
mov edx, dword [esp + 0x10c]
push edx
call fcn.00450c25
add esp, 4
push str.BasePath
lea ecx, [esp + 0x1c]
call fcn.00408b80
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x1c]
call fcn.0041caa0
cmp dword [esp + 0x30], esi
jb 0x4120c2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00450c25
add esp, 4
jmp 0x4120c2
push str.BasePath
lea ecx, [esp + 0x1c]
call fcn.00408b80
lea ecx, [esp + 0x18]
lea esi, [esp + 0x100]
lea ebx, [esp + 0x94]
mov byte [esp + 0x150], 5
call fcn.0041caf0
mov ebx, 7
mov esi, 8
mov byte [esp + 0x150], bl
cmp dword [esp + 0x30], esi
jb 0x41204a
mov edx, dword [esp + 0x1c]
push edx
call fcn.00450c25
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 0x41209f
push str.BasePath
lea ecx, [esp + 0x38]
call fcn.00408b80
lea ecx, [esp + 0x94]
push ecx
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x38]
call fcn.0041caa0
cmp dword [esp + 0x4c], esi
jb 0x41209f
mov edx, dword [esp + 0x38]
push edx
call fcn.00450c25
add esp, 4
mov byte [esp + 0x150], 3
cmp dword [esp + 0x118], esi
jb 0x4120c0
mov eax, dword [esp + 0x104]
push eax
call fcn.00450c25
add esp, 4
xor ebx, ebx
push 1
push 0x5b85f0
lea edi, [esp + 0xc4]
lea ecx, [esp + 0x9c]
call fcn.0041c650
mov byte [esp + 0x150], 8
cmp byte [esp + 0xe0], bl
jne 0x412163
push 0x5b85f0
lea edi, [esp + 0x104]
lea ecx, [esp + 0x98]
call fcn.0041c880
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.0040a7d0
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 0x412163
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.00450c25
add esp, 4
push 0x5b86b4
lea edx, [esp + 0xe8]
push ebp
push edx
call fcn.0040fa40
add esp, 0xc
mov byte [esp + 0x150], 0xa
cmp dword [ebp + 0x18], 8
jb 0x41218c
mov ebp, dword [ebp + 4]
jmp 0x41218f
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 0x4121b0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4121b0
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.0040c5e0
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.0040c5e0
mov ecx, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x412204
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x412212
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 0x41223a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x4c], edi
jb 0x41224d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00450c25
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 0x412277
mov eax, dword [esp + 0x1c]
push eax
call fcn.00450c25
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.0040c5e0
mov ecx, dword [0x5b862c]
cmp dword [0x5b8640], edi
jae 0x4122a8
mov ecx, 0x5b862c
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x4122b6
lea eax, [esp + 0x1c]
mov edx, dword [0x5b863c]
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 0x4122da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x30], edi
jb 0x4122ed
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0xe8]
cmp dword [esp + 0xfc], edi
jae 0x412304
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 0x412320
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412320
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.0040c5e0
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.0040c5e0
mov ecx, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x412374
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x412382
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 0x4123a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x4c], edi
jb 0x4123b7
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00450c25
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 0x4123d9
mov eax, dword [esp + 0x1c]
push eax
call fcn.00450c25
add esp, 4
cmp dword [esp + 0xfc], edi
jb 0x4123f2
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00450c25
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 0x41242f
mov eax, dword [esp + 0xc8]
push eax
call fcn.00450c25
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 0x412460
mov edx, dword [esp + 0x12c]
push edx
call fcn.00450c25
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 0x412498
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00450c25
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 0x4124ca
mov eax, dword [esp + 0x78]
push eax
call fcn.00450c25
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 0x4124f2
mov edx, dword [esp + 0x54]
push edx
call fcn.00450c25
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.00523c2c
add esp, 0x140
ret