Function at 0x435840
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d311b
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x508164]
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 edi, ecx
call fcn.004363c0
push ecx
lea ecx, [ebp - 0x2a0]
mov bl, al
call fcn.00411a40
lea eax, [ebp - 0x2a0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x70]
call fcn.00408080
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040eec0
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x4358b1
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4358c8
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040e3a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x70]
push eax
call fcn.0048dbcc
mov byte [ebp - 4], 3
call fcn.00413510
test al, al
je 0x43590d
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x435912
mov eax, SysReAllocString
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.S_MR_u7b
push 0x132
push 0x4ecae8
push 4
call fcn.00407ee0
push eax
call fcn.00407c80
add esp, 0x1c
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae esi, dword [ebp - 0x28]
call fcn.00413510
test al, al
je 0x435954
mov edx, dword [ebp - 0x78]
test edx, edx
jne 0x435959
mov edx, SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
mov ecx, edi
call fcn.00435290
add esp, 8
test bl, bl
je 0x43599d
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.00413510
test al, al
je 0x435988
mov edx, dword [ebp - 0x78]
test edx, edx
jne 0x43598d
mov edx, SysReAllocString
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionRun
push esi
mov ecx, edi
call fcn.00435290
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.00413510
test al, al
je 0x4359b8
mov edx, dword [ebp - 0x78]
test edx, edx
jne 0x4359bd
mov edx, SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun
push esi
mov ecx, edi
call fcn.00435290
add esp, 8
test bl, bl
je 0x435a01
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.00413510
test al, al
je 0x4359ec
mov edx, dword [ebp - 0x78]
test edx, edx
jne 0x4359f1
mov edx, SysReAllocString
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionPoliciesExplorerRun
push esi
mov ecx, edi
call fcn.00435290
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.00413510
test al, al
je 0x435a1c
mov edx, dword [ebp - 0x78]
test edx, edx
jne 0x435a21
mov edx, SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
mov ecx, edi
call fcn.00435290
add esp, 8
test bl, bl
je 0x435a65
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.00413510
test al, al
je 0x435a50
mov edx, dword [ebp - 0x78]
test edx, edx
jne 0x435a55
mov edx, SysReAllocString
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionRunOnce
push esi
mov ecx, edi
call fcn.00435290
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x435a95
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435a8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435ace
push edx
push ecx
call fcn.0048d8eb
add esp, 8
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004119d0
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.0048d8b2
mov esp, ebp
pop ebp
ret
call fcn.004b0023
int3