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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f875c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5470b0]
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, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
call fcn.004c31da
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x483d0d
push 0x80004005
call fcn.00422000
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], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x54d1d8]
push edi
push ecx
lea edx, [ebp - 0x2c]
push str.bInitialized_d__InitType_d
push edx
mov dword [ebp - 0x3c], eax
call fcn.00475230
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
push str.DynamicPaths_Initialize
call fcn.004732c0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483d75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
jne 0x483d83
mov dword [0x54d1d8], 1
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x483d93
mov edi, dword [ebp + 8]
test edi, edi
je 0x483da6
shl eax, 4
cmp dword [eax + 0x5490c4], edi
jne 0x484634
mov ebx, dword [ebp - 0x28]
shl ebx, 4
mov edx, dword [ebx + 0x5490cc]
mov eax, edx
mov dword [ebp - 0x20], ebx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483dc0
sub eax, edi
sar eax, 1
mov dword [ebp - 0x2c], 0
cmp eax, 9
jbe 0x483e23
mov ecx, str._UnWow64_
lea eax, [edx + eax*2 - 0x12]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x483e0a
test dx, dx
je 0x483e06
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x483e0a
add eax, 4
add ecx, 4
test dx, dx
jne 0x483de4
xor eax, eax
jmp 0x483e0f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x483e23
call fcn.00478680
test eax, eax
je 0x483e23
mov dword [ebp - 0x2c], 1
mov eax, dword [ebx + 0x5490c4]
inc eax
cmp eax, 5
ja case.0x483e33.0
jmp dword [eax*4 + 0x48474c]
mov edx, dword [ebx + 0x5490c8]
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
lea edi, [ebp - 0x14]
call fcn.004247f5
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
call fcn.004247f5
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 0
call fcn.00475d10
mov esi, dword [ebp - 0x14]
add esp, 0x18
test eax, eax
je case.0x483e33.0
cmp dword [esi - 0xc], 0
jle 0x483eae
push 0x7e
push esi
call fcn.004d2d68
add esp, 8
test eax, eax
je 0x483eae
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x483eae
lea eax, [ebp - 0x14]
push eax
call fcn.00477a80
mov esi, dword [ebp - 0x14]
add esp, 4
push esi
call fcn.004d2540
add esp, 4
mov dword [ebx + str.C:Program_Files__x86_], eax
cmp dword [ebp - 0x2c], 0
je 0x484566
mov edi, dword [ebx + 0x5490cc]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483ed2
sub eax, edx
sar eax, 1
mov ecx, str.__x86_
lea eax, [edi + eax*2 - 0xc]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48453e
test dx, dx
je 0x483f1a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48453e
add eax, 4
add ecx, 4
test dx, dx
jne 0x483ef0
xor eax, eax
jmp 0x484543
mov edx, dword [ebx + 0x5490c8]
push 0
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
lea edi, [ebp - 0x14]
call fcn.004247f5
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
call fcn.004247f5
mov byte [ebp - 4], 4
call fcn.00485a60
push eax
jmp 0x483e6e
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x514
or eax, ecx
jge 0x483f83
push 0x514
lea ecx, [ebp - 0x14]
call fcn.00422524
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x5490c8]
push 0x514
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004d1e4b
add esp, 8
test eax, eax
jl 0x48465d
cmp eax, dword [esi - 8]
jg 0x48465d
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
test edi, edi
jbe case.0x483e33.0
jmp 0x483e81
mov ecx, dword [ebx + 0x5490c0]
push str._MyExe_
push ecx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x484050
mov edx, dword [0x54d570]
cmp dword [edx - 0xc], eax
je 0x483ff6
mov eax, 0x54d570
jmp 0x48400a
lea eax, [ebp - 0x48]
push eax
call fcn.00474150
add esp, 4
mov byte [ebp - 4], 5
or dword [ebp - 0x18], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00424f20
mov dword [ebp - 4], 0
test byte [ebp - 0x18], 1
je 0x48417f
and dword [ebp - 0x18], 0xfffffffe
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48417f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48417f
mov ecx, dword [ebx + 0x5490c0]
push str._ExeDir_
push ecx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x48410f
mov eax, dword [0x54d570]
cmp dword [eax - 0xc], 0
je 0x4840a6
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00425486
lea edx, [ebp - 0x34]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00475640
add esp, 0xc
mov byte [ebp - 4], 6
or dword [ebp - 0x18], 2
jmp 0x4840bd
lea eax, [ebp - 0x44]
push eax
call fcn.00474240
add esp, 4
mov dword [ebp - 4], 7
or dword [ebp - 0x18], 4
push eax
lea ecx, [ebp - 0x14]
call fcn.00424f20
mov dword [ebp - 4], 6
test byte [ebp - 0x18], 4
je 0x4840f6
mov eax, dword [ebp - 0x44]
and dword [ebp - 0x18], 0xfffffffb
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4840f6
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], 2
je 0x48417f
and dword [ebp - 0x18], 0xfffffffd
mov eax, dword [ebp - 0x34]
jmp 0x48402b
mov ecx, dword [ebx + 0x5490c0]
push str._AppID_
push ecx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x484182
mov ecx, dword [0x54d514]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x484182
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x484172
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x484172
push eax
call fcn.00425486
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x484167
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
jmp 0x484182
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00425415
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jle 0x483eae
push 0x7e
push esi
call fcn.004d2d68
add esp, 8
test eax, eax
je 0x483eae
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x483eae
lea ecx, [ebp - 0x14]
push ecx
jmp 0x483ea3
mov edx, dword [ebx + 0x5490c0]
push str._Common_Profile_
push edx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x48426c
push eax
push eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Common_Desktop
lea edi, [ebp - 0x14]
call fcn.004247f5
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
call fcn.004247f5
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 0
call fcn.00475d10
mov eax, dword [ebp - 0x14]
add esp, 0x18
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x38]
add esp, 4
push eax
call fcn.00475640
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00424f20
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484508
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x484508
mov ecx, dword [ebx + 0x5490c0]
push str._Program_Files__x86__
push ecx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x4843a6
cmp dword [ebp - 0x28], eax
jne 0x4843a6
call fcn.00478680
mov ecx, 1
sub ecx, dword [esi - 4]
test eax, eax
mov eax, dword [esi - 8]
je 0x484343
sub eax, 0x514
or eax, ecx
jge 0x4842c2
push 0x514
lea ecx, [ebp - 0x14]
call fcn.00422524
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.004d1e4b
add esp, 8
test eax, eax
jl 0x48465d
cmp eax, dword [esi - 8]
jg 0x48465d
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
cmp dword [esi - 0xc], edx
jne 0x48450f
push edx
push edx
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ProgramFilesDir__x86_
lea edi, [ebp - 0x14]
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersion
call fcn.004247f5
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 0
call fcn.00475d10
add esp, 0x18
jmp 0x484508
sub eax, 0x514
or eax, ecx
jge 0x48435c
push 0x514
lea ecx, [ebp - 0x14]
call fcn.00422524
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.004d1e4b
add esp, 8
test eax, eax
jl 0x48465d
cmp eax, dword [esi - 8]
jg 0x48465d
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
push str.__x86_
lea ecx, [ebp - 0x14]
call fcn.0042810a
jmp 0x484508
mov edx, dword [ebx + 0x5490c0]
push str._Program_Files_
push edx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x48445c
cmp dword [ebp - 0x28], 1
jne 0x48445c
call fcn.00478680
mov ecx, 1
sub ecx, dword [esi - 4]
test eax, eax
mov eax, dword [esi - 8]
je 0x484406
sub eax, 0x514
or eax, ecx
jge 0x4843f9
push 0x514
lea ecx, [ebp - 0x14]
call fcn.00422524
mov esi, dword [ebp - 0x14]
push 0x514
push esi
push str.ProgramW6432
jmp 0x48442a
sub eax, 0x514
or eax, ecx
jge 0x48441f
push 0x514
lea ecx, [ebp - 0x14]
call fcn.00422524
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.004d1e4b
add esp, 8
test eax, eax
jl 0x48465d
cmp eax, dword [esi - 8]
jg 0x48465d
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x48450b
mov edx, dword [ebx + 0x5490c8]
push str.AppDataXP
push edx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x4844d3
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5060a8
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Application_Data
call fcn.004247f5
push ecx
mov eax, esp
mov dword [ebp - 0x4c], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.0047b110
add esp, 4
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00474af0
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.00424f20
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
jmp 0x484247
mov ecx, dword [ebx + 0x5490c0]
push str._Scripts_
push ecx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x48450b
mov esi, dword [ebx + 0x5490cc]
test esi, esi
je 0x4844fe
push esi
call fcn.004d1e6a
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00425415
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jle 0x483eae
push 0x7e
push esi
call fcn.004d2d68
add esp, 8
test eax, eax
je 0x483eae
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x483eae
lea edx, [ebp - 0x14]
push edx
jmp 0x483ea3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x484566
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x484550
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 0xc], cx
mov eax, dword [0x54d680]
cmp dword [eax - 0xc], 0
je 0x484587
lea edi, [ebx + 0x5490cc]
call fcn.00485b30
mov eax, dword [0x54d680]
cmp dword [eax - 0xc], 0
jne 0x48458e
mov eax, 0x507cec
jmp 0x4845aa
push eax
lea edx, [ebp - 0x1c]
push str.__Forced_UserProfile_s
push edx
call fcn.00475230
add esp, 0xc
mov byte [ebp - 4], 0xe
or dword [ebp - 0x18], 8
mov eax, dword [eax]
mov ecx, dword [ebx + 0x5490c0]
push eax
mov eax, dword [ebx + 0x5490cc]
push eax
push ecx
lea edx, [ebp - 0x40]
push str._s___s_s
push edx
call fcn.00475230
add esp, 0x14
mov dword [ebp - 4], 0xf
mov eax, dword [eax]
push eax
push str.DynamicPaths_Initialize
call fcn.004732c0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484604
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 0x484634
mov eax, dword [ebp - 0x1c]
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 0x484634
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
inc eax
cmp eax, 0x25
mov dword [ebp - 0x28], eax
jl 0x483d90
mov eax, dword [0x54d67c]
cmp dword [eax - 0xc], 0
lea ecx, [ebp - 0x1c]
jne 0x484667
push ecx
call fcn.00476ea0
add esp, 4
jmp 0x484676
push 0x80070057
call fcn.00422000
push eax
push str.RegistryUser_s
push ecx
call fcn.00475230
add esp, 0xc
mov eax, dword [eax]
push eax
call fcn.004d2540
mov dword [0x54931c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
add esp, 4
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4846a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x54931c]
add ecx, 2
mov dword [0x54932c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x1c]
push eax
push str.Took__dms
push edx
call fcn.00475230
add esp, 0xc
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
push eax
push str.DynamicPaths_Initialize
call fcn.004732c0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484706
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484729
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004d14fc
mov esp, ebp
pop ebp
ret