Function at 0x413510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4453f9
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x461008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x413550
push eax
call fcn.004323fa
add esp, 4
mov eax, dword [esi + 0x74]
test eax, eax
je 0x413560
push eax
call fcn.004323fa
add esp, 4
lea eax, [ebp - 0x74]
mov dword [esi + 0x74], 0
push eax
push 0x20119
push 0
push 0x456494
push 0x80000002
mov dword [esi + 0x70], 0
mov dword [ebp - 0x74], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x41362a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x6c], 0x40
push eax
push 0
push 0
push str.LastAlerter
push edi
call ebx
test eax, eax
je 0x4135e5
push 0x4563b4
call fcn.004319e0
add esp, 4
mov dword [esi + 0x70], eax
mov ecx, 0x16a
call fcn.00416830
push eax
call fcn.004319e0
add esp, 4
jmp 0x413620
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 4
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.AlerterCount
push edi
call ebx
test eax, eax
jne 0x413623
push dword [ebp - 0x78]
push 0x44bbe0
call fcn.00414e90
mov dword [esi + 0x70], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004319e0
add esp, 0xc
mov dword [esi + 0x74], eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x74], 0
jne 0x413656
push 0x4563b4
call fcn.004319e0
add esp, 4
mov dword [esi + 0x70], eax
mov ecx, 0x16a
call fcn.00416830
push eax
call fcn.004319e0
add esp, 4
mov dword [esi + 0x74], eax
mov ecx, dword [esi + 0x70]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413660
sub ecx, edx
sar ecx, 1
mov dword [esi + 0x78], ecx
mov ecx, dword [esi + 0x74]
lea edx, [ecx + 2]
jmp 0x413680
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413680
sub ecx, edx
sar ecx, 1
mov dword [esi + 0x7c], ecx
call fcn.00409a10
mov ecx, dword [esi + 4]
mov byte [esi + 0x80], al
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], 0
call fcn.004177e0
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
test al, al
je 0x413be4
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 0x74]
mov ecx, dword [esi + 0x44]
push 1
push 0
mov al, byte [ebx + 4]
push 0
push dword [ecx + 0x1c]
and al, 1
mov byte [ecx + 0x18], al
call edi
mov ecx, dword [esi + 0x48]
mov al, byte [ebx + 0xc]
push 1
push 0
push 0
push dword [ecx + 0x1c]
and al, 1
mov byte [ecx + 0x18], al
call edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0x4c]
and eax, 0x80000001
push 1
push 0
cmp eax, 0x80000001
push 0
push dword [ecx + 0x1c]
sete al
mov byte [ecx + 0x18], al
call edi
push 8
push 0x4563b8
lea ecx, [ebp - 0x68]
call fcn.00404220
mov ecx, 0x321
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x41374a
xor ecx, ecx
jmp 0x41375f
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413750
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x68]
add ecx, 0x90
cmp ecx, eax
je 0x413783
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
push 7
push str.Botnet_n
lea ecx, [ebp - 0x68]
call fcn.00404220
mov ecx, 0x322
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x4137a8
xor ecx, ecx
jmp 0x4137bf
mov ecx, edx
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4137b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x68]
add ecx, 0x90
cmp ecx, eax
je 0x4137e3
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
mov ecx, 0x1a4
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x4137f9
xor ecx, ecx
jmp 0x41380f
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413800
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00404220
push 1
push 0x4563dc
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov ecx, 0x323
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x41383e
xor ecx, ecx
jmp 0x413852
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413843
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov eax, dword [esi + 0x44]
mov al, byte [eax + 0x18]
test al, al
jne 0x4138a9
push 1
push 0x455fd4
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov ecx, 0x1a6
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x41388b
xor ecx, ecx
jmp 0x41389f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413890
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00403ce0
cmp dword [ebp - 0x54], 8
mov edx, dword [ebp - 0x68]
jae 0x4138b5
lea edx, [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
cmp word [edx], ax
jne 0x4138d5
xor ecx, ecx
jmp 0x4138ef
mov ecx, edx
lea edi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4138e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00404220
mov byte [ebp - 4], 1
lea eax, [ebp - 0x90]
mov ecx, dword [esi + 0x44]
add ecx, 0x90
cmp ecx, eax
je 0x41391d
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
mov byte [ebp - 4], 0
cmp dword [ebp - 0x7c], 8
jb 0x413935
push dword [ebp - 0x90]
call fcn.0043198a
add esp, 4
mov ecx, 0x1ae
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x41394b
xor ecx, ecx
jmp 0x41395f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413950
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00404220
push 1
push 0x4563dc
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov ecx, 0x324
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x41398e
xor ecx, ecx
jmp 0x4139a2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413993
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov eax, dword [esi + 0x48]
mov al, byte [eax + 0x18]
test al, al
jne 0x4139f9
push 1
push 0x455fd4
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov ecx, 0x1a6
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x4139db
xor ecx, ecx
jmp 0x4139ef
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4139e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00403ce0
cmp dword [ebp - 0x54], 8
mov edx, dword [ebp - 0x68]
jae 0x413a05
lea edx, [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
cmp word [edx], ax
jne 0x413a2b
xor ecx, ecx
jmp 0x413a3f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413a30
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xc0]
call fcn.00404220
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc0]
mov ecx, dword [esi + 0x48]
add ecx, 0x90
cmp ecx, eax
je 0x413a6d
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
mov byte [ebp - 4], 0
cmp dword [ebp - 0xac], 8
jb 0x413a88
push dword [ebp - 0xc0]
call fcn.0043198a
add esp, 4
mov ecx, 0x1b3
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x413a9e
xor ecx, ecx
jmp 0x413ab2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413aa3
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00404220
push 1
push 0x4563dc
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov ecx, 0x325
call fcn.00416830
mov edx, eax
cmp word [edx], 0
jne 0x413ae1
xor ecx, ecx
jmp 0x413af5
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413ae6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00403ce0
mov eax, dword [esi + 0x4c]
mov al, byte [eax + 0x18]
test al, al
jne 0x413b39
push 1
push 0x455fd4
lea ecx, [ebp - 0x68]
call fcn.00403ce0
test dword [ebx + 0xc], 0x80000000
mov ecx, 0x1a6
jne 0x413b2b
mov ecx, 0x329
call fcn.00416830
push eax
lea ecx, [ebp - 0x68]
call fcn.00403c90
cmp dword [ebp - 0x54], 8
mov edx, dword [ebp - 0x68]
jae 0x413b45
lea edx, [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
cmp word [edx], ax
jne 0x413b6b
xor ecx, ecx
jmp 0x413b7f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413b70
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00404220
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa8]
mov ecx, dword [esi + 0x4c]
add ecx, 0x90
cmp ecx, eax
je 0x413bad
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
cmp dword [ebp - 0x94], 8
jb 0x413bc4
push dword [ebp - 0xa8]
call fcn.0043198a
add esp, 4
push ebx
call fcn.004323fa
add esp, 4
cmp dword [ebp - 0x54], 8
jb 0x413bde
push dword [ebp - 0x68]
call fcn.0043198a
add esp, 4
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push 1
push 0
push 0
push dword [esi + 0x18]
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043183b
mov esp, ebp
pop ebp
ret