Function at 0x4c0af0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0xd8], eax
xor esi, esi
lea edi, [esp + 0x38]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
push edi
push 0x16
push str.CRASH_CAUSED_BY_MS_IME
call fcn.004fe880
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x4c0b35
mov edi, dword [esp + 0x38]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [esp + 0x43], 0
jns 0x4c0b53
push dword [esp + 0x38]
call fcn.0050fc7c
add esp, 4
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x4c0beb
xor esi, esi
lea edi, [esp + 0x38]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
push edi
push 0x13
push str.CRASH_CAUSED_BY_IME
call fcn.004fe880
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x4c0b86
mov edi, dword [esp + 0x38]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [esp + 0x43], 0
jns 0x4c0ba4
push dword [esp + 0x38]
call fcn.0050fc7c
add esp, 4
test esi, esi
je 0x4c0c4a
lea eax, [esi + 1]
lea ecx, [esi + esi]
add ecx, 2
xor edx, edx
dec edx
test eax, eax
cmovs ecx, edx
push ecx
call fcn.00510d94
add esp, 4
test eax, eax
jne 0x4c0c97
mov byte [ebx], 1
mov bl, 1
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
call fcn.00510d64
add esp, 4
mov esi, eax
mov dword [eax], 0x5d6410
mov ecx, eax
push 0x16
push str.CRASH_CAUSED_BY_MS_IME
call fcn.00567430
mov ecx, esi
push 0xe
push str.CHROME_CRASHED
call fcn.00567430
push 0x31
push 0x5d7db6
push 0x5d7dc8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x4c11e5
mov byte [ebx], 1
mov bl, 1
test esi, esi
je 0x4c0bd3
push esi
call fcn.0050fc7c
add esp, 4
jmp 0x4c0bd3
lea edi, [esp + 0xa0]
mov ecx, edi
push str.chrome_elf.dll
call fcn.005477d0
push 0x14
call fcn.00510d64
add esp, 4
mov esi, eax
pxor xmm0, xmm0
movdqu xmmword [eax + 4], xmm0
mov dword [eax], 0x5d58a8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4c0d61
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
jmp 0x4c0d64
mov edi, eax
xor eax, eax
lea ebx, [esp + 0x38]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
push ebx
push 0x13
push str.CRASH_CAUSED_BY_IME
call fcn.004fe880
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x4c0cc1
mov ebx, dword [esp + 0x38]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [esp + 0x43], 0
jns 0x4c0cdd
push dword [esp + 0x38]
call fcn.0050fc7c
add esp, 4
mov word [edi + esi*2], 0
push 4
call fcn.00510d64
add esp, 4
mov esi, eax
mov dword [eax], 0x5d6410
mov ecx, eax
push 0x13
push str.CRASH_CAUSED_BY_IME
call fcn.00567430
mov dword [esp + 8], esi
mov ecx, esi
push 0xe
push str.CHROME_CRASHED
call fcn.00567430
lea esi, [esp + 0xc8]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edi
call fcn.005477d0
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
movzx eax, byte [esi + 0xb]
test al, al
mov ebx, dword [ebp + 8]
jns 0x4c0e01
mov ecx, dword [esp + 0xcc]
jmp 0x4c0e06
and eax, 0x7f
lea ebx, [esp + 0x38]
push eax
push edi
push ebx
call fcn.00420d40
add esp, 0xc
mov ecx, esi
push 0
push ebx
call fcn.004bffd0
mov edi, eax
cmp byte [ebx + 0xb], 0
jns 0x4c0d91
push dword [esp + 0x38]
call fcn.0050fc7c
add esp, 4
test esi, esi
mov ebx, dword [ebp + 8]
je 0x4c0db8
mov dword [esi], 0x5d58a0
cmp byte [esi + 0x13], 0
jns 0x4c0daf
push dword [esi + 8]
call fcn.0050fc7c
add esp, 4
push esi
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0xab], 0
jns 0x4c0dd1
push dword [esp + 0xa0]
call fcn.0050fc7c
add esp, 4
test edi, edi
je 0x4c0dfa
push str.SignalIfShowCrashDialog
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c0dfa
mov ecx, eax
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov ebx, eax
jmp 0x4c0bd3
xor ebx, ebx
jmp 0x4c0bd3
mov ecx, eax
and ecx, 0x7f
add ecx, 0xfffffffa
cmp ecx, 8
ja case.0x4c0e12.7
jmp dword [ecx*4 + 0x5d8030]
test al, al
mov ecx, dword [esp + 0xc8]
mov edx, esi
cmovs edx, ecx
movzx edx, word [edx]
cmp edx, 0x77
je 0x4c1264
cmp edx, 0x64
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 2], 0x78
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 4], 0x5f
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 6], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 8], 0x6d
jne case.0x4c0e12.7
test al, al
cmovs esi, ecx
cmp word [esi + 0xa], 0x65
jne case.0x4c0e12.7
lea ecx, [esp + 0x90]
push 5
push 0x5d7f02
jmp 0x4c12b6
test al, al
mov ecx, dword [esp + 0xc8]
mov edx, esi
cmovs edx, ecx
cmp word [edx], 0x6a
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 2], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 4], 0x70
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 6], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 8], 0x6e
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xa], 0x5f
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xc], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xe], 0x6d
jne case.0x4c0e12.7
test al, al
cmovs esi, ecx
cmp word [esi + 0x10], 0x65
jne case.0x4c0e12.7
lea ecx, [esp + 0x90]
push 5
push 0x5d7f1a
jmp 0x4c12b6
test al, al
mov ecx, dword [esp + 0xc8]
mov edx, esi
cmovs edx, ecx
cmp word [edx], 0x73
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 2], 0x70
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 4], 0x70
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 6], 0x79
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 8], 0x5f
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xa], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xc], 0x6d
jne case.0x4c0e12.7
test al, al
cmovs esi, ecx
cmp word [esi + 0xe], 0x65
jne case.0x4c0e12.7
lea ecx, [esp + 0x90]
push 5
push 0x5d7f3e
jmp 0x4c12b6
test al, al
mov ecx, dword [esp + 0xc8]
mov edx, esi
cmovs edx, ecx
cmp word [edx], 0x73
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 2], 0x75
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 4], 0x6c
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 6], 0x61
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 8], 0x6e
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xa], 0x67
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xc], 0x5f
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xe], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0x10], 0x6d
jne case.0x4c0e12.7
test al, al
cmovs esi, ecx
cmp word [esi + 0x12], 0x65
jne case.0x4c0e12.7
lea ecx, [esp + 0x90]
push 5
push 0x5d7f0e
jmp 0x4c12b6
test al, al
mov ecx, dword [esp + 0xc8]
mov edx, esi
cmovs edx, ecx
cmp word [edx], 0x78
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 2], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 4], 0x61
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 6], 0x6f
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 8], 0x63
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xa], 0x68
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xc], 0x65
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0xe], 0x6e
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0x10], 0x70
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0x12], 0x79
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0x14], 0x5f
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0x16], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 0x18], 0x6d
jne case.0x4c0e12.7
test al, al
cmovs esi, ecx
cmp word [esi + 0x1a], 0x65
jne case.0x4c0e12.7
lea ecx, [esp + 0x90]
push 5
push 0x5d7f32
jmp 0x4c12b6
xor eax, eax
lea ebx, [esp + 0xc8]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
push ebx
call fcn.00567ee0
add esp, 4
test al, al
je 0x4c143e
xor edi, edi
dec edi
lea ecx, [esp + 0xa0]
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x20], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
push ebx
call fcn.00564300
lea ebx, [esp + 0x90]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov ecx, ebx
push 0x5d7e16
call fcn.005477d0
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c1559
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
jmp 0x4c155c
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 2], 0x6e
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 4], 0x5f
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 6], 0x69
jne case.0x4c0e12.7
test al, al
mov edx, esi
cmovs edx, ecx
cmp word [edx + 8], 0x6d
jne case.0x4c0e12.7
test al, al
cmovs esi, ecx
cmp word [esi + 0xa], 0x65
jne case.0x4c0e12.7
lea ecx, [esp + 0x90]
push 5
push 0x5d7f26
call fcn.00547750
jmp 0x4c12db
mov byte [esp + 0x9b], 3
mov dword [esp + 0x90], 0x51658f93
mov dword [esp + 0x94], 0x6cd5
lea eax, [esp + 0x90]
lea esi, [esp + 0x38]
push eax
push 0x5d7faa
push esi
call fcn.004106c0
add esp, 0xc
mov ecx, esi
push 0x2f
push 0x5d7f4a
call fcn.00410600
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
movq xmm0, qword [eax]
movq qword [esp + 0x20], xmm0
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
cmp byte [esi + 0xb], 0
jns 0x4c1330
push dword [esp + 0x38]
call fcn.0050fc7c
add esp, 4
push edi
call fcn.00510d5f
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x4c1346
mov eax, dword [esp + 0x20]
jmp 0x4c134a
lea eax, [esp + 0x20]
xor edi, edi
dec edi
push 0x31
push 0x5d7db6
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x4c13c1
cmp byte [esp + 0x2b], 0
jns 0x4c1375
push dword [esp + 0x20]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x9b], 0
jns 0x4c138e
push dword [esp + 0x90]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0xd3], 0
jns 0x4c13a7
push dword [esp + 0xc8]
call fcn.0050fc7c
add esp, 4
mov eax, dword [esp + 8]
test eax, eax
je 0x4c0bce
push eax
call fcn.0050fc7c
add esp, 4
jmp 0x4c0bce
lea eax, [esp + 0xa0]
mov dword [eax + 0x24], edi
mov dword [eax + 0x20], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov ecx, dword [0x6bedd8]
push esi
call fcn.00564540
lea ecx, [esp + 0xa0]
push esi
call fcn.00564300
cmp byte [esp + 0x43], 0
mov eax, edi
jns 0x4c140d
push dword [esp + 0x38]
mov edi, eax
call fcn.0050fc7c
mov eax, edi
add esp, 4
lea edi, [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
push str.http:__bbs.360safe.com_thread_4452447_1_1.html
call fcn.005477d0
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4c14c2
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x4c14c5
xor eax, eax
dec eax
lea ebx, [esp + 0xa0]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x20], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
mov ecx, dword [0x6bedd8]
lea edi, [esp + 0x38]
push edi
call fcn.00564540
mov ecx, ebx
push edi
call fcn.00564300
cmp byte [edi + 0xb], 0
jns 0x4c1485
push dword [esp + 0x38]
call fcn.0050fc7c
add esp, 4
lea ebx, [esp + 0x90]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, ebx
push str.http:__download.microsoft.com_download_F_F_F_FFFECF33_D8A0_4949_838B_703FF05E58CA_IME2010_zh_cn.exe
call fcn.005477d0
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c15eb
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
jmp 0x4c15ee
and eax, 0x7f
lea ecx, [esp + 0xa0]
push eax
push edi
call fcn.005645f0
xor eax, eax
lea ecx, [esp + 0x7c]
mov byte [ecx - 0x44], al
mov dword [ecx], eax
mov dword [ecx + 4], eax
pxor xmm0, xmm0
movdqu xmmword [ecx - 0x30], xmm0
mov dword [ecx - 0x1f], eax
mov dword [ecx - 0x23], eax
movdqu xmmword [ecx - 0x18], xmm0
mov dword [ecx - 9], eax
mov dword [ecx - 0x3c], eax
mov dword [ecx - 0x40], eax
mov dword [ecx - 0x35], eax
mov dword [ecx - 0x39], eax
mov dword [ecx - 4], ecx
mov byte [ecx + 8], al
lea edi, [esp + 0xc]
push esi
lea eax, [esp + 0xa4]
push eax
push edi
call fcn.0056dc10
add esp, 0xc
mov eax, dword [edi]
inc eax
cmp eax, 2
jae 0x4c16a8
lea ecx, [esp + 0x38]
call fcn.0056b340
cmp byte [esp + 0x1f], 0
jns 0x4c1548
push dword [esp + 0x14]
call fcn.0050fc7c
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.005644d0
jmp 0x4c1362
and eax, 0x7f
lea ecx, [esp + 0xa0]
push eax
push ebx
call fcn.005645f0
xor eax, eax
lea ecx, [esp + 0x7c]
mov byte [ecx - 0x44], al
mov dword [ecx], eax
mov dword [ecx + 4], eax
pxor xmm0, xmm0
movdqu xmmword [ecx - 0x30], xmm0
mov dword [ecx - 0x1f], eax
mov dword [ecx - 0x23], eax
movdqu xmmword [ecx - 0x18], xmm0
mov dword [ecx - 9], eax
mov dword [ecx - 0x3c], eax
mov dword [ecx - 0x40], eax
mov dword [ecx - 0x35], eax
mov dword [ecx - 0x39], eax
mov dword [ecx - 4], ecx
mov byte [ecx + 8], al
lea eax, [esp + 0x38]
lea edi, [esp + 0x88]
push eax
lea eax, [esp + 0xa4]
push eax
push edi
call fcn.0056dc10
add esp, 0xc
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x4c1655
call fcn.004ee180
push dword [esp + 0x88]
call fcn.00506200
add esp, 4
mov dword [esp + 0x88], 0
jmp 0x4c1655
and eax, 0x7f
lea ecx, [esp + 0xa0]
push eax
push ebx
call fcn.005645f0
xor eax, eax
lea ecx, [esp + 0x7c]
mov byte [ecx - 0x44], al
mov dword [ecx], eax
mov dword [ecx + 4], eax
pxor xmm0, xmm0
movdqu xmmword [ecx - 0x30], xmm0
mov dword [ecx - 0x1f], eax
mov dword [ecx - 0x23], eax
movdqu xmmword [ecx - 0x18], xmm0
mov dword [ecx - 9], eax
mov dword [ecx - 0x3c], eax
mov dword [ecx - 0x40], eax
mov dword [ecx - 0x35], eax
mov dword [ecx - 0x39], eax
mov dword [ecx - 4], ecx
mov byte [ecx + 8], al
lea edi, [esp + 0x30]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xa4]
push eax
push edi
call fcn.0056dc10
add esp, 0xc
mov eax, dword [edi]
inc eax
cmp eax, 2
jae 0x4c16c6
lea ecx, [esp + 0x38]
call fcn.0056b340
cmp byte [esp + 0x9b], 0
mov ebx, dword [ebp + 8]
jns 0x4c167a
push dword [esp + 0x90]
call fcn.0050fc7c
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.005644d0
cmp byte [esp + 0xd3], 0
jns 0x4c0c36
push dword [esp + 0xc8]
call fcn.0050fc7c
add esp, 4
jmp 0x4c0c36
call fcn.004ee180
push dword [esp + 0xc]
call fcn.00506200
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x4c152c
call fcn.004ee180
push dword [esp + 0x30]
call fcn.00506200
add esp, 4
mov dword [esp + 0x30], 0
jmp 0x4c1655