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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abfad
mov eax, dword fs:[0]
push eax
sub esp, 0xaf0
mov eax, dword [0x4bc534]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xaf4], ecx
call fcn.0046f380
mov eax, dword [ebp - 0xaf4]
add eax, 8
push eax
lea ecx, [ebp - 0x464]
call fcn.004042a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xaf4]
add ecx, 0x64
push ecx
lea ecx, [ebp - 0x464]
call fcn.00404390
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.004088d0
add esp, 0xc
mov word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.004088d0
add esp, 0xc
lea ecx, [ebp - 0x448]
call fcn.00404270
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xaf4]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x448]
call fcn.00404350
call fcn.0046d890
mov byte [ebp - 0x425], 0
lea ecx, [ebp - 0x448]
call fcn.00406270
movzx edx, al
test edx, edx
je 0x4aaf28
lea ecx, [ebp - 0x468]
call fcn.00403d80
mov byte [ebp - 4], 2
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0xaf4]
call fcn.004aa6d0
test eax, eax
je 0x4aae83
lea ecx, [ebp - 0x468]
call fcn.00404190
push eax
lea ecx, [ebp - 0x448]
call fcn.00404370
mov byte [ebp - 0x425], 1
jmp 0x4aaf19
mov word [ebp - 0x67c], 0
push 0x208
push 0
lea ecx, [ebp - 0x67a]
push ecx
call fcn.004088d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x67c]
push edx
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x680]
call fcn.00403d80
mov byte [ebp - 4], 3
lea eax, [ebp - 0x67c]
push eax
push 0x4b0594
lea ecx, [ebp - 0x680]
push ecx
call fcn.004056a0
add esp, 0xc
push str.BaiduBaiduSd
lea ecx, [ebp - 0x680]
call fcn.00406010
lea ecx, [ebp - 0x680]
call fcn.00404190
push eax
lea ecx, [ebp - 0x448]
call fcn.00404370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x680]
call fcn.00403e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x468]
call fcn.00403e40
call fcn.0046ba70
lea ecx, [ebp - 0x448]
call fcn.004043f0
push eax
mov edx, dword [ebp - 0xaf4]
mov eax, dword [edx + 0x54]
push eax
push str._supplyid_d__installmode2__startmain1__silent1__D_s
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x448]
call fcn.004043f0
push eax
mov edx, dword [ebp - 0xaf4]
mov eax, dword [edx + 0x54]
push eax
push 0x4b0638
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x464]
call fcn.004043f0
push eax
mov ecx, dword [ebp - 0xaf4]
call fcn.004aa5b0
push 0
mov ecx, dword [ebp - 0xaf4]
add ecx, 0x80
call fcn.00405dc0
movzx edx, al
test edx, edx
je 0x4ab11c
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0xaf4]
add ecx, 0x80
call fcn.00405e00
movzx ecx, al
test ecx, ecx
je 0x4ab073
lea ecx, [ebp - 0x684]
call fcn.00403d80
mov byte [ebp - 4], 4
mov dword [0x4c0738], 3
movzx edx, byte [ebp - 0x425]
neg edx
sbb edx, edx
neg edx
mov dword [0x4c073c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c0668]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x4c0740], eax
mov ecx, 0x4c0730
call fcn.004ab5f0
test eax, eax
je 0x4ab043
mov ecx, 0x4c0730
call fcn.004ab420
push 0
lea ecx, [ebp - 0x464]
call fcn.004043f0
push eax
call fcn.004a5850
add esp, 8
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x684]
call fcn.00403e40
jmp 0x4ab101
lea ecx, [ebp - 0x688]
call fcn.00403d80
mov byte [ebp - 4], 5
mov dword [0x4c0738], 3
movzx edx, byte [ebp - 0x425]
neg edx
sbb edx, edx
neg edx
mov dword [0x4c073c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c0668]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x4c0740], eax
mov ecx, 0x4c0730
call fcn.004ab5f0
test eax, eax
je 0x4ab0d1
mov ecx, 0x4c0730
call fcn.004ab420
lea edx, [ebp - 0x424]
push edx
lea ecx, [ebp - 0x464]
call fcn.004043f0
push eax
call fcn.004a5850
add esp, 8
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x688]
call fcn.00403e40
push 0x2710
mov ecx, dword [ebp - 0xaf4]
add ecx, 0x80
call fcn.00405eb0
jmp 0x4ab1a9
lea ecx, [ebp - 0x68c]
call fcn.00403d80
mov byte [ebp - 4], 6
mov dword [0x4c0738], 3
movzx eax, byte [ebp - 0x425]
neg eax
sbb eax, eax
neg eax
mov dword [0x4c073c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c0668]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x4c0740], eax
mov ecx, 0x4c0730
call fcn.004ab5f0
test eax, eax
je 0x4ab179
mov ecx, 0x4c0730
call fcn.004ab420
lea edx, [ebp - 0x424]
push edx
lea ecx, [ebp - 0x464]
call fcn.004043f0
push eax
call fcn.004a5850
add esp, 8
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68c]
call fcn.00403e40
cmp dword [ebp - 0x42c], 0
jne 0x4ab1fd
mov dword [0x4c0738], 4
mov dword [0x4c073c], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c0668]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x4c0740], eax
mov ecx, 0x4c0730
call fcn.004ab5f0
test eax, eax
je 0x4ab1f8
mov ecx, 0x4c0730
call fcn.004ab420
jmp 0x4ab3cc
lea ecx, [ebp - 0xad4]
call fcn.00403d80
mov byte [ebp - 4], 7
lea edx, [ebp - 0xad4]
push edx
call fcn.004a5b40
add esp, 4
lea ecx, [ebp - 0xad0]
call fcn.00403d80
mov byte [ebp - 4], 8
lea eax, [ebp - 0xad0]
push eax
mov ecx, dword [ebp - 0xaf4]
call fcn.004aa6d0
lea ecx, [ebp - 0xad4]
call fcn.00406230
push eax
lea ecx, [ebp - 0x6c4]
call fcn.004042f0
mov byte [ebp - 4], 9
mov dword [0x4c0738], 4
lea ecx, [ebp - 0x6c4]
push ecx
push 0x4c0710
call fcn.004064b0
add esp, 8
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov dword [0x4c073c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c0668]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x4c0740], eax
mov word [ebp - 0xacc], 0
push 0x3fe
push 0
lea edx, [ebp - 0xaca]
push edx
call fcn.004088d0
add esp, 0xc
push 0x200
lea eax, [ebp - 0xacc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xacc]
push ecx
lea ecx, [ebp - 0x6a8]
call fcn.004042f0
mov byte [ebp - 4], 0xa
mov edx, dword [0x4b1864]
push edx
push 0x4b0634
lea ecx, [ebp - 0x6a8]
call fcn.00406290
mov dword [ebp - 0x6c8], eax
cmp dword [ebp - 0x6c8], 0xffffffff
je 0x4ab367
mov eax, dword [0x4b1864]
push eax
mov ecx, dword [ebp - 0x6c8]
add ecx, 1
push ecx
lea edx, [ebp - 0xaf0]
push edx
lea ecx, [ebp - 0x6a8]
call fcn.004062c0
mov dword [ebp - 0xaf8], eax
mov eax, dword [ebp - 0xaf8]
mov dword [ebp - 0xafc], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xafc]
push ecx
lea ecx, [ebp - 0x6a8]
call fcn.00404350
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xaf0]
call fcn.00404330
lea edx, [ebp - 0x6a8]
push edx
mov ecx, 0x4c0760
call fcn.00404350
mov ecx, 0x4c0730
call fcn.004ab5f0
test eax, eax
je 0x4ab390
mov ecx, 0x4c0730
call fcn.004ab420
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6a8]
call fcn.00404330
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c4]
call fcn.00404330
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xad0]
call fcn.00403e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xad4]
call fcn.00403e40
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00469ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x448]
call fcn.00404330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.00404330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408023
mov esp, ebp
pop ebp
ret