Function at 0x471e60
Capabilities:
Check for time delay via gettickcount
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4730ce
mov eax, dword fs:[0]
push eax
sub esp, 0x684
mov eax, dword [0x482534]
xor eax, esp
mov dword [esp + 0x680], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x482534]
xor eax, esp
push eax
lea eax, [esp + 0x698]
mov dword fs:[0], eax
mov ebp, dword [0x486694]
call fcn.0044a630
xor edi, edi
push 0xffffffffffffffff
mov ebx, 7
lea eax, [ebp + 8]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
call fcn.004027b0
push edi
lea eax, [ebp + 0x64]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x28]
mov dword [esp + 0x6a8], edi
call fcn.00402a30
push 0x206
lea ecx, [esp + 0x282]
push edi
push ecx
mov word [esp + 0x288], di
call fcn.00408780
add esp, 0xc
push 0x206
lea edx, [esp + 0x7a]
push edi
push edx
mov word [esp + 0x80], di
call fcn.00408780
add esp, 0xc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x24]
lea ecx, [esp + 0x44]
mov byte [esp + 0x6a8], 1
call fcn.004027b0
call fcn.00449ac0
xor bl, bl
cmp dword [esp + 0x50], edi
jne 0x47208b
mov eax, dword [0x483a0c]
mov edx, dword [eax + 0xc]
mov ecx, 0x483a0c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6a0], 2
call fcn.00471670
test eax, eax
je 0x471fa4
mov esi, dword [esp + 0x1c]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x471f83
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x44]
call fcn.00402bc0
mov bl, 1
jmp 0x472063
push 0x208
lea eax, [esp + 0x48a]
push edi
push eax
mov word [esp + 0x490], di
call fcn.00408780
add esp, 0xc
push 0x104
lea ecx, [esp + 0x488]
push ecx
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, dword [0x483a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x483a0c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x484]
push ecx
push 0x4774fc
lea edi, [esp + 0x20]
mov byte [esp + 0x6a8], 3
call fcn.00402fb0
add esp, 8
push 0xe
mov edx, edi
push edx
call fcn.004036c0
mov edi, dword [esp + 0x18]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472025
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x44]
call fcn.00402bc0
lea eax, [edi - 0x10]
mov byte [esp + 0x6a0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472063
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6a0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47208b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00448a70
mov eax, dword [esp + 0x40]
mov edi, 8
cmp dword [esp + 0x54], edi
jae 0x4720a3
lea eax, [esp + 0x40]
mov ecx, dword [ebp + 0x54]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
push ecx
lea edx, [esp + 0x284]
push str._supplyid_d__installmode2__startmain1__silent1__D_s
push edx
call esi
mov eax, dword [esp + 0x50]
add esp, 0x10
cmp dword [esp + 0x54], edi
jae 0x4720ce
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 0x54]
push eax
lea ecx, [esp + 0x7c]
push 0x4775a0
push ecx
call esi
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp dword [esp + 0x38], edi
jae 0x4720f0
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.00471550
lea edi, [ebp + 0x80]
mov edx, dword [edi + 0x20c]
mov eax, dword [edx]
lea ecx, [edi + 0x20c]
push 0x400
push 0
call eax
test eax, eax
jne 0x472299
lea ecx, [esp + 0x27c]
push ecx
mov ecx, edi
mov byte [edi], 1
call fcn.00403340
mov edx, dword [0x483a0c]
test al, al
mov eax, dword [edx + 0xc]
mov ecx, 0x483a0c
je 0x4721d9
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
xor ecx, ecx
test bl, bl
setne cl
mov byte [esp + 0x6a0], 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x486748], 3
mov dword [0x48674c], ecx
call ebx
mov edx, eax
sub edx, dword [0x486698]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov esi, 0x486740
mov dword [0x486750], edx
call fcn.00472780
test eax, eax
je 0x4721a0
call fcn.004725c0
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x4721af
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0046c8a0
mov esi, eax
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0x6a0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x47226b
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
xor ecx, ecx
test bl, bl
setne cl
mov byte [esp + 0x6a0], 5
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x486748], 3
mov dword [0x48674c], ecx
call ebx
mov edx, eax
sub edx, dword [0x486698]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov esi, 0x486740
mov dword [0x486750], edx
call fcn.00472780
test eax, eax
je 0x472234
call fcn.004725c0
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x472243
lea eax, [esp + 0x24]
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.0046c8a0
mov esi, eax
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0x6a0], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x472277
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [edi], 0
je 0x472345
mov edx, dword [edi + 0x20c]
mov eax, dword [edx + 0x14]
lea ecx, [edi + 0x20c]
push 0x2710
jmp 0x472343
mov edx, dword [0x483a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x483a0c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
xor ecx, ecx
test bl, bl
setne cl
mov byte [esp + 0x6a0], 6
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x486748], 3
mov dword [0x48674c], ecx
call ebx
mov edx, eax
sub edx, dword [0x486698]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov esi, 0x486740
mov dword [0x486750], edx
call fcn.00472780
test eax, eax
je 0x472302
call fcn.004725c0
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x472311
lea eax, [esp + 0x24]
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.0046c8a0
mov esi, eax
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0x6a0], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x472345
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
cmp esi, edi
jne 0x472395
mov dword [0x486748], 4
mov dword [0x48674c], 2
call ebx
mov ecx, eax
sub ecx, dword [0x486698]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov esi, 0x486740
mov dword [0x486750], edx
call fcn.00472780
test eax, eax
je 0x472545
call fcn.004725c0
jmp 0x472545
mov edx, dword [0x483a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x483a0c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6a0], 7
call fcn.0046cbf0
mov edx, dword [0x483a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x483a0c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6a0], 8
call fcn.00471670
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 4], 1
jle 0x472401
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00402d60
mov ebp, dword [esp + 0x1c]
mov eax, ebp
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x472417
sub eax, edx
sar eax, 1
push eax
push ebp
lea esi, [esp + 0x60]
call fcn.00402bc0
mov byte [esp + 0x6a0], 9
cmp dword [esp + 0x70], 8
mov ecx, dword [esp + 0x5c]
mov dword [0x486748], 4
jae 0x472452
lea ecx, [esp + 0x5c]
mov edi, dword [esp + 0x6c]
mov eax, dword [0x483520]
call fcn.00403800
neg eax
sbb eax, eax
neg eax
mov dword [0x48674c], eax
call ebx
mov edi, dword [esp + 0x18]
mov ecx, eax
sub ecx, dword [0x486698]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [0x486750], edx
cmp dword [edi - 4], 1
jle 0x4724a1
mov edx, dword [edi - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00402d60
mov edi, dword [esp + 0x18]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4724a6
sub eax, edx
sar eax, 1
push eax
push edi
mov esi, 0x486770
call fcn.00402bc0
mov esi, 0x486740
call fcn.00472780
test eax, eax
je 0x4724d4
call fcn.004725c0
cmp dword [esp + 0x70], 8
jb 0x4724e8
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00404706
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
lea eax, [edi - 0x10]
mov dword [esp + 0x70], 7
mov byte [esp + 0x6a0], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47251f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x6a0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472543
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00447f90
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x47256d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00404706
add esp, 4
cmp dword [esp + 0x38], esi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
jb 0x472591
mov edx, dword [esp + 0x24]
push edx
call fcn.00404706
add esp, 4
mov ecx, dword [esp + 0x698]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x680]
xor ecx, esp
call fcn.0040470b
add esp, 0x690
ret