Function at 0x491d00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492d86
mov eax, dword fs:[0]
push eax
sub esp, 0x698
mov eax, dword [0x4a9398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6a4], ecx
call fcn.0045d4f0
mov eax, dword [ebp - 0x6a4]
add eax, 8
push eax
lea ecx, [ebp - 0x468]
call fcn.004042e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x6a4]
add ecx, 0x64
push ecx
lea ecx, [ebp - 0x468]
call fcn.00404380
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00408550
add esp, 0xc
mov word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.00408550
add esp, 0xc
lea ecx, [ebp - 0x448]
call fcn.00404270
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6a4]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x448]
call fcn.00404340
call fcn.0045b620
mov byte [ebp - 0x425], 0
lea ecx, [ebp - 0x448]
call fcn.00406240
movzx edx, al
test edx, edx
je 0x491ed8
lea ecx, [ebp - 0x46c]
call fcn.00403d80
mov byte [ebp - 4], 2
lea eax, [ebp - 0x46c]
push eax
mov ecx, dword [ebp - 0x6a4]
call fcn.00491680
test eax, eax
je 0x491e33
lea ecx, [ebp - 0x46c]
call fcn.00404190
push eax
lea ecx, [ebp - 0x448]
call fcn.00404360
mov byte [ebp - 0x425], 1
jmp 0x491ec9
mov word [ebp - 0x67c], 0
push 0x208
push 0
lea ecx, [ebp - 0x67a]
push ecx
call fcn.00408550
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 0x49750c
lea ecx, [ebp - 0x680]
push ecx
call fcn.004056c0
add esp, 0xc
push str.BaiduBaiduSd
lea ecx, [ebp - 0x680]
call fcn.00405fe0
lea ecx, [ebp - 0x680]
call fcn.00404190
push eax
lea ecx, [ebp - 0x448]
call fcn.00404360
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x680]
call fcn.00403e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x46c]
call fcn.00403e40
lea ecx, [ebp - 0x44c]
call fcn.00403d80
mov byte [ebp - 4], 4
mov dword [0x4ad730], 3
movzx edx, byte [ebp - 0x425]
neg edx
sbb edx, edx
neg edx
mov dword [0x4ad734], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ad660]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x4ad738], eax
movzx edx, byte [ebp - 0x425]
test edx, edx
je 0x491f52
lea eax, [ebp - 0x44c]
push eax
call fcn.0048cb80
add esp, 4
test eax, eax
je 0x491f52
lea ecx, [ebp - 0x44c]
call fcn.00406200
push eax
mov ecx, 0x4ad73c
call fcn.00404360
mov ecx, 0x4ad728
call fcn.00492400
test eax, eax
je 0x491f6a
mov ecx, 0x4ad728
call fcn.00492230
call fcn.00459850
lea ecx, [ebp - 0x448]
call fcn.004043e0
push eax
mov ecx, dword [ebp - 0x6a4]
mov edx, dword [ecx + 0x54]
push edx
push str._supplyid_d__installmode2__startmain1__silent1__D_s
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x448]
call fcn.004043e0
push eax
mov ecx, dword [ebp - 0x6a4]
mov edx, dword [ecx + 0x54]
push edx
push 0x4975b0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x468]
call fcn.004043e0
push eax
mov ecx, dword [ebp - 0x6a4]
call fcn.00491560
push 0
mov ecx, dword [ebp - 0x6a4]
add ecx, 0x80
call fcn.00405d90
movzx ecx, al
test ecx, ecx
je 0x492076
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x6a4]
add ecx, 0x80
call fcn.00405dd0
movzx eax, al
test eax, eax
je 0x49203d
push 0
lea ecx, [ebp - 0x468]
call fcn.004043e0
push eax
call fcn.0048c890
add esp, 8
mov dword [ebp - 0x42c], eax
jmp 0x49205e
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x468]
call fcn.004043e0
push eax
call fcn.0048c890
add esp, 8
mov dword [ebp - 0x42c], eax
push 0x2710
mov ecx, dword [ebp - 0x6a4]
add ecx, 0x80
call fcn.00405e80
jmp 0x492097
lea edx, [ebp - 0x424]
push edx
lea ecx, [ebp - 0x468]
call fcn.004043e0
push eax
call fcn.0048c890
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x4920eb
mov dword [0x4ad730], 4
mov dword [0x4ad734], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ad660]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x4ad738], eax
mov ecx, 0x4ad728
call fcn.00492400
test eax, eax
je 0x4920e6
mov ecx, 0x4ad728
call fcn.00492230
jmp 0x4921ca
lea edx, [ebp - 0x44c]
push edx
call fcn.0048cb80
add esp, 4
lea ecx, [ebp - 0x6a0]
call fcn.00403d80
mov byte [ebp - 4], 5
lea eax, [ebp - 0x6a0]
push eax
mov ecx, dword [ebp - 0x6a4]
call fcn.00491680
lea ecx, [ebp - 0x44c]
call fcn.00406200
push eax
lea ecx, [ebp - 0x69c]
call fcn.004042a0
mov byte [ebp - 4], 6
mov dword [0x4ad730], 4
lea ecx, [ebp - 0x69c]
push ecx
push 0x4ad708
call fcn.00406320
add esp, 8
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov dword [0x4ad734], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ad660]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x4ad738], eax
lea ecx, [ebp - 0x6a0]
call fcn.00406200
push eax
mov ecx, 0x4ad758
call fcn.00404360
mov ecx, 0x4ad728
call fcn.00492400
test eax, eax
je 0x4921ac
mov ecx, 0x4ad728
call fcn.00492230
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x69c]
call fcn.00404320
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6a0]
call fcn.00403e40
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00458b10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44c]
call fcn.00403e40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x448]
call fcn.00404320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00404320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040806d
mov esp, ebp
pop ebp
ret