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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42eee0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, section..data
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 [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
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.0040a050
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x407e6b
cmp dword [edi + 0xc], esi
lea ebx, [edi + 0xc]
jl 0x407e5e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x407e5e
call fcn.00403b90
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x407e56
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 0x407e6b
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x20]
push ecx
call fcn.00403ae0
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 0x407e8e
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.0040a050
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 0x407ef3
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x407ee6
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x407ee6
call fcn.00403b90
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x407ede
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 0x407ef3
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00403ae0
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 0x407f16
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.0040a050
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 0x407f7b
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x407f6e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x407f6e
call fcn.00403b90
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x407f66
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 0x407f7b
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.00403ae0
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 0x407f9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], 0
je 0x4080fa
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x4080fa
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 8
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
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.004079b0
mov esi, dword [ebp - 0x28]
add esp, 0x10
cmp dword [esi - 0xc], 0
je 0x40804c
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x20]
call fcn.004032d0
mov edx, dword [ebp - 0x24]
cmp dword [edx - 0xc], 0
je 0x408060
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x1c]
call fcn.004032d0
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx - 0xc], 0
je 0x408074
lea eax, [ebp - 0x2c]
lea edi, [ebp - 0x18]
call fcn.004032d0
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 0x408097
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 0x4080b7
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 0x4080da
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 0x4080fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004086c0
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 0x408220
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.004093c0
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 0x408165
xor eax, eax
lea ecx, [ebp - 0x28]
call fcn.00403e20
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 0x4081e7
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.004093c0
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 0x4081ae
xor eax, eax
lea ecx, [ebp - 0x24]
call fcn.00403e20
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 0x4081ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4081ea
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 0x408223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408223
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.004093c0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x408385
lea ecx, [ebp - 0x34]
push ecx
mov ecx, str.SpesmarlIlnclzsQQ
xor esi, esi
call fcn.0040a050
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 0x408296
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x408385
test edi, edi
je 0x408330
cmp word [edi], si
je 0x408330
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.0040a050
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 0x4082ef
xor eax, eax
lea ecx, [ebp - 0x14]
call fcn.00403e20
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 0x40832a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x408374
jmp 0x40836d
lea ecx, [ebp - 0x34]
push ecx
mov ecx, str.RltRlfizl
call fcn.0040a050
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 0x40836d
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 0x4084a8
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408395
sub eax, edx
sar eax, 1
je 0x4084a8
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.004093c0
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
call fcn.00406760
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 0x4083e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x408564
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 0x408564
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.0040a050
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 0x40844e
xor eax, eax
lea ecx, [ebp - 0x14]
call fcn.00403e20
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 0x408489
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x408492
mov esi, 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
jmp 0x408564
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.00406580
mov bl, 0x10
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x40853a
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 0x11
call fcn.004054c0
test eax, eax
jne 0x408529
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.RltRlfizl
call fcn.0040a050
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 0x40851a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x40852c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x40852c
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], bl
test edi, edi
je 0x40853a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
call fcn.00406760
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 0x408564
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 0x408587
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 0x4085aa
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 0x4085cd
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 0x4085f3
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