Function at 0x43c670
Capabilities:
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460538
mov eax, dword fs:[0]
push eax
sub esp, 0x738
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x644]
call fcn.00408ae0
mov dword [ebp - 4], 0
mov dword [ebp - 0x720], 0
push 0x467cb8
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x720], eax
cmp dword [ebp - 0x720], 0
je 0x43c790
lea ecx, [ebp - 0x6ec]
call fcn.00408ae0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x6ec]
push eax
push str.Common_Startup
push 0x467cf8
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043c1b0
add esp, 0x10
test eax, eax
jne 0x43c781
push 0x467cf4
lea ecx, [ebp - 0x644]
call fcn.00408a70
mov ecx, dword [ebp + 8]
call fcn.00405b40
mov ecx, dword [ebp - 0x720]
sub ecx, eax
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
lea ecx, [ebp - 0x644]
call fcn.0040a180
lea edx, [ebp - 0x6ec]
push edx
lea ecx, [ebp - 0x644]
call fcn.0040df10
mov eax, 2
imul ecx, eax, 0xd
add ecx, dword [ebp - 0x720]
push ecx
lea ecx, [ebp - 0x644]
call fcn.0040a120
lea edx, [ebp - 0x644]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040a150
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6ec]
call fcn.00405b50
push str._USERStartup_
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x720], eax
cmp dword [ebp - 0x720], 0
je 0x43c9af
lea ecx, [ebp - 0x68c]
call fcn.00408ae0
mov byte [ebp - 4], 2
mov dword [ebp - 0x73c], 0
mov dword [ebp - 0x72c], 0
lea eax, [ebp - 0x73c]
push eax
call fcn.00440a90
add esp, 4
mov dword [ebp - 0x72c], eax
cmp dword [ebp - 0x72c], 0
jne 0x43c8a2
cmp dword [ebp - 0x73c], 0
jne 0x43c8a2
lea ecx, [ebp - 0x68c]
push ecx
push 0x467d98
push 0x467da8
push SysReAllocString
call fcn.0043c1b0
add esp, 0x10
test eax, eax
jne 0x43c89d
push 0x467e2c
lea ecx, [ebp - 0x644]
call fcn.00408a70
mov ecx, dword [ebp + 8]
call fcn.00405b40
mov edx, dword [ebp - 0x720]
sub edx, eax
sar edx, 1
push edx
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
lea ecx, [ebp - 0x644]
call fcn.0040a180
lea eax, [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x644]
call fcn.0040df10
mov ecx, 2
imul edx, ecx, 0xd
add edx, dword [ebp - 0x720]
push edx
lea ecx, [ebp - 0x644]
call fcn.0040a120
lea eax, [ebp - 0x644]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a150
jmp 0x43c9a0
lea ecx, [ebp - 0x674]
call fcn.00408ae0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x674]
push ecx
call fcn.00440f10
add esp, 4
mov dword [ebp - 0x72c], eax
cmp dword [ebp - 0x72c], 0
jne 0x43c991
lea ecx, [ebp - 0x674]
call fcn.00405f70
test eax, eax
je 0x43c991
push 0x467e30
lea ecx, [ebp - 0x674]
call fcn.0040a120
lea edx, [ebp - 0x68c]
push edx
push str.Startup
lea ecx, [ebp - 0x674]
call fcn.00405b40
push eax
push SysStringLen
call fcn.0043c1b0
add esp, 0x10
test eax, eax
jne 0x43c991
push 0x467ec4
lea ecx, [ebp - 0x644]
call fcn.00408a70
mov ecx, dword [ebp + 8]
call fcn.00405b40
mov ecx, dword [ebp - 0x720]
sub ecx, eax
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
lea ecx, [ebp - 0x644]
call fcn.0040a180
lea edx, [ebp - 0x68c]
push edx
lea ecx, [ebp - 0x644]
call fcn.0040df10
mov eax, 2
imul ecx, eax, 0xd
add ecx, dword [ebp - 0x720]
push ecx
lea ecx, [ebp - 0x644]
call fcn.0040a120
lea edx, [ebp - 0x644]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040a150
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x674]
call fcn.00405b50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68c]
call fcn.00405b50
push str._REG:
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x720], eax
cmp dword [ebp - 0x720], 0
je 0x43cc78
mov dword [ebp - 0x730], 0
mov dword [ebp - 0x734], 0
mov eax, dword [ebp - 0x720]
add eax, 0xa
mov dword [ebp - 0x730], eax
push 0x25
mov ecx, dword [ebp - 0x730]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov dword [ebp - 0x734], eax
cmp dword [ebp - 0x734], 0
je 0x43cc78
lea ecx, [ebp - 0x65c]
call fcn.00408ae0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6d4]
call fcn.00408ae0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6bc]
call fcn.00408ae0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6a4]
call fcn.00408ae0
mov byte [ebp - 4], 7
mov dword [ebp - 0x724], 0xffffffff
mov dword [ebp - 0x728], 0xffffffff
mov edx, dword [ebp - 0x734]
sub edx, dword [ebp - 0x730]
sar edx, 1
push edx
mov eax, dword [ebp - 0x730]
push eax
lea ecx, [ebp - 0x65c]
call fcn.0040a180
push 0
push 0x5c
lea ecx, [ebp - 0x65c]
call fcn.00445530
mov dword [ebp - 0x724], eax
cmp dword [ebp - 0x724], 0xffffffff
je 0x43cc3c
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x65c]
call fcn.00410050
mov dword [ebp - 0x728], eax
cmp dword [ebp - 0x728], 0xffffffff
je 0x43cc3c
mov ecx, dword [ebp - 0x724]
push ecx
lea ecx, [ebp - 0x65c]
call fcn.00405b40
push eax
lea ecx, [ebp - 0x6d4]
call fcn.0040a180
lea ecx, [ebp - 0x65c]
call fcn.00405b40
mov edx, dword [ebp - 0x728]
lea eax, [eax + edx*2 + 2]
push eax
lea ecx, [ebp - 0x6a4]
call fcn.0040a120
mov ecx, dword [ebp - 0x728]
cmp ecx, dword [ebp - 0x724]
je 0x43cb4e
mov edx, dword [ebp - 0x728]
sub edx, dword [ebp - 0x724]
sub edx, 1
push edx
lea ecx, [ebp - 0x65c]
call fcn.00405b40
mov ecx, dword [ebp - 0x724]
lea edx, [eax + ecx*2 + 2]
push edx
lea ecx, [ebp - 0x6bc]
call fcn.0040a180
lea ecx, [ebp - 0x6d4]
call fcn.00405f70
test eax, eax
je 0x43cc3c
lea ecx, [ebp - 0x6a4]
call fcn.00405f70
test eax, eax
je 0x43cc3c
lea ecx, [ebp - 0x6bc]
call fcn.00405f70
test eax, eax
je 0x43cc3c
mov dword [ebp - 0x738], 0
lea eax, [ebp - 0x6d4]
push eax
call fcn.00440620
add esp, 4
mov dword [ebp - 0x738], eax
cmp dword [ebp - 0x738], 0
je 0x43cc3c
lea ecx, [ebp - 0x704]
call fcn.00408ae0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x704]
push ecx
lea ecx, [ebp - 0x6a4]
call fcn.00405b40
push eax
lea ecx, [ebp - 0x6bc]
call fcn.00405b40
push eax
mov edx, dword [ebp - 0x738]
push edx
call fcn.0043c1b0
add esp, 0x10
test eax, eax
jne 0x43cc2d
lea ecx, [ebp - 0x704]
call fcn.00405b40
push eax
mov eax, dword [ebp - 0x734]
sub eax, dword [ebp - 0x720]
sar eax, 1
add eax, 1
push eax
mov ecx, dword [ebp + 8]
call fcn.00405b40
mov ecx, dword [ebp - 0x720]
sub ecx, eax
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
call fcn.00445630
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x704]
call fcn.00405b50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6a4]
call fcn.00405b50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6bc]
call fcn.00405b50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6d4]
call fcn.00405b50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x65c]
call fcn.00405b50
push 0x61a
push 0
lea edx, [ebp - 0x62c]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x30c
lea eax, [ebp - 0x62c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x43ccbc
lea ecx, [ebp - 0x62c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408a70
mov ecx, dword [ebp + 8]
call fcn.00405f70
test eax, eax
je 0x43cd0f
mov ecx, dword [ebp + 8]
call fcn.00405b40
mov edx, 2
imul ecx, edx, 0
movzx edx, word [eax + ecx]
cmp edx, 0x25
jne 0x43cd0f
push 0x30c
lea eax, [ebp - 0x62c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x43cd0f
lea ecx, [ebp - 0x62c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408a70
mov dword [ebp - 0x740], 0
lea edx, [ebp - 0x740]
push edx
lea eax, [ebp - 0x62c]
push eax
push 0x104
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x43cd4e
lea ecx, [ebp - 0x62c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408a70
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x71c]
push eax
call fcn.0043d6f0
add esp, 8
mov dword [ebp - 0x744], eax
mov ecx, dword [ebp - 0x744]
push ecx
lea ecx, [ebp - 0x644]
call fcn.004090e0
lea ecx, [ebp - 0x71c]
call fcn.00405b50
lea edx, [ebp - 0x644]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040a150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x644]
call fcn.00405b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
ret