Function at 0x40d880
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c58c1
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x51fee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
call fcn.00417870
mov ecx, dword [0x5214d8]
mov edx, 0x1d034948
test al, al
cmove ecx, edx
mov dword [0x5214d8], ecx
push 0
lea ecx, [ebp - 0xa8]
call fcn.00443cd0
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push str.success
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00443c90
lea eax, [ebp - 0x84]
push eax
push 0x4da4ec
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00443ee0
call fcn.00417a20
test al, al
jne 0x40d999
mov esi, dword [0x521340]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x63]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a63b0
push eax
call fcn.004a8200
add esp, 8
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x74], edi
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 3
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x60], esi
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x94], ebx
push str.success
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.00443c90
push 0x4da4ec
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 7
call fcn.00444170
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.00443ee0
mov ecx, dword [ebp - 0x64]
push str.hive
call fcn.00444250
sub esp, 0x18
mov ecx, eax
push esp
call fcn.00444a40
lea eax, [ebp - 0x6c]
push eax
call fcn.0044ff60
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], ecx
cmp eax, ecx
je 0x40daaa
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x40da9b
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40da9b
push dword [ebp - 0x50]
call fcn.00404880
add esp, 4
mov dword [ebp - 0x50], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40da93
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
lea edi, [eax + 0x10]
mov dword [ebp - 0x74], edi
jmp 0x40daaa
push dword [edx - 0xc]
lea ecx, [ebp - 0x74]
push edx
call fcn.004097a0
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
or ecx, 0xffffffff
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dacb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
push ecx
mov ecx, dword [edi]
mov dword [ebp - 0x50], esp
mov eax, dword [ecx]
mov dword [ebp - 0x70], edi
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40daf6
cmp ecx, dword [edi]
jne 0x40daf6
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40db36
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x40db0a
call fcn.0040c350
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004a8205
add esp, 0x10
mov ecx, dword [ebp - 0x50]
lea eax, [edi + 0x10]
mov dword [ecx], eax
call fcn.00415480
add esp, 4
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x40dc4f
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x58]
push str.deleteRegElement_hive_error_
push eax
call fcn.0040b870
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 9
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00443bf0
push 0x4da4ec
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.00444170
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00443ee0
cmp dword [ebp - 0x18], 0x10
jb 0x40dbcc
push dword [ebp - 0x2c]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dbef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dc0c
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dc29
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dc46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e672
mov ecx, dword [ebp - 0x64]
push 0x4da994
call fcn.00444250
sub esp, 0x18
mov ecx, eax
push esp
call fcn.00444a40
lea eax, [ebp - 0x6c]
push eax
call fcn.0044ff60
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea edi, [edx - 0x10]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x50], ecx
cmp edi, ecx
je 0x40dcd4
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x40dcc5
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x40dcc5
push edi
call fcn.00404880
or edi, 0xffffffff
add esp, 4
mov dword [ebp - 0x68], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40dcbd
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x68]
lea esi, [eax + 0x10]
mov dword [ebp - 0x60], esi
jmp 0x40dcd7
push dword [edx - 0xc]
lea ecx, [ebp - 0x60]
push edx
call fcn.004097a0
mov esi, dword [ebp - 0x60]
or edi, 0xffffffff
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dcf7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x64]
push 0x4daa4c
call fcn.004452a0
test al, al
je 0x40ddbc
mov ecx, dword [ebp - 0x64]
push 0x4daa4c
call fcn.00444250
sub esp, 0x18
mov ecx, eax
push esp
call fcn.00444a40
lea eax, [ebp - 0x6c]
push eax
call fcn.0044ff60
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], ecx
cmp eax, ecx
je 0x40dd9c
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x40dd87
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40dd87
push dword [ebp - 0x50]
call fcn.00404880
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x40dd7c
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x94], ebx
jmp 0x40dd9c
push dword [edx - 0xc]
lea ecx, [ebp - 0x94]
push edx
call fcn.004097a0
mov ebx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ddbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xf023f
push esi
push dword [ebp - 0x58]
lea ecx, [ebp - 0x90]
mov byte [ebp - 0x59], 0
call fcn.0040bf80
test eax, eax
je 0x40df21
push 0xf013f
push esi
push dword [ebp - 0x58]
lea ecx, [ebp - 0x90]
mov byte [ebp - 0x59], 1
call fcn.0040bf80
test eax, eax
je 0x40df21
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0043f5e0
add esp, 8
push eax
lea eax, [ebp - 0x58]
push str.deleteRegElement_Open_
push eax
mov byte [ebp - 4], 0xe
call fcn.0040b870
add esp, 0xc
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40de3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call fcn.00443bf0
push 0x4da4ec
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x12
call fcn.00444170
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call fcn.00443ee0
cmp dword [ebp - 0x18], 0x10
jb 0x40dea1
push dword [ebp - 0x2c]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dec1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dede
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40defb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40df18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e657
cmp dword [ebx - 0xc], 0
jne 0x40e446
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40df46
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x90], 0
mov ecx, dword [esi - 0xc]
mov dword [ebp - 0x8c], 0
lea eax, [ecx - 1]
test eax, eax
js 0x40df6b
cmp eax, ecx
jg 0x40df6b
cmp word [esi + eax*2], 0x5c
jne 0x40dfa3
dec ecx
mov dword [ebp - 0x50], ecx
jns 0x40df75
push 0x80070057
call fcn.004044c0
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x40df95
push ecx
lea ecx, [ebp - 0x60]
call fcn.00408680
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [esi - 8]
jg 0x40df6b
xor eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], ax
mov eax, dword [esi - 0xc]
push 0x5c
push esi
mov dword [ebp - 0x50], eax
call fcn.004a8749
add esp, 8
test eax, eax
jne 0x40dfbd
or eax, 0xffffffff
jmp 0x40dfc1
sub eax, esi
sar eax, 1
mov ecx, dword [ebp - 0x50]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040c230
push 0x5c
push esi
mov byte [ebp - 4], 0x13
call fcn.004a8749
add esp, 8
test eax, eax
jne 0x40dfec
or eax, 0xffffffff
jmp 0x40dff0
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040bdf0
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x14
call fcn.00402b30
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e02a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x521340]
mov esi, 9
lea eax, [ecx + 1]
imul eax, ecx
cdq
idiv esi
cmp edx, 7
jne 0x40e049
inc dword [0x5214e0]
cmp byte [ebp - 0x59], 0
mov edx, 0x100
mov eax, 0x200
cmovne eax, edx
or eax, 0xf003f
mov dword [ebp - 0x54], eax
mov eax, ecx
imul eax, ecx
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 0xe
jne 0x40e0d8
mov edi, dword [0x521340]
mov eax, edi
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
mov esi, 0xff
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x68], eax
mov edi, edi
test eax, eax
jle 0x40e0cd
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
mov eax, dword [ebp - 0x68]
sar edi, 2
xor edx, edx
mov dword [ebp - 0x6c], eax
test edi, edi
jle 0x40e0bc
mov eax, edx
mov ecx, edi
add esi, eax
dec eax
dec ecx
jne 0x40e0b0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x50]
add edx, ecx
dec eax
mov dword [ebp - 0x6c], eax
jne 0x40e0a8
mov eax, dword [ebp - 0x68]
mov edi, dword [0x521340]
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, esi
jl 0x40e090
or edi, 0xffffffff
push dword [ebp - 0x54]
mov esi, dword [ebp - 0x60]
push esi
push dword [ebp - 0x58]
lea ecx, [ebp - 0x90]
call fcn.0040bf80
mov dword [ebp - 0x54], eax
call fcn.004177d0
test al, al
jne 0x40e110
push 0xe6
push 0xe5
push str._d__d_n
call fcn.004a90ce
add esp, 0xc
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x40e264
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0043f5e0
add esp, 8
push eax
lea eax, [ebp - 0x50]
push str.deleteRegElement_Open_sub_
push eax
mov byte [ebp - 4], 0x15
call fcn.0040b870
add esp, 0xc
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x17
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e15e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x18
call fcn.00443bf0
push 0x4da4ec
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x19
call fcn.00444170
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x18
call fcn.00443ee0
cmp dword [ebp - 0x18], 0x10
jb 0x40e1c0
push dword [ebp - 0x2c]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e1e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e200
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e21d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e23a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40df18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e657
push dword [ebp - 0x64]
lea ecx, [ebp - 0x90]
call fcn.0040c0e0
test eax, eax
je 0x40e3c3
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0043f5e0
add esp, 8
push eax
lea eax, [ebp - 0x50]
push str.deleteRegElement_RecurseDeleteKey_
push eax
mov byte [ebp - 4], 0x1a
call fcn.0040b870
add esp, 0xc
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e2bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1d
call fcn.00443bf0
push 0x4da4ec
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x1e
call fcn.00444170
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1d
call fcn.00443ee0
cmp dword [ebp - 0x18], 0x10
jb 0x40e31f
push dword [ebp - 0x2c]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e33f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e35f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e37c
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e399
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40df18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e657
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e3e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov dword [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e403
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e420
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e657
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40e657
push ebx
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x50], eax
call fcn.00417900
test al, al
jne 0x40e482
mov eax, 1
mov ecx, eax
lea edx, [eax + 0x23]
jmp 0x40e473
mov eax, dword [ebp - 0x54]
add eax, ecx
dec edx
mov dword [ebp - 0x54], ecx
mov ecx, eax
jns 0x40e470
mov dword [0x521340], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40e3e3
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0043f5e0
add esp, 8
push eax
lea eax, [ebp - 0x50]
push str.deleteRegElement_DeleteValue_
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040b870
add esp, 0xc
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x21
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e4d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x22
call fcn.00443bf0
push 0x4da4ec
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x23
call fcn.00444170
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x22
call fcn.00443ee0
cmp dword [ebp - 0x18], 0x10
jb 0x40e532
push dword [ebp - 0x2c]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e552
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e56f
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e58c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40df18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e657
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40e672
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
call fcn.00417b40
test al, al
jne 0x40e6a1
mov esi, 1
mov eax, esi
mov ecx, 0xdd
dec ecx
lea edx, [eax + esi]
lea esi, [eax]
mov eax, edx
jns 0x40e691
mov dword [0x521340], edx
lea ecx, [ebp - 0x4c]
call fcn.00445f40
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 0x28
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
mov ecx, dword [0x521340]
mov ebx, 0x17
lea eax, [ecx + 1]
imul eax, ecx
cdq
idiv ebx
mov byte [ebp - 4], 0x29
cmp edx, 1
jne 0x40e6e4
dec ecx
mov dword [0x521340], ecx
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00448e50
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x2a
jb 0x40e705
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x40e724
xor ecx, ecx
jmp 0x40e73a
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e730
sub ecx, dword [ebp - 0x54]
push ecx
push edx
mov ecx, ebx
call fcn.00401460
lea eax, [ebp - 0x50]
push eax
call fcn.0044ff60
add esp, 0x1c
mov ecx, dword [eax]
lea ebx, [esi - 0x10]
lea edx, [ecx - 0x10]
mov byte [ebp - 4], 0x2b
cmp edx, ebx
je 0x40e7a7
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x40e798
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x40e798
push edx
call fcn.00404880
add esp, 4
mov dword [ebp - 0x54], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40e790
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x54]
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
jmp 0x40e7a7
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004097a0
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x2a
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e7c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x29
jb 0x40e7dc
push dword [ebp - 0x2c]
call fcn.004a6c2e
add esp, 4
mov ebx, dword [ebp - 0x98]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x40e7fd
call fcn.0040c350
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x28
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40e81b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 0x4da4e4
jb 0x40e837
push dword [ebp - 0x48]
call fcn.004a6c2e
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00446040
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40e862
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.00443ee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a7434
mov esp, ebp
pop ebp
ret