Function at 0x475730
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477192
mov eax, dword fs:[0]
push eax
mov eax, 0x15bc
call fcn.00418010
mov eax, dword [0x481398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00464600
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0040abf0
add esp, 0xc
mov word [ebp - 0x424], 0
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.0040abf0
add esp, 0xc
lea ecx, [ebp - 0x448]
call fcn.00404440
mov dword [ebp - 4], 0
mov byte [ebp - 0x425], 0
lea ecx, [ebp - 0x448]
call fcn.00406b70
movzx edx, al
test edx, edx
je 0x4758a4
push 0x47ac08
lea ecx, [ebp - 0x14fc]
call fcn.00404470
mov byte [ebp - 4], 1
push 0x47ac20
lea ecx, [ebp - 0x1518]
call fcn.00404470
mov byte [ebp - 4], 2
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x14fc]
push ecx
lea edx, [ebp - 0x1518]
push edx
call fcn.00473e10
add esp, 0xc
mov dword [ebp - 0x14e0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1518]
call fcn.004044f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14fc]
call fcn.004044f0
cmp dword [ebp - 0x14e0], 0
je 0x47584c
mov byte [ebp - 0x425], 1
jmp 0x4758a4
mov word [ebp - 0x65c], 0
push 0x208
push 0
lea eax, [ebp - 0x65a]
push eax
call fcn.0040abf0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x65c]
push ecx
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x65c]
push edx
lea ecx, [ebp - 0x448]
call fcn.00404530
push str.BaiduBaiduBrowser
lea ecx, [ebp - 0x448]
call fcn.00404570
mov dword [ebp - 0x42c], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00475610
add esp, 4
cmp dword [0x485a6c], 0
je 0x475904
mov dword [0x485b70], 3
movzx ecx, byte [ebp - 0x425]
neg ecx
sbb ecx, ecx
neg ecx
mov dword [0x485b74], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x485a68]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x485b78], eax
mov ecx, 0x485b68
call fcn.00474e50
push 0x47ac84
lea ecx, [ebp - 0x1538]
call fcn.00404470
mov byte [ebp - 4], 3
lea edx, [ebp - 0x1538]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00475200
add esp, 8
mov byte [ebp - 0x1519], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1538]
call fcn.004044f0
movzx ecx, byte [ebp - 0x1519]
test ecx, ecx
je 0x475973
lea ecx, [ebp - 0x448]
call fcn.00404610
push eax
mov ecx, dword [ebp + 8]
call fcn.00404610
push eax
call fcn.004754c0
add esp, 8
mov dword [ebp - 0x42c], eax
jmp 0x475ad6
push 0x47ac8c
lea ecx, [ebp - 0x1558]
call fcn.00404470
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1558]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00475200
add esp, 8
mov byte [ebp - 0x1539], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1558]
call fcn.004044f0
movzx ecx, byte [ebp - 0x1539]
test ecx, ecx
je 0x475acc
lea ecx, [ebp - 0x448]
call fcn.00404610
push eax
mov ecx, 0x485b14
call fcn.00404610
push eax
push str._supplyid_s__installmode2__startmain1__silent1__D_s
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x448]
call fcn.00404610
push eax
mov ecx, 0x485b14
call fcn.00404610
push eax
push str._supplyid_s__installmode2__startmain1__S___D_s
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x14a4]
call fcn.00406a10
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x14a4]
call fcn.004068b0
movzx ecx, al
test ecx, ecx
je 0x475a9d
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x14a4]
call fcn.004068f0
movzx eax, al
test eax, eax
je 0x475a6d
push 0
mov ecx, dword [ebp + 8]
call fcn.00404610
push eax
call fcn.004733b0
add esp, 8
mov dword [ebp - 0x42c], eax
jmp 0x475a8b
lea ecx, [ebp - 0x424]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404610
push eax
call fcn.004733b0
add esp, 8
mov dword [ebp - 0x42c], eax
push 0x2710
lea ecx, [ebp - 0x14a4]
call fcn.004069a0
jmp 0x475abb
lea edx, [ebp - 0x424]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404610
push eax
call fcn.004733b0
add esp, 8
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14a4]
call fcn.00406a40
jmp 0x475ad6
mov dword [ebp - 0x42c], 0
cmp dword [ebp - 0x42c], 0
jne 0x475b25
cmp dword [0x485a6c], 0
je 0x475b25
mov dword [0x485b70], 4
mov dword [0x485b74], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x485a68]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x485b78], eax
mov ecx, 0x485b68
call fcn.00474e50
jmp 0x475c96
cmp dword [0x485a6c], 0
je 0x475c96
lea ecx, [ebp - 0x14dc]
call fcn.00404440
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14c0]
call fcn.00404440
mov byte [ebp - 4], 7
push str.MainTn
lea ecx, [ebp - 0x1574]
call fcn.00404470
mov byte [ebp - 4], 8
push 0x47ac94
lea ecx, [ebp - 0x1590]
call fcn.00404470
mov byte [ebp - 4], 9
lea edx, [ebp - 0x14dc]
push edx
lea eax, [ebp - 0x1574]
push eax
lea ecx, [ebp - 0x1590]
push ecx
call fcn.00473e10
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1590]
call fcn.004044f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1574]
call fcn.004044f0
push str.installDir
lea ecx, [ebp - 0x15ac]
call fcn.00404470
mov byte [ebp - 4], 0xa
push str.BaiduBrowser
lea ecx, [ebp - 0x15c8]
call fcn.00404470
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x14c0]
push edx
lea eax, [ebp - 0x15ac]
push eax
lea ecx, [ebp - 0x15c8]
push ecx
call fcn.00473e10
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x15c8]
call fcn.004044f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x15ac]
call fcn.004044f0
mov dword [0x485b70], 4
lea edx, [ebp - 0x14dc]
push edx
push 0x485b14
call fcn.00407700
add esp, 8
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov dword [0x485b74], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x485a68]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x485b78], eax
lea edx, [ebp - 0x14c0]
push edx
mov ecx, 0x485b98
call fcn.00404510
mov ecx, 0x485b68
call fcn.00474e50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14c0]
call fcn.004044f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14dc]
call fcn.004044f0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0045fec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
call fcn.004044f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408b45
mov esp, ebp
pop ebp
ret