Function at 0x4023d0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a580
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x425080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00408a40
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0040bcf1
lea eax, [ebp + 8]
mov edx, 0x422000
push eax
lea ecx, [ebp - 0x664]
call fcn.00404ad0
push 0x421ffc
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64c]
call fcn.00404c10
add esp, 0x20
lea ecx, [ebp + 8]
push eax
call fcn.00404450
mov ecx, dword [ebp - 0x638]
cmp ecx, 7
jbe 0x4024a9
mov edx, dword [ebp - 0x64c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40249f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026f9
push ecx
push edx
call fcn.00407066
add esp, 8
mov ecx, dword [ebp - 0x650]
xor eax, eax
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 7
mov word [ebp - 0x64c], ax
cmp ecx, 7
jbe 0x402506
mov edx, dword [ebp - 0x664]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4024fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026f9
push ecx
push edx
call fcn.00407066
add esp, 8
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00408a40
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0040bcf1
add esp, 0x18
lea eax, [ebp - 0x634]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40265b
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00408a40
add esp, 0xc
mov dword [ebp - 0x62c], 0x208
cmp dword [ebp + 0x34], 7
lea ecx, [ebp - 0x62c]
lea eax, [ebp + 0x20]
cmova eax, dword [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x630]
push ecx
push 0
push eax
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40264f
cmp dword [ebp - 0x630], 1
jne 0x40264f
lea ecx, [ebp - 0x420]
lea eax, [ebp - 0x218]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4025f6
test dx, dx
je 0x4025f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4025f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4025d0
xor eax, eax
jmp 0x4025fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40263f
lea ecx, [ebp - 0x628]
lea eax, [ebp - 0x218]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402636
test dx, dx
je 0x402632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402636
add eax, 4
add ecx, 4
test dx, dx
jne 0x402610
xor eax, eax
jmp 0x40263b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40264f
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x40265d
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x402693
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402689
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026fe
push ecx
push edx
call fcn.00407066
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x4026dd
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4026d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026fe
push ecx
push edx
call fcn.00407066
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406dd7
mov esp, ebp
pop ebp
ret
call fcn.0040c0ca
call fcn.0040c0ca
int3