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

Disassembly:
push 0xffffffffffffffff
push 0x47a15e
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x486534]
xor eax, esp
mov dword [esp + 0x678], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486534]
xor eax, esp
push eax
lea eax, [esp + 0x690]
mov dword fs:[0], eax
mov ebp, dword [0x48a694]
call fcn.004517b0
xor edi, edi
push 0xffffffffffffffff
mov ebx, 7
lea eax, [ebp + 8]
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.004027b0
push edi
lea eax, [ebp + 0x64]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x24]
mov dword [esp + 0x6a0], edi
call fcn.00402a30
push 0x206
lea ecx, [esp + 0x27e]
push edi
push ecx
mov word [esp + 0x284], di
call fcn.004087b0
push 0x206
lea edx, [esp + 0x82]
push edi
push edx
mov word [esp + 0x88], di
call fcn.004087b0
add esp, 0x18
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x24]
lea ecx, [esp + 0x40]
mov byte [esp + 0x6a0], 1
call fcn.004027b0
call fcn.004501f0
xor bl, bl
cmp dword [esp + 0x4c], edi
jne 0x47911b
mov eax, dword [0x487a0c]
mov edx, dword [eax + 0xc]
mov ecx, 0x487a0c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x698], 2
call fcn.00478700
test eax, eax
je 0x479034
mov esi, dword [esp + 0x18]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x479013
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x40]
call fcn.00402bc0
mov bl, 1
jmp 0x4790f3
push 0x208
lea eax, [esp + 0x486]
push edi
push eax
mov word [esp + 0x48c], di
call fcn.004087b0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x484]
push ecx
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, dword [0x487a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x487a0c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x480]
push ecx
push 0x47e4fc
lea edi, [esp + 0x1c]
mov byte [esp + 0x6a0], 3
call fcn.00402fb0
add esp, 8
push 0xe
mov edx, edi
push edx
call fcn.004036c0
mov edi, dword [esp + 0x14]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4790b5
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x40]
call fcn.00402bc0
lea eax, [edi - 0x10]
mov byte [esp + 0x698], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4790f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x698], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47911b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044ec00
mov eax, dword [esp + 0x3c]
mov edi, 8
cmp dword [esp + 0x50], edi
jae 0x479133
lea eax, [esp + 0x3c]
mov ecx, dword [ebp + 0x54]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
push ecx
lea edx, [esp + 0x280]
push str._supplyid_d__installmode2__startmain1__silent1__D_s
push edx
call esi
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp dword [esp + 0x50], edi
jae 0x47915e
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0x54]
push eax
lea ecx, [esp + 0x78]
push 0x47e5a0
push ecx
call esi
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp dword [esp + 0x34], edi
jae 0x479180
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.004785e0
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 0x479329
lea ecx, [esp + 0x278]
push ecx
mov ecx, edi
mov byte [edi], 1
call fcn.00403340
mov edx, dword [0x487a0c]
test al, al
mov eax, dword [edx + 0xc]
mov ecx, 0x487a0c
je 0x479269
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
xor ecx, ecx
test bl, bl
setne cl
mov byte [esp + 0x698], 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x48a748], 3
mov dword [0x48a74c], ecx
call ebx
mov edx, eax
sub edx, dword [0x48a698]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov esi, 0x48a740
mov dword [0x48a750], edx
call fcn.00479810
test eax, eax
je 0x479230
call fcn.00479650
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x47923f
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00473950
mov esi, eax
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0x698], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4792fb
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
xor ecx, ecx
test bl, bl
setne cl
mov byte [esp + 0x698], 5
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x48a748], 3
mov dword [0x48a74c], ecx
call ebx
mov edx, eax
sub edx, dword [0x48a698]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov esi, 0x48a740
mov dword [0x48a750], edx
call fcn.00479810
test eax, eax
je 0x4792c4
call fcn.00479650
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x4792d3
lea eax, [esp + 0x20]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.00473950
mov esi, eax
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0x698], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479307
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [edi], 0
je 0x4793d5
mov edx, dword [edi + 0x20c]
mov eax, dword [edx + 0x14]
lea ecx, [edi + 0x20c]
push 0x2710
jmp 0x4793d3
mov edx, dword [0x487a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x487a0c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
xor ecx, ecx
test bl, bl
setne cl
mov byte [esp + 0x698], 6
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x48a748], 3
mov dword [0x48a74c], ecx
call ebx
mov edx, eax
sub edx, dword [0x48a698]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov esi, 0x48a740
mov dword [0x48a750], edx
call fcn.00479810
test eax, eax
je 0x479392
call fcn.00479650
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x4793a1
lea eax, [esp + 0x20]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.00473950
mov esi, eax
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0x698], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4793d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
cmp esi, edi
jne 0x479425
mov dword [0x48a748], 4
mov dword [0x48a74c], 2
call ebx
mov ecx, eax
sub ecx, dword [0x48a698]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov esi, 0x48a740
mov dword [0x48a750], edx
call fcn.00479810
test eax, eax
je 0x4795d5
call fcn.00479650
jmp 0x4795d5
mov edx, dword [0x487a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x487a0c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x698], 7
call fcn.00473ca0
mov edx, dword [0x487a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x487a0c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x698], 8
call fcn.00478700
mov ebp, dword [esp + 0x18]
cmp dword [ebp - 4], 1
jle 0x479491
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00402d60
mov ebp, dword [esp + 0x18]
mov eax, ebp
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], edi
mov word [esp + 0x58], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4794a7
sub eax, edx
sar eax, 1
push eax
push ebp
lea esi, [esp + 0x5c]
call fcn.00402bc0
mov byte [esp + 0x698], 9
cmp dword [esp + 0x6c], 8
mov ecx, dword [esp + 0x58]
mov dword [0x48a748], 4
jae 0x4794e2
lea ecx, [esp + 0x58]
mov edi, dword [esp + 0x68]
mov eax, dword [0x487520]
call fcn.00403800
neg eax
sbb eax, eax
neg eax
mov dword [0x48a74c], eax
call ebx
mov edi, dword [esp + 0x14]
mov ecx, eax
sub ecx, dword [0x48a698]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [0x48a750], edx
cmp dword [edi - 4], 1
jle 0x479531
mov edx, dword [edi - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00402d60
mov edi, dword [esp + 0x14]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x479536
sub eax, edx
sar eax, 1
push eax
push edi
mov esi, 0x48a770
call fcn.00402bc0
mov esi, 0x48a740
call fcn.00479810
test eax, eax
je 0x479564
call fcn.00479650
cmp dword [esp + 0x6c], 8
jb 0x479578
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0040473a
add esp, 4
xor eax, eax
mov dword [esp + 0x68], eax
mov word [esp + 0x58], ax
lea eax, [edi - 0x10]
mov dword [esp + 0x6c], 7
mov byte [esp + 0x698], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4795af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x698], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4795d3
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.0044d080
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x4795fd
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0040473a
add esp, 4
cmp dword [esp + 0x34], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
jb 0x479621
mov edx, dword [esp + 0x20]
push edx
call fcn.0040473a
add esp, 4
mov ecx, dword [esp + 0x690]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x678]
xor ecx, esp
call fcn.0040473f
add esp, 0x688
ret