Function at 0x40b8c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432730
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x43e060
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x34], esi
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], esi
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e060
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e060
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, str.SpesmarlIlnclzs
mov byte [ebp - 4], 2
call fcn.0040dcd0
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x40b99b
cmp dword [edi + 0xc], esi
lea ebx, [edi + 0xc]
jl 0x40b98e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x40b98e
call fcn.00405330
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40b986
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x20], esi
jmp 0x40b99b
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x20]
push ecx
call fcn.00405280
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b9be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, str.PLgl
call fcn.0040dcd0
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov edi, dword [ebp - 0x1c]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x40ba23
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x40ba16
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x40ba16
call fcn.00405330
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40ba0e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x1c], esi
jmp 0x40ba23
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00405280
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ba46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, str.UMsa
call fcn.0040dcd0
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov edi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x40baab
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x40ba9e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x40ba9e
call fcn.00405330
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40ba96
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x18], esi
jmp 0x40baab
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.00405280
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], 0
je 0x40bc2a
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x40bc2a
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 8
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 9
call fcn.0040b4c0
mov esi, dword [ebp - 0x28]
add esp, 0x10
cmp dword [esi - 0xc], 0
je 0x40bb7c
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x20]
call fcn.004048a0
mov edx, dword [ebp - 0x24]
cmp dword [edx - 0xc], 0
je 0x40bb90
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x1c]
call fcn.004048a0
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx - 0xc], 0
je 0x40bba4
lea eax, [ebp - 0x2c]
lea edi, [ebp - 0x18]
call fcn.004048a0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bbc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bbe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0040c1f0
mov edx, dword [ebp - 0x20]
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40bd50
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0040d050
mov bl, 0xa
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x28]
mov eax, dword [edx - 0xc]
mov ecx, dword [edx - 8]
lea edi, [eax + eax + 2]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40bc95
xor eax, eax
lea ecx, [ebp - 0x28]
call fcn.004055c0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
push 1
push 0
push eax
push ecx
call esi
test eax, eax
jne 0x40bd17
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.0040d050
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax - 0xc]
mov edx, dword [eax - 8]
lea edi, [ecx + ecx + 2]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x40bcde
xor eax, eax
lea ecx, [ebp - 0x24]
call fcn.004055c0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
push edi
push eax
mov eax, dword [ebp - 0x10]
push 1
push 0
push edx
push eax
call esi
neg eax
sbb esi, esi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
inc esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40bd1a
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 0x10], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bd53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40bd53
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.0040d050
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x40beb5
lea ecx, [ebp - 0x34]
push ecx
mov ecx, str.SpesmarlIlnclzsQQ
xor esi, esi
call fcn.0040dcd0
mov eax, dword [eax]
add esp, 4
push esi
lea edx, [ebp - 0x10]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 0x34]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bdc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40beb5
test edi, edi
je 0x40be60
cmp word [edi], si
je 0x40be60
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
lea edx, [ebp - 0x34]
push edx
mov ecx, str.RltRlfizl
lea edi, [eax + eax + 2]
call fcn.0040dcd0
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40be1f
xor eax, eax
lea ecx, [ebp - 0x14]
call fcn.004055c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx]
push edi
push edx
push 1
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x34]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40bea4
jmp 0x40be9d
lea ecx, [ebp - 0x34]
push ecx
mov ecx, str.RltRlfizl
call fcn.0040dcd0
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
add esp, 4
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x2c], 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x40bfd8
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40bec5
sub eax, edx
sar eax, 1
je 0x40bfd8
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.0040d050
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
call fcn.00409fa0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bf12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40c098
xor esi, esi
push esi
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40c098
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0xc]
lea edi, [eax + eax + 2]
lea eax, [ebp - 0x34]
push eax
mov ecx, str.RltRlfizl
call fcn.0040dcd0
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40bf7e
xor eax, eax
lea ecx, [ebp - 0x14]
call fcn.004055c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x10]
push edi
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x34]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bfb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40bfc2
mov esi, 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
jmp 0x40c098
mov esi, dword [ebp - 0x2c]
lea ebx, [ebp - 0x30]
call fcn.00409d90
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x30]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x40c06e
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x80000001
mov byte [ebp - 4], 0x11
call fcn.00405a90
test eax, eax
jne 0x40c05c
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.RltRlfizl
call fcn.0040dcd0
mov eax, dword [eax]
mov edi, dword [ebp - 0x40]
add esp, 4
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c04d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x40c05f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x40c05f
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 0x10
cmp edi, ebx
je 0x40c06e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
call fcn.00409fa0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c098
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c0bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c0de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c127
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret