Function at 0x40140b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x4b206c]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x1c], ecx
push ebx
push ebx
push ecx
push ecx
mov esi, esp
mov dword [esp + 0x24], ebx
mov eax, str.CRASH_CAUSED_BY_MS_IME
push eax
mov dword [esi], eax
call fcn.0040124c
pop ecx
lea ecx, [esp + 0x50]
mov dword [esi + 4], eax
call fcn.004138c0
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x40145c
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push eax
call edi
push ebx
push 1
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004019ef
test esi, esi
je 0x4015cc
lea ecx, [esp + 0x10]
call fcn.0040c250
push ecx
push ecx
mov esi, esp
mov eax, str.CRASH_CAUSED_BY_MS_IME
push eax
mov dword [esi], eax
call fcn.0040124c
mov dword [esi + 4], eax
mov esi, dword [esp + 0x1c]
pop ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
push ecx
push ecx
mov edi, esp
mov eax, str.CHROME_CRASHED
push eax
mov dword [edi], eax
call fcn.0040124c
mov dword [edi + 4], eax
mov eax, dword [esi]
pop ecx
mov ecx, esi
call dword [eax + 0x10]
push 0x31
push 0x492884
push 0x492898
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x4015b6
xor eax, eax
mov dword [esp + 0x6c], 7
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
call fcn.0040eb10
test al, al
je 0x401514
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xa4]
call fcn.0040fc80
push str._DOWNLOADSOFT151
jmp 0x40153f
mov ecx, dword [0x4b6964]
lea eax, [esp + 0x40]
push eax
call fcn.004105d0
push eax
lea ecx, [esp + 0xa4]
call fcn.0040fc80
lea ecx, [esp + 0x40]
call fcn.0040d070
push str.http:__download.microsoft.com_download_F_F_F_FFFECF33_D8A0_4949_838B_703FF05E58CA_IME2010_zh_cn.exe
lea ecx, [esp + 0x8c]
call fcn.0040197a
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xa4]
call fcn.0040df50
lea ecx, [esp + 0xc0]
call fcn.0040e9a0
push eax
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x18]
call fcn.0040c3a0
pop ecx
lea ecx, [esp + 0x14]
call fcn.0040b910
lea ecx, [esp + 0xc4]
call fcn.0040d070
push ebx
push 1
lea ecx, [esp + 0x90]
call fcn.004019ef
lea ecx, [esp + 0xa0]
call fcn.0040fe30
lea ecx, [esp + 0x58]
call fcn.0040d070
mov ecx, dword [esp + 0x1c]
push 1
mov byte [ecx], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx]
mov al, 1
jmp 0x40193b
push ebx
push ebx
push ecx
push ecx
mov esi, esp
mov eax, str.CRASH_CAUSED_BY_IME
push eax
mov dword [esi], eax
call fcn.0040124c
pop ecx
lea ecx, [esp + 0x50]
mov dword [esi + 4], eax
call fcn.004138c0
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4015f6
mov eax, dword [eax]
push eax
call edi
mov edi, eax
lea ecx, [esp + 0x40]
push 0
test edi, edi
push 1
setne bl
call fcn.004019ef
test bl, bl
je 0x4018df
xor ecx, ecx
lea eax, [edi + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00460c70
mov dword [esp + 0x14], eax
pop ecx
test eax, eax
je 0x4018d3
push edi
push eax
push ecx
push ecx
mov esi, esp
mov eax, str.CRASH_CAUSED_BY_IME
push eax
mov dword [esi], eax
call fcn.0040124c
pop ecx
lea ecx, [esp + 0x50]
mov dword [esi + 4], eax
call fcn.004138c0
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x401663
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ebx, ebx
lea ecx, [esp + 0x40]
push ebx
push 1
call fcn.004019ef
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [eax + edi*2], cx
lea ecx, [esp + 0x14]
call fcn.0040c250
push ecx
push ecx
mov esi, esp
mov eax, str.CRASH_CAUSED_BY_IME
push eax
mov dword [esi], eax
call fcn.0040124c
mov dword [esi + 4], eax
mov esi, dword [esp + 0x20]
pop ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
push ecx
push ecx
mov edi, esp
mov eax, str.CHROME_CRASHED
push eax
mov dword [edi], eax
call fcn.0040124c
mov dword [edi + 4], eax
mov eax, dword [esi]
pop ecx
mov ecx, esi
call dword [eax + 0x10]
push dword [esp + 0x10]
lea ecx, [esp + 0x5c]
call fcn.0040197a
xor eax, eax
mov dword [esp + 0x84], 7
push str.dx_ime
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
call fcn.00402237
test eax, eax
jne 0x401709
mov edi, 0x4929e8
jmp 0x401789
push str.sulang_ime
lea ecx, [esp + 0x5c]
call fcn.00402237
test eax, eax
jne 0x401722
mov edi, 0x492a0c
jmp 0x401789
push str.jipin_ime
lea ecx, [esp + 0x5c]
call fcn.00402237
test eax, eax
jne 0x40173b
mov edi, 0x492a2c
jmp 0x401789
push str.wn_ime
lea ecx, [esp + 0x5c]
call fcn.00402237
test eax, eax
jne 0x401754
mov edi, 0x492a48
jmp 0x401789
push str.xiaochenpy_ime
lea ecx, [esp + 0x5c]
call fcn.00402237
test eax, eax
jne 0x40176d
mov edi, 0x492a74
jmp 0x401789
push str.sppy_ime
lea ecx, [esp + 0x5c]
call fcn.00402237
mov edi, 0x492a94
test eax, eax
je 0x401789
mov edi, 0x492aa0
push edi
call fcn.004011e1
pop ecx
push eax
push edi
lea ecx, [esp + 0x78]
call fcn.00401a46
lea eax, [esp + 0x70]
mov edx, 0x492b08
push eax
lea ecx, [esp + 0x44]
call fcn.004021e5
mov edi, eax
mov dword [esp], 0x492aa8
call fcn.004011e1
pop ecx
push eax
push 0x492aa8
mov ecx, edi
call fcn.00401d59
push eax
lea ecx, [esp + 0x8c]
call fcn.004022a2
xor edi, edi
lea ecx, [esp + 0x40]
push ebx
inc edi
push edi
call fcn.004019ef
push dword [esp + 0x10]
call fcn.00460c6b
cmp dword [esp + 0xa0], 8
lea eax, [esp + 0x8c]
pop ecx
cmovae eax, dword [esp + 0x88]
push 0x31
push 0x492884
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, edi
jne 0x4018a6
mov ecx, dword [0x4b6964]
lea eax, [esp + 0xa0]
push eax
call fcn.004105d0
push eax
lea ecx, [esp + 0x24]
call fcn.0040fc80
lea ecx, [esp + 0xa0]
call fcn.0040d070
push str.http:__bbs.360safe.com_thread_4452447_1_1.html
lea ecx, [esp + 0x44]
call fcn.0040197a
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call fcn.0040df50
lea ecx, [esp + 0xc0]
call fcn.0040e9a0
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x18]
call fcn.0040c3a0
pop ecx
lea ecx, [esp + 0x14]
call fcn.0040b910
lea ecx, [esp + 0xc4]
call fcn.0040d070
push ebx
push edi
lea ecx, [esp + 0x48]
call fcn.004019ef
lea ecx, [esp + 0x20]
call fcn.0040fe30
push ebx
push edi
lea ecx, [esp + 0x90]
call fcn.004019ef
push ebx
push edi
lea ecx, [esp + 0x78]
call fcn.004019ef
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.004019ef
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], 1
jmp 0x4015c5
push str.chrome_elf.dll
lea ecx, [esp + 0x44]
call fcn.0040197a
call fcn.00408eba
mov esi, eax
lea eax, [esp + 0x40]
push ecx
push eax
call fcn.00408707
mov edi, eax
test esi, esi
je 0x40190d
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
xor ebx, ebx
lea ecx, [esp + 0x40]
push ebx
push 1
call fcn.004019ef
test edi, edi
je 0x401939
push str.SignalIfShowCrashDialog
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401939
mov ecx, dword [esp + 0x1c]
push ecx
call eax
pop ecx
mov bl, al
mov al, bl
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret