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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e9f0
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.00409b90
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x407bcb
cmp dword [edi + 0xc], esi
lea ebx, [edi + 0xc]
jl 0x407bbe
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x407bbe
call fcn.00403c60
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x407bb6
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 0x407bcb
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x20]
push ecx
call fcn.00403ba0
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 0x407bee
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.00409b90
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 0x407c53
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x407c46
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x407c46
call fcn.00403c60
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x407c3e
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 0x407c53
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00403ba0
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 0x407c76
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.00409b90
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 0x407cdb
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x407cce
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x407cce
call fcn.00403c60
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x407cc6
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 0x407cdb
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.00403ba0
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 0x407cfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], 0
je 0x407e5a
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x407e5a
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.00407710
mov esi, dword [ebp - 0x28]
add esp, 0x10
cmp dword [esi - 0xc], 0
je 0x407dac
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x20]
call fcn.004033b0
mov edx, dword [ebp - 0x24]
cmp dword [edx - 0xc], 0
je 0x407dc0
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x1c]
call fcn.004033b0
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx - 0xc], 0
je 0x407dd4
lea eax, [ebp - 0x2c]
lea edi, [ebp - 0x18]
call fcn.004033b0
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 0x407df7
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 0x407e17
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 0x407e3a
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 0x407e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00408420
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 [0x430034]
mov esi, dword [0x430004]
test eax, eax
jne 0x407f80
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00408fa0
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 0x407ec5
xor eax, eax
lea ecx, [ebp - 0x28]
call fcn.00403ef0
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 0x407f47
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.00408fa0
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 0x407f0e
xor eax, eax
lea ecx, [ebp - 0x24]
call fcn.00403ef0
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 0x407f4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407f4a
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x430040]
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 0x407f83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407f83
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.00408fa0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x4080e5
lea ecx, [ebp - 0x34]
push ecx
mov ecx, str.SpesmarlIlnclzsQQ
xor esi, esi
call fcn.00409b90
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 [0x430034]
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 0x407ff6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4080e5
test edi, edi
je 0x408090
cmp word [edi], si
je 0x408090
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.00409b90
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 0x40804f
xor eax, eax
lea ecx, [ebp - 0x14]
call fcn.00403ef0
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 [0x430004]
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 0x40808a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4080d4
jmp 0x4080cd
lea ecx, [ebp - 0x34]
push ecx
mov ecx, str.RltRlfizl
call fcn.00409b90
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
add esp, 4
push eax
push edx
call dword [0x430030]
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 0x4080cd
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 [0x430040]
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x408208
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4080f5
sub eax, edx
sar eax, 1
je 0x408208
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.00408fa0
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
call fcn.004064c0
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 0x408142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4082c4
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 [0x430034]
test eax, eax
jne 0x4082c4
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.00409b90
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 0x4081ae
xor eax, eax
lea ecx, [ebp - 0x14]
call fcn.00403ef0
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 [0x430004]
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 0x4081e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4081f2
mov esi, 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x430040]
mov dword [ebp - 0x10], 0
jmp 0x4082c4
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.004062e0
mov bl, 0x10
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x40829a
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.00406260
test eax, eax
jne 0x408289
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.RltRlfizl
call fcn.00409b90
mov eax, dword [eax]
mov edi, dword [ebp - 0x40]
add esp, 4
push eax
push edi
call dword [0x430030]
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 0x40827a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x40828c
push edi
call dword [0x430040]
xor edi, edi
jmp 0x40828c
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], bl
test edi, edi
je 0x40829a
push edi
call dword [0x430040]
xor ecx, ecx
call fcn.004064c0
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 0x4082c4
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 0x4082e7
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 0x40830a
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 0x40832d
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 0x408353
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