Function at 0x405620
Capabilities:
Delete registry key
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x45b738]
xor eax, esp
mov dword [esp + 0x550], eax
push ebx
push esi
push edi
mov eax, dword [0x45b738]
xor eax, esp
push eax
lea eax, [esp + 0x568]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x2c], edi
call fcn.00417cc9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405680
push 0x80004005
call fcn.00402f80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x40]
push ecx
push 0x44f630
mov dword [esp + 0x578], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4060f7
push 0x3ff
push eax
lea edx, [esp + 0x165]
push edx
mov dword [esp + 0x30], 1
mov byte [esp + 0x168], al
call fcn.0042b0d0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x160]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x34], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x405763
lea ecx, [esp + 0x15c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040b800
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x574], 1
call fcn.00403730
mov byte [esp + 0x570], 0
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 0x40575f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x28]
mov byte [edi + 0x7c], 1
cmp dword [esi - 0xc], 0
jne 0x4057b6
push 0x10
push 0x44f6d0
push 0x44f6f0
mov ecx, edi
call fcn.00411e07
lea ecx, [esp + 0x2c]
push ecx
push str.SoftwareUkrGazTech
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov edx, dword [esp + 0x2c]
push str.BDCONFIG
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor al, al
mov byte [esp + 0x13], al
push 0x456114
lea eax, [esp + 0x17]
push eax
call fcn.0042cc96
call fcn.00417cc9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4057d0
push 0x80004005
call fcn.00402f80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x570], 2
call fcn.00417cc9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405802
push 0x80004005
call fcn.00402f80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x28]
lea ecx, [edi + 0xb4]
push edx
mov byte [esp + 0x574], 3
call fcn.00403730
push 0x8000
push esi
lea ecx, [esp + 0xe8]
call fcn.0041921a
lea ecx, [esp + 0xe0]
mov byte [esp + 0x570], 4
call fcn.00418f3f
push esi
lea eax, [esp + 0x50]
push eax
call fcn.00408940
lea edi, [esp + 0x4c]
mov byte [esp + 0x570], 5
call fcn.004054e0
test al, al
je 0x40594e
lea ecx, [esp + 0xa4]
mov byte [esp + 0x570], 4
call fcn.00408a60
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], vtable.std::ios_base.0
call fcn.00443386
add esp, 4
lea ecx, [esp + 0xe0]
mov byte [esp + 0x570], 3
call fcn.00418fb4
lea eax, [ebx - 0x10]
mov byte [esp + 0x570], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4058db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x570], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405903
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [esp + 0x570], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40592a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0x568]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x550]
xor ecx, esp
call fcn.00428ac7
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x4c]
call fcn.00408550
mov ebx, dword [esp + 0x2c]
add ebx, 0x94
mov eax, ebx
call fcn.00408490
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov ecx, dword [esp + ecx + 0x54]
add eax, 4
test cl, 1
jne 0x405f95
nop
mov edx, dword [eax]
push 0xa
lea eax, [esp + edx + 0x50]
push eax
call fcn.00409d30
lea ecx, [esp + 0xf4]
lea edx, [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00409f30
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x18]
call fcn.0040b760
lea ecx, [esp + 0x14]
lea edi, [esp + 0x4c]
call fcn.00405470
push str._Main_
lea esi, [esp + 0x18]
call fcn.004082e0
add esp, 4
test al, al
jne 0x40600c
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
push 0xa
lea eax, [esp + edx + 0x50]
push eax
call fcn.00409d30
lea ecx, [esp + 0xf4]
mov edx, edi
push eax
push ecx
push edx
call fcn.00409f30
lea eax, [esp + 0xf4]
push eax
mov ecx, esi
call fcn.0040b760
mov ecx, esi
call fcn.00405470
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jl 0x406021
push 0x44f0b0
push esi
call fcn.0042a252
add esp, 8
test eax, eax
je 0x406021
sub eax, esi
sar eax, 1
js 0x406021
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00403730
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 4]
push 0xa
lea ecx, [esp + eax + 0x50]
push ecx
call fcn.00409d30
lea edx, [esp + 0xf4]
push eax
push edx
mov eax, edi
push eax
call fcn.00409f30
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040b760
lea ecx, [esp + 0x14]
call fcn.00405470
push 0x44f4d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 1
call fcn.0040b800
push 1
lea edx, [esp + 0x1c]
push 0x44f75c
push edx
mov byte [esp + 0x57c], 6
call fcn.004031b0
add esp, 0xc
lea eax, [esp + 0x38]
push str.name
push eax
lea ecx, [esp + 0x20]
call fcn.004080e0
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x405adf
or esi, 0xffffffff
jmp 0x405b07
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jge 0x405aee
or esi, 0xffffffff
jmp 0x405b07
push eax
push esi
call fcn.0042a252
add esp, 8
test eax, eax
jne 0x405b01
or esi, 0xffffffff
jmp 0x405b07
sub eax, esi
sar eax, 1
mov esi, eax
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 0x405b27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jl 0x40604b
mov edx, dword [ebx + 4]
test edx, edx
jne 0x405b3a
xor ecx, ecx
jmp 0x405b42
mov ecx, dword [ebx + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x405b7c
mov eax, dword [ebx + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x405b7c
mov edx, dword [esp + 0x30]
mov edi, dword [ebx + 8]
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push 1
push edi
call fcn.0040b220
add esp, 0x14
add edi, 4
mov dword [ebx + 8], edi
jmp 0x405be5
mov eax, dword [ebx + 8]
cmp edx, eax
mov dword [esp + 0x1c], eax
jbe 0x405b8c
call fcn.004292a5
mov esi, dword [ebx + 4]
test esi, esi
je 0x405b9f
mov eax, dword [ebx + 8]
mov ecx, eax
sub ecx, esi
sar ecx, 2
jne 0x405ba3
xor edi, edi
jmp 0x405bb5
cmp esi, eax
jbe 0x405bac
call fcn.004292a5
mov edi, dword [esp + 0x1c]
sub edi, esi
sar edi, 2
mov edx, dword [esp + 0x1c]
push edx
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0040a850
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x405bd3
call fcn.004292a5
lea edi, [esi + edi*4]
cmp edi, dword [ebx + 8]
ja 0x405be0
cmp edi, dword [ebx + 4]
jae 0x405be5
call fcn.004292a5
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
push 0xa
lea eax, [esp + edx + 0x50]
push eax
call fcn.00409d30
lea ecx, [esp + 0xf4]
lea edx, [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00409f30
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x18]
call fcn.0040b760
lea ecx, [esp + 0x14]
lea edi, [esp + 0x4c]
call fcn.00405470
lea ecx, [esp + 0x44]
push 0x44f770
push ecx
lea ecx, [esp + 0x20]
call fcn.004080e0
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x405c4a
or esi, 0xffffffff
jmp 0x405c72
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jge 0x405c59
or esi, 0xffffffff
jmp 0x405c72
push eax
push esi
call fcn.0042a252
add esp, 8
test eax, eax
jne 0x405c6c
or esi, 0xffffffff
jmp 0x405c72
sub eax, esi
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405c92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jl 0x406036
mov edx, dword [ebx + 4]
test edx, edx
jne 0x405ca5
xor ecx, ecx
jmp 0x405cad
mov ecx, dword [ebx + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x405ce7
mov eax, dword [ebx + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x405ce7
mov edx, dword [esp + 0x34]
mov edi, dword [ebx + 8]
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x48]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push 1
push edi
call fcn.0040b220
add esp, 0x14
add edi, 4
mov dword [ebx + 8], edi
jmp 0x405d50
mov eax, dword [ebx + 8]
cmp edx, eax
mov dword [esp + 0x1c], eax
jbe 0x405cf7
call fcn.004292a5
mov esi, dword [ebx + 4]
test esi, esi
je 0x405d0a
mov eax, dword [ebx + 8]
mov ecx, eax
sub ecx, esi
sar ecx, 2
jne 0x405d0e
xor edi, edi
jmp 0x405d20
cmp esi, eax
jbe 0x405d17
call fcn.004292a5
mov edi, dword [esp + 0x1c]
sub edi, esi
sar edi, 2
mov edx, dword [esp + 0x1c]
push edx
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0040a850
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x405d3e
call fcn.004292a5
lea eax, [esi + edi*4]
cmp eax, dword [ebx + 8]
ja 0x405d4b
cmp eax, dword [ebx + 4]
jae 0x405d50
call fcn.004292a5
mov eax, dword [esp + 0x24]
add eax, 1
push eax
lea ecx, [esp + 0x1c]
push 0x44f75c
push ecx
mov dword [esp + 0x30], eax
call fcn.004031b0
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 4]
add esp, 0xc
push 0xa
lea ecx, [esp + eax + 0x50]
push ecx
call fcn.00409d30
lea edx, [esp + 0xf4]
push eax
push edx
lea eax, [esp + 0x54]
push eax
call fcn.00409f30
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040b760
lea ecx, [esp + 0x14]
lea edi, [esp + 0x4c]
call fcn.00405470
lea edx, [esp + 0x30]
push str.name
push edx
lea ecx, [esp + 0x20]
call fcn.004080e0
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x405dd3
or esi, 0xffffffff
jmp 0x405dfb
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jge 0x405de2
or esi, 0xffffffff
jmp 0x405dfb
push eax
push esi
call fcn.0042a252
add esp, 8
test eax, eax
jne 0x405df5
or esi, 0xffffffff
jmp 0x405dfb
sub eax, esi
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jge 0x405b2f
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
push 0xa
lea eax, [esp + edx + 0x50]
push eax
call fcn.00409d30
lea ecx, [esp + 0xf4]
lea edx, [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00409f30
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x18]
call fcn.0040b760
lea ecx, [esp + 0x14]
lea edi, [esp + 0x4c]
call fcn.00405470
push str.depictlogonno
lea esi, [esp + 0x18]
call fcn.004082e0
add esp, 4
test al, al
jne 0x406060
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
push 0xa
lea eax, [esp + edx + 0x50]
push eax
call fcn.00409d30
lea ecx, [esp + 0xf4]
mov edx, edi
push eax
push ecx
push edx
call fcn.00409f30
lea eax, [esp + 0xf4]
push eax
mov ecx, esi
call fcn.0040b760
mov ecx, esi
call fcn.00405470
push str.tasklist42
call fcn.004082e0
add esp, 4
test al, al
jne 0x406075
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
push 0xa
lea eax, [esp + edx + 0x50]
push eax
call fcn.00409d30
lea ecx, [esp + 0xf4]
mov edx, edi
push eax
push ecx
push edx
call fcn.00409f30
lea eax, [esp + 0xf4]
push eax
mov ecx, esi
call fcn.0040b760
mov ecx, esi
call fcn.00405470
push str.showDBListy
call fcn.004082e0
add esp, 4
test al, al
jne 0x40608a
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
push 0xa
lea eax, [esp + edx + 0x50]
push eax
call fcn.00409d30
lea ecx, [esp + 0xf4]
mov edx, edi
push eax
push ecx
push edx
call fcn.00409f30
lea eax, [esp + 0xf4]
push eax
mov ecx, esi
call fcn.0040b760
mov ecx, esi
call fcn.00405470
mov byte [esp + 0x570], 5
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 0x405f80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
add eax, 4
test byte [esp + ecx + 0x54], 1
je 0x405980
lea ecx, [esp + 0x18]
call fcn.004031d0
mov byte [esp + 0x570], 7
mov eax, dword [esp + 0x24]
sub eax, 1
push eax
lea eax, [esp + 0x1c]
push 0x44f75c
push eax
call fcn.004031b0
add esp, 0xc
lea ecx, [esp + 0x30]
push str.servercnt
push ecx
lea ecx, [esp + 0x20]
call fcn.004080e0
mov ecx, dword [eax]
add esp, 8
lea esi, [esp + 0x20]
call fcn.00408080
test eax, eax
lea ecx, [esp + 0x30]
setl bl
call fcn.004012f0
test bl, bl
je 0x40609f
push 0x456124
lea edx, [esp + 0x17]
xor al, al
push edx
mov byte [esp + 0x1b], al
call fcn.0042cc96
push 0x456124
lea edx, [esp + 0x17]
xor al, al
push edx
mov byte [esp + 0x1b], al
call fcn.0042cc96
xor al, al
mov byte [esp + 0x13], al
push 0x456124
lea eax, [esp + 0x17]
push eax
call fcn.0042cc96
push 0x456124
lea ecx, [esp + 0x17]
xor al, al
push ecx
mov byte [esp + 0x1b], al
call fcn.0042cc96
push 0x456124
lea edx, [esp + 0x17]
xor al, al
push edx
mov byte [esp + 0x1b], al
call fcn.0042cc96
xor al, al
mov byte [esp + 0x13], al
push 0x456124
lea eax, [esp + 0x17]
push eax
call fcn.0042cc96
push 0x456124
lea ecx, [esp + 0x17]
xor al, al
push ecx
mov byte [esp + 0x1b], al
call fcn.0042cc96
push 0x456124
lea edx, [esp + 0x17]
xor al, al
push edx
mov byte [esp + 0x1b], al
call fcn.0042cc96
mov eax, dword [esp + 0x2c]
push eax
call fcn.00404fb0
lea ecx, [esp + 0x18]
call fcn.004012f0
lea eax, [esp + 0x4c]
mov byte [esp + 0x570], 4
call fcn.00406110
lea ecx, [esp + 0xe0]
mov byte [esp + 0x570], 3
call fcn.00418fb4
lea ecx, [esp + 0x20]
call fcn.004012f0
lea ecx, [esp + 0x14]
call fcn.004012f0
lea ecx, [esp + 0x28]
call fcn.004012f0
jmp 0x40592a
push 0
push 0
push 0x44f678
call fcn.004108a6
push 0
call fcn.00429f30
int3