Function at 0x467c10
Capabilities:
Check for time delay via gettickcount
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ff6c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4c3c64]
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
xor edi, edi
mov dword [ebp - 0x18], edi
call fcn.0047727e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x467c5a
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4c8714]
push edi
push ecx
lea edx, [ebp - 0x34]
push str.bInitialized_d__InitType_d
push edx
mov dword [ebp - 0x50], eax
call fcn.00452370
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
push str.DynamicPaths_Initialize
call fcn.00450750
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467cc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [0x4c8714], 1
mov dword [ebp - 0x2c], edi
nop
mov ebx, dword [ebp - 0x2c]
shl ebx, 4
mov edx, dword [ebx + 0x4c522c]
mov eax, edx
mov dword [ebp - 0x1c], ebx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467ce4
sub eax, edi
sar eax, 1
mov dword [ebp - 0x34], 0
cmp eax, 9
jbe 0x467d47
mov ecx, str._UnWow64_
lea eax, [edx + eax*2 - 0x12]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x467d2e
test dx, dx
je 0x467d2a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x467d2e
add eax, 4
add ecx, 4
test dx, dx
jne 0x467d08
xor eax, eax
jmp 0x467d33
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x467d47
call fcn.00455680
test eax, eax
je 0x467d47
mov dword [ebp - 0x34], 1
mov eax, dword [ebx + 0x4c5224]
inc eax
cmp eax, 4
ja case.0x467d57.0
jmp dword [eax*4 + 0x468a08]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ecx + 0x4c5228]
push 0
push 0
push ecx
mov ebx, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x30], ebx
call fcn.0047727e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x467c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
test esi, esi
je 0x467e7e
test esi, 0xffff0000
jne 0x467e82
movzx esi, si
push esi
call fcn.0047f19d
mov edi, eax
test edi, edi
je 0x467e94
mov ecx, esi
shr ecx, 4
inc ecx
movzx edx, cx
push 6
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x467e94
push esi
push eax
push edi
call fcn.004206df
mov edi, eax
add esp, 0xc
test edi, edi
je 0x467e94
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x467e12
push esi
mov ecx, ebx
call fcn.0042051d
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
movzx eax, word [edi]
add edi, 2
cmp eax, 0xffffffff
jne 0x467e2c
push edi
call fcn.0048550b
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x20]
push edx
lea ecx, [esi + esi]
push edi
push ecx
push eax
mov dword [ebp - 0x28], ecx
call fcn.00485242
add esp, 0x10
cmp eax, 0x50
ja case.0x4682b2.1
movzx ecx, byte [eax + 0x468a2c]
jmp dword [ecx*4 + 0x468a1c]
test esi, esi
jl 0x46891b
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x46891b
mov ecx, dword [ebp - 0x28]
mov dword [eax - 0xc], esi
mov edx, dword [ebx]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x467e94
xor eax, eax
jmp 0x467e8b
push esi
call fcn.0048550b
add esp, 4
push eax
push esi
mov ecx, ebx
call fcn.004214bc
push ecx
mov byte [ebp - 4], 3
mov ebx, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x30], ebx
call fcn.0047727e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x467c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x467fa9
mov edx, ecx
movzx esi, dx
push esi
call fcn.0047f19d
mov edi, eax
test edi, edi
je 0x467fc3
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x467fc3
push esi
push eax
push edi
call fcn.004206df
mov edi, eax
add esp, 0xc
test edi, edi
je 0x467fc3
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x467f3e
push esi
mov ecx, ebx
call fcn.0042051d
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x28], edx
cmp eax, 0xffffffff
jne 0x467f58
push edi
call fcn.0048550b
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00485242
add esp, 0x10
cmp eax, 0x50
ja case.0x4682b2.1
movzx edx, byte [eax + 0x468a90]
jmp dword [edx*4 + 0x468a80]
test esi, esi
jl 0x46891b
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x46891b
mov edx, dword [ebp - 0x20]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x467fc3
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
call fcn.0048550b
add esp, 4
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov ecx, ebx
call fcn.004214bc
mov byte [ebp - 4], 3
mov edx, SysReAllocStringLen
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004531d0
mov esi, dword [ebp - 0x14]
add esp, 0x10
test eax, eax
je case.0x467d57.0
cmp dword [esi - 0xc], 0
jle 0x46800e
push 0x7e
push esi
call fcn.00486605
add esp, 8
test eax, eax
je 0x46800e
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x46800e
mov eax, edi
push eax
call fcn.00454ba0
mov esi, dword [ebp - 0x14]
add esp, 4
push esi
call fcn.00485eaa
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + 0x4c522c]
add esp, 4
mov dword [ecx], eax
cmp dword [ebp - 0x34], 0
mov ebx, dword [ebp - 0x1c]
je 0x468816
mov edi, dword [ebx + 0x4c522c]
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468040
sub eax, edx
sar eax, 1
mov ecx, str.__x86_
lea eax, [edi + eax*2 - 0xc]
jmp 0x468060
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4687ea
test dx, dx
je 0x46808a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4687ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x468060
xor eax, eax
jmp 0x4687ef
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ecx + 0x4c5228]
push 0
push 1
push ecx
mov ebx, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x3c], ebx
call fcn.0047727e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x467c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
test esi, esi
je 0x4681b1
test esi, 0xffff0000
jne 0x4681b5
movzx esi, si
push esi
call fcn.0047f19d
mov edi, eax
test edi, edi
je 0x4681c7
mov ecx, esi
shr ecx, 4
inc ecx
movzx edx, cx
push 6
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4681c7
push esi
push eax
push edi
call fcn.004206df
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4681c7
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x468145
push esi
mov ecx, ebx
call fcn.0042051d
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
movzx eax, word [edi]
add edi, 2
cmp eax, 0xffffffff
jne 0x46815f
push edi
call fcn.0048550b
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x28]
push edx
lea ecx, [esi + esi]
push edi
push ecx
push eax
mov dword [ebp - 0x20], ecx
call fcn.00485242
add esp, 0x10
cmp eax, 0x50
ja case.0x4682b2.1
movzx ecx, byte [eax + 0x468af4]
jmp dword [ecx*4 + 0x468ae4]
test esi, esi
jl 0x46891b
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x46891b
mov ecx, dword [ebp - 0x20]
mov dword [eax - 0xc], esi
mov edx, dword [ebx]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x4681c7
xor eax, eax
jmp 0x4681be
push esi
call fcn.0048550b
add esp, 4
push eax
push esi
mov ecx, ebx
call fcn.004214bc
push ecx
mov byte [ebp - 4], 6
mov ebx, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x38], ebx
call fcn.0047727e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x467c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov byte [ebp - 4], 7
test ecx, 0xffff0000
jne 0x4682dc
mov edx, ecx
movzx esi, dx
push esi
call fcn.0047f19d
mov edi, eax
test edi, edi
je 0x4682f6
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4682f6
push esi
push eax
push edi
call fcn.004206df
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4682f6
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x468271
push esi
mov ecx, ebx
call fcn.0042051d
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x28], edx
cmp eax, 0xffffffff
jne 0x46828b
push edi
call fcn.0048550b
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00485242
add esp, 0x10
cmp eax, 0x50
ja case.0x4682b2.1
movzx edx, byte [eax + 0x468b58]
jmp dword [edx*4 + 0x468b48]
test esi, esi
jl 0x46891b
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x46891b
mov edx, dword [ebp - 0x20]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x4682f6
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
call fcn.0048550b
add esp, 4
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov ecx, ebx
call fcn.004214bc
mov byte [ebp - 4], 8
call fcn.00469660
mov edx, eax
jmp 0x467fcc
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x514
or eax, ecx
jge 0x46832a
push 0x514
lea ecx, [ebp - 0x14]
call fcn.0042051d
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x4c5228]
push 0x514
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00485e03
add esp, 8
test eax, eax
jl 0x46891b
cmp eax, dword [esi - 8]
jg 0x46891b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jbe case.0x467d57.0
cmp dword [esi - 0xc], 0
jle 0x46800e
push 0x7e
push esi
call fcn.00486605
add esp, 8
test eax, eax
je 0x46800e
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x46800e
lea edx, [ebp - 0x14]
push edx
jmp 0x468003
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x4c5220]
push str._Common_Profile_
push eax
call fcn.00485d30
add esp, 8
test eax, eax
jne 0x468490
push eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.Common_Desktop
lea edi, [ebp - 0x14]
call fcn.004211c4
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
call fcn.004211c4
mov edx, SysReAllocStringLen
mov byte [ebp - 4], 0
call fcn.004531d0
mov esi, dword [ebp - 0x14]
add esp, 0x10
push 0x5c
push ecx
lea edi, [esi - 0x10]
mov dword [ebp - 0x38], esp
mov ebx, esp
push edi
call fcn.0042152d
lea ecx, [ebp - 0x48]
add esp, 4
add eax, 0x10
push ecx
mov dword [ebx], eax
call fcn.004529b0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
cmp eax, edi
je 0x468484
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x468474
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x468474
push eax
call fcn.0042152d
mov esi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x468462
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], esi
jmp 0x46861a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.004214bc
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
jmp 0x46861a
mov ecx, dword [edi + 0x4c5220]
push str._MyExe_
push ecx
call fcn.00485d30
add esp, 8
test eax, eax
jne 0x46851b
mov esi, dword [0x4c8998]
test esi, esi
jne 0x4684d0
lea edx, [ebp - 0x40]
push edx
call fcn.00451660
add esp, 4
mov byte [ebp - 4], 0xb
mov esi, dword [eax]
or dword [ebp - 0x18], 1
test esi, esi
jne 0x4684d0
xor eax, eax
jmp 0x4684d9
push esi
call fcn.0048550b
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004214bc
mov dword [ebp - 4], 0
test byte [ebp - 0x18], 1
je 0x468513
mov eax, dword [ebp - 0x40]
and dword [ebp - 0x18], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468513
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
jmp 0x468371
mov ecx, dword [edi + 0x4c5220]
push str._ExeDir_
push ecx
call fcn.00485d30
add esp, 8
test eax, eax
jne 0x46863f
mov eax, dword [0x4c8998]
test eax, eax
je 0x468564
push 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.004211c4
lea edx, [ebp - 0x4c]
push edx
call fcn.004529b0
add esp, 0xc
mov byte [ebp - 4], 0xc
or dword [ebp - 0x18], 2
jmp 0x46857b
lea eax, [ebp - 0x44]
push eax
call fcn.00451880
add esp, 4
mov dword [ebp - 4], 0xd
or dword [ebp - 0x18], 4
mov eax, dword [eax]
lea ecx, [eax - 0x10]
lea edi, [esi - 0x10]
cmp ecx, edi
je 0x4685cf
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4685bf
mov edx, dword [ecx]
cmp edx, dword [edi]
jne 0x4685bf
push ecx
call fcn.0042152d
mov esi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4685b7
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x14], esi
jmp 0x4685cf
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004214bc
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xc
mov ebx, dword [ebp - 0x18]
test bl, 4
je 0x468603
mov eax, dword [ebp - 0x44]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468603
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
test bl, 2
je 0x468371
and dword [ebp - 0x18], 0xfffffffd
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x468371
mov ecx, dword [edi + 0x4c5220]
push str._Program_Files__x86__
push ecx
call fcn.00485d30
add esp, 8
test eax, eax
jne 0x468734
cmp dword [ebp - 0x2c], eax
jne 0x468734
call fcn.00455680
mov ecx, 1
sub ecx, dword [esi - 4]
test eax, eax
mov eax, dword [esi - 8]
je 0x4686ce
sub eax, 0x514
or eax, ecx
jge 0x468691
push 0x514
lea ecx, [ebp - 0x14]
call fcn.0042051d
mov esi, dword [ebp - 0x14]
push 0x514
push esi
push str.ProgramFiles_x86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00485e03
add esp, 8
test eax, eax
jl 0x46891b
cmp eax, dword [esi - 8]
jg 0x46891b
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
jmp 0x468371
sub eax, 0x514
or eax, ecx
jge 0x4686e7
push 0x514
lea ecx, [ebp - 0x14]
call fcn.0042051d
mov esi, dword [ebp - 0x14]
push 0x514
push esi
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00485e03
add esp, 8
test eax, eax
jl 0x46891b
cmp eax, dword [esi - 8]
jg 0x46891b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
push str.__x86_
lea ecx, [ebp - 0x14]
call fcn.00423aeb
mov esi, dword [ebp - 0x14]
jmp 0x468371
mov edx, dword [edi + 0x4c5220]
push str._Program_Files_
push edx
call fcn.00485d30
add esp, 8
test eax, eax
jne 0x468371
cmp dword [ebp - 0x2c], 1
jne 0x468371
call fcn.00455680
mov ecx, 1
sub ecx, dword [esi - 4]
test eax, eax
mov eax, dword [esi - 8]
je 0x468794
sub eax, 0x514
or eax, ecx
jge 0x468787
push 0x514
lea ecx, [ebp - 0x14]
call fcn.0042051d
mov esi, dword [ebp - 0x14]
push 0x514
push esi
push str.ProgramW6432
jmp 0x4687b8
sub eax, 0x514
or eax, ecx
jge 0x4687ad
push 0x514
lea ecx, [ebp - 0x14]
call fcn.0042051d
mov esi, dword [ebp - 0x14]
push 0x514
push esi
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00485e03
add esp, 8
test eax, eax
jl 0x46891b
cmp eax, dword [esi - 8]
jg 0x46891b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x468371
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x468816
mov eax, edi
lea edx, [eax + 2]
jmp 0x468800
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468800
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 0xc], cx
mov eax, dword [0x4c89b4]
cmp dword [eax - 0xc], 0
je 0x46883b
lea eax, [ebx + 0x4c522c]
push eax
call fcn.00469730
mov eax, dword [0x4c89b4]
add esp, 4
cmp dword [eax - 0xc], 0
jne 0x468842
mov eax, 0x4a94b0
jmp 0x46885e
push eax
lea edx, [ebp - 0x24]
push str.__Forced_UserProfile_s
push edx
call fcn.00452370
add esp, 0xc
mov byte [ebp - 4], 0xe
or dword [ebp - 0x18], 8
mov eax, dword [eax]
mov ecx, dword [ebx + 0x4c5220]
push eax
mov eax, dword [ebx + 0x4c522c]
push eax
push ecx
lea edx, [ebp - 0x54]
push str._s___s_s
push edx
call fcn.00452370
add esp, 0x14
mov dword [ebp - 4], 0xf
mov eax, dword [eax]
push eax
push str.DynamicPaths_Initialize
call fcn.00450750
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4688b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
test byte [ebp - 0x18], 8
je 0x4688e8
mov eax, dword [ebp - 0x24]
and dword [ebp - 0x18], 0xfffffff7
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4688e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
inc eax
cmp eax, 0x20
mov dword [ebp - 0x2c], eax
jl 0x467cd0
mov eax, dword [0x4c89b0]
cmp dword [eax - 0xc], 0
lea ecx, [ebp - 0x24]
jne 0x468925
push ecx
call fcn.00453e20
add esp, 4
jmp 0x468934
call fcn.004777e6
call fcn.0047781e
push 0x80070057
call fcn.00420000
push eax
push str.RegistryUser_s
push ecx
call fcn.00452370
add esp, 0xc
mov eax, dword [eax]
push eax
call fcn.00485eaa
mov dword [0x4c5430], eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
add esp, 4
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x468963
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4c5430]
add ecx, 2
mov dword [0x4c5440], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x50]
lea edx, [ebp - 0x24]
push eax
push str.Took__dms
push edx
call fcn.00452370
add esp, 0xc
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
push eax
push str.DynamicPaths_Initialize
call fcn.00450750
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4689c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4689e7
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, 1
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.00484f14
mov esp, ebp
pop ebp
ret