Function at 0x41bb50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x485620
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
call fcn.004440b8
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41bb9d
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x88], esi
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41bbce
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x88], 1
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41bc00
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x88], 2
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41bc32
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x88], 3
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41bc64
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 4
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41bc96
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x88], 5
call fcn.004440b8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41bcc8
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push 1
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x90], 6
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.hRootKey
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], esi
call fcn.00401ed0
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x41be80
mov edi, 0xa0000001
lea esi, [esp + 0x58]
call fcn.00414000
push eax
mov ecx, ebp
mov byte [esp + 0x8c], 7
call fcn.00407570
mov byte [esp + 0x88], 6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bd6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bda1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bdc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bdf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
jmp 0x41c8db
lea ecx, [esp + 0x54]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.DWORD
call fcn.00401ed0
mov byte [esp + 0x90], 8
mov ebx, dword [esp + 0x50]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x48], esp
mov edi, esp
mov dword [esp + 0x28], ebx
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x41bed4
cmp eax, dword [ebx]
jne 0x41bed4
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41bf10
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41beed
call fcn.004303e0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
mov byte [esp + 0x94], 6
call fcn.0043eb10
add esp, 0xc
push 1
lea ecx, [esp + 0x2c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.strRegKey
call fcn.00401ed0
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x41c0cd
mov edi, 0xa0000001
lea esi, [esp + 0x58]
call fcn.00414000
push eax
mov ecx, ebp
mov byte [esp + 0x8c], 9
call fcn.00407570
mov byte [esp + 0x88], 6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bfa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bfda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c002
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c02a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c052
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c07a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c0a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], 0xffffffff
add ecx, 0xc
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8f4
mov eax, dword [esp + 0x1c]
jmp 0x41c8ea
push 1
lea ecx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.strRegValueName
call fcn.00401ed0
mov esi, dword [esp + 0x9c]
push esi
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x41c13b
mov edi, 0xa0000001
lea esi, [esp + 0x58]
call fcn.00414000
mov byte [esp + 0x88], 0xa
push eax
mov ecx, ebp
call fcn.00407570
mov byte [esp + 0x88], 6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41bf99
push 1
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.iRegValueType
call fcn.00401ed0
push esi
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x41c17b
mov edi, 0xa0000001
lea esi, [esp + 0x58]
call fcn.00414000
mov byte [esp + 0x88], 0xb
jmp 0x41c112
lea ecx, [esp + 0x58]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.DWORD
call fcn.00401ed0
mov byte [esp + 0x90], 0xc
mov esi, dword [esp + 0x48]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x48], esp
mov edi, esp
mov dword [esp + 0x48], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41c1cd
cmp eax, dword [esi]
jne 0x41c1cd
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41c20b
mov edx, dword [eax]
mov edx, dword [edx]
mov ebx, esi
mov ecx, dword [ebx + 4]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41c1e8
call fcn.004303e0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
mov byte [esp + 0x94], 6
call fcn.0043eb10
add esp, 0xc
push 1
lea ecx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.strRegValue
call fcn.00401ed0
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x41c2e6
mov edi, 0xa0000001
lea esi, [esp + 0x58]
call fcn.00414000
mov byte [esp + 0x88], 0xd
push eax
mov ecx, ebp
call fcn.00407570
mov byte [esp + 0x88], 6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c2a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c2d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x88], 4
jmp 0x41bfe9
push 1
lea ecx, [esp + 0x3c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.WOW64
call fcn.00401ed0
mov edx, dword [esp + 0x9c]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x41c330
mov edi, 0xa0000001
lea esi, [esp + 0x58]
call fcn.00414000
mov byte [esp + 0x88], 0xe
jmp 0x41c270
lea ecx, [esp + 0x50]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.DWORD
call fcn.00401ed0
mov byte [esp + 0x90], 0xf
mov esi, dword [esp + 0x40]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x50], esp
mov edi, esp
mov dword [esp + 0x50], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41c382
cmp eax, dword [esi]
jne 0x41c382
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41c3c0
mov edx, dword [eax]
mov edx, dword [edx]
mov ebx, esi
mov ecx, dword [ebx + 4]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41c39d
call fcn.004303e0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
mov byte [esp + 0x94], 6
call fcn.0043eb10
add esp, 0xc
push 1
lea ecx, [esp + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.iSystemBits
call fcn.00401ed0
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x41c510
mov edi, 0xa0000001
lea esi, [esp + 0x58]
call fcn.00414000
push eax
mov ecx, ebp
mov byte [esp + 0x8c], 0x10
call fcn.00407570
mov byte [esp + 0x88], 6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c48a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x88], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c4af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c4d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c4ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x44]
jmp 0x41c061
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00461856
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov eax, dword [0x4a657c]
add esp, 4
test eax, eax
je 0x41c570
push str.GetNativeSystemInfo
push str.kernel32
call ebx
push eax
call edi
test eax, eax
je 0x41c569
lea edx, [esp + 0x5c]
push edx
call eax
mov ax, word [esp + 0x5c]
cmp ax, 9
je 0x41c55f
cmp ax, 6
jne 0x41c569
mov dword [0x4a99d4], 1
xor eax, eax
mov dword [0x4a657c], eax
test esi, esi
je 0x41c582
cmp esi, 1
jne 0x41c5da
cmp dword [0x4a99d4], 0
jne 0x41c5e8
mov dword [esp + 0x4c], 0
test eax, eax
je 0x41c5cd
push str.GetNativeSystemInfo
push str.kernel32
call ebx
push eax
call edi
test eax, eax
je 0x41c5c3
lea ecx, [esp + 0x5c]
push ecx
call eax
mov ax, word [esp + 0x5c]
cmp ax, 9
je 0x41c5b9
cmp ax, 6
jne 0x41c5c3
mov dword [0x4a99d4], 1
mov dword [0x4a657c], 0
cmp dword [0x4a99d4], 0
jne 0x41c611
xor eax, eax
jmp 0x41c615
cmp esi, 2
jne 0x41c5e8
cmp dword [0x4a99d4], 0
jne 0x41c582
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41c47e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x4c]
push edx
or eax, 0x20006
push eax
mov eax, dword [esp + 0x30]
xor esi, esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x41c74f
mov edi, dword [esp + 0x58]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x54], esi
cmp edi, 4
jne 0x41c6ab
lea edx, [esp + 0x54]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str.DWORD
call fcn.00401ed0
mov byte [esp + 0x90], 0x11
mov ebx, dword [esp + 0x20]
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x5c], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x94], 6
call fcn.0043eb10
add esp, 0xc
lea eax, [esp + 0x54]
mov ecx, edi
jmp 0x41c72b
cmp edi, 0xb
jne 0x41c703
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str.LONGLONG
call fcn.00401ed0
mov byte [esp + 0x90], 0x12
mov ebx, dword [esp + 0x20]
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x5c], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x94], 6
call fcn.0043eb10
add esp, 0xc
lea eax, [esp + 0x2c]
lea ecx, [edi - 3]
jmp 0x41c72b
mov ebx, dword [esp + 0x18]
cmp edi, 1
jne 0x41c72b
cmp dword [ebx - 4], edi
jle 0x41c722
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401c30
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx - 0xc]
mov eax, ebx
lea ecx, [ecx + ecx + 2]
mov edx, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x54]
push edi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x4c]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41c753
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x98]
xor eax, eax
test edi, edi
sete al
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x41c7ce
mov eax, dword [edx + 0x10]
lea esi, [esp + 0x58]
mov dword [ecx], eax
call fcn.00414000
mov edx, dword [esp + 0x90]
mov byte [esp + 0x88], 0x13
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
push ebp
call fcn.00403800
mov byte [esp + 0x98], 6
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c7e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c7e6
mov dword [ecx], 2
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x30]
push ecx
push eax
push ebp
call fcn.00403800
add esp, 0xc
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c80e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x88], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x88], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c857
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c87f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x44]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], 0xffffffff
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret