Function at 0x4e7f90
Capabilities:
Accept command line arguments
Query environment variable
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652485
mov eax, dword fs:[0]
push eax
sub esp, 0x3bc
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x260], 0
push 0
push eax
call fcn.005d9d70
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2c8], 0x67be70
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push eax
call fcn.0057ef30
add esp, 0x10
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea ecx, [ebp - 0x270]
push esi
call fcn.004a56e0
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 2
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 1
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e807c
cmp byte [ebp - 0x268], 0
je 0x4e807c
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x26c]
call fcn.0055d2a5
add esp, 0xc
push 0x67c08c
lea ecx, [ebp - 0x270]
call fcn.004a56e0
mov ecx, dword [ebp - 0x258]
lea edx, [ebp - 0x270]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [ebp - 0x26c]
mov byte [ebp - 0x249], al
mov byte [ebp - 4], 1
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test ecx, ecx
je 0x4e80e7
cmp byte [ebp - 0x268], 0
je 0x4e80e7
push ecx
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x26c]
call fcn.0055d2a5
mov al, byte [ebp - 0x249]
add esp, 0xc
test al, al
je 0x4e80f0
call fcn.0057a3f0
lea eax, [ebp - 0x288]
push eax
call fcn.00480cf0
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 4
push eax
call fcn.00480ff0
push dword [ebp - 0x288]
mov byte [ebp - 4], 5
push dword [ebp - 0x2a4]
push esi
push str.Main__s__:_strProductId___s__strProductAppDataPath___s
call fcn.00488bb0
xor esi, esi
mov dword [ebp - 0x298], esi
xor edi, edi
mov dword [ebp - 0x2a0], edi
mov eax, dword [ebp - 0x258]
add esp, 0x14
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4e815b
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
call fcn.00506590
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
add esp, 4
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2f0], 0x67c054
mov dword [ebp - 0x2cc], 0
mov byte [ebp - 4], 8
mov byte [ebp - 0x249], 0
test eax, eax
jne 0x4e82a2
mov eax, dword [0x6faeb4]
test al, 1
jne 0x4e8202
or eax, 1
mov dword [0x6faeb4], eax
mov ecx, 0x6faeb0
mov byte [ebp - 4], 9
call fcn.004e9160
push 0
push 0
push str.LdsCefView
call fcn.004e76b0
push 0x66eae0
call fcn.0055d6ae
add esp, 0x10
mov byte [ebp - 4], 8
push str.browser
push dword [ebp - 0x288]
mov ecx, 0x6fa68c
push 0
call fcn.004881a0
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x249]
push eax
mov eax, dword [ebp - 0x258]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4e8245
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
call fcn.004e78d0
push 0x34
call fcn.0055d275
add esp, 0x10
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4e826f
push 1
mov ecx, eax
call fcn.004fbab0
mov esi, eax
jmp 0x4e8271
xor esi, esi
mov byte [ebp - 4], 8
test esi, esi
je 0x4e8288
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 0x249], 0
mov dword [ebp - 0x298], esi
je 0x4e8321
xor edi, edi
jmp 0x4e8c2e
cmp eax, 1
jne 0x4e8368
push str.render
push dword [ebp - 0x288]
mov ecx, 0x6fa68c
push 0
call fcn.004881a0
push 0x4c
call fcn.0055d275
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4e82e7
push 1
mov ecx, eax
call fcn.004f1d20
mov esi, eax
jmp 0x4e82e9
xor esi, esi
mov byte [ebp - 4], 8
test esi, esi
je 0x4e8300
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov edi, esi
mov dword [ebp - 0x2a0], edi
test esi, esi
je 0x4e831b
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x298], esi
mov ecx, dword [0x6fa7c4]
test ecx, ecx
jne 0x4e83e8
push 0x6f3214
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x6fa7c4], 0
jne 0x4e83d7
push 4
call fcn.0055d275
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4e83c1
mov ecx, eax
call fcn.00576b30
jmp 0x4e83c3
cmp eax, 3
jne 0x4e8321
push 0x67c14c
push dword [ebp - 0x288]
mov ecx, 0x6fa68c
push 0
call fcn.004881a0
push 0x20
call fcn.0055d275
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4e83a7
push 1
mov ecx, eax
call fcn.00506870
jmp 0x4e83a9
xor eax, eax
push eax
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 8
call fcn.004e6e00
mov esi, dword [ebp - 0x298]
jmp 0x4e83f6
xor eax, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x250]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x6fa7c4], eax
push 0x6f3214
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x6fa7c4]
push 0
push str.cefview
push 2
call fcn.00576db0
push str.sc_mute_app
lea ecx, [ebp - 0x270]
call fcn.004a56e0
mov ecx, dword [ebp - 0x258]
lea edx, [ebp - 0x270]
push edx
mov byte [ebp - 4], 0xe
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [ebp - 0x26c]
mov byte [ebp - 0x249], al
mov byte [ebp - 4], 8
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test ecx, ecx
je 0x4e8461
cmp byte [ebp - 0x268], 0
je 0x4e8461
push ecx
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x26c]
call fcn.0055d2a5
mov al, byte [ebp - 0x249]
add esp, 0xc
test al, al
je 0x4e848e
push 0x67c180
push str.__sc_mute_app
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call fcn.004e74f0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e84da
push 1
call eax
xor ecx, ecx
test eax, eax
setg cl
jmp 0x4e84dc
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.__sc_mute_app
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4e84f0
lea eax, [ebp - 0x218]
push 0x67c180
push eax
call fcn.00616cc9
add esp, 8
test eax, eax
jne 0x4e84f0
call fcn.004e74f0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e84da
push 1
call eax
xor ecx, ecx
test eax, eax
setg cl
jmp 0x4e84dc
xor ecx, ecx
push dword [ebp - 0x254]
push ecx
push str.sc_mute_app:_ret___d__process_type___d
call fcn.00488bb0
add esp, 0xc
push 0
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4e850a
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x2c8]
push eax
call fcn.0057a5c0
add esp, 0xc
mov dword [ebp - 0x25c], eax
test eax, eax
js 0x4e85d8
push str.sc_terminate_quit
lea ecx, [ebp - 0x284]
call fcn.004a56e0
mov ecx, dword [ebp - 0x258]
lea edx, [ebp - 0x284]
push edx
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x260], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
test al, al
jne 0x4e8575
test edi, edi
je 0x4e856c
mov ecx, edi
call fcn.004f3990
test al, al
je 0x4e8575
mov byte [ebp - 0x249], 0
jmp 0x4e857c
mov byte [ebp - 0x249], 1
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], 8
call fcn.0049d9f0
cmp byte [ebp - 0x249], 0
je 0x4e8c28
push str.CefExecuteProcess_:_TerminateProcess.
call fcn.00488bb0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4e8c28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CefExecuteProcess_TerminateProcess_error:_d
call fcn.00488bb0
add esp, 8
jmp 0x4e8c28
push 0x58
call fcn.0055d275
mov edi, eax
add esp, 4
mov dword [ebp - 0x250], edi
mov byte [ebp - 4], 0x10
test edi, edi
je 0x4e861d
mov eax, dword [ebp - 0x258]
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4e8612
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov ecx, edi
call fcn.004b8ca0
mov edi, eax
jmp 0x4e861f
xor edi, edi
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x2f4], edi
push 0xcc
lea eax, [ebp - 0x3c4]
mov dword [ebp - method.CefStructBase_struct_CefSettingsTraits_.virtual_0], vtable.CefStructBase_struct_CefSettingsTraits_.0
push 0
push eax
call fcn.005d9d70
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x3c4], 0xcc
mov eax, dword [ebp - 0x344]
mov ecx, 1
cmp dword [0x6f3070], 0xf
push 0xc0
cmove eax, ecx
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x3c0], ecx
call fcn.0055d275
add esp, 0x10
mov dword [ebp - 0x254], eax
test eax, eax
je 0x4e877d
push 0xc0
push 0
push eax
call fcn.005d9d70
mov eax, dword [ebp - 0x254]
add esp, 0xc
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [eax + 0x18], 0
xorps xmm0, xmm0
mov byte [eax + 0x1c], 0
movups xmmword [eax + 0x24], xmm0
mov dword [eax + 0x34], 0
mov dword [eax + 0x20], vtable.CefRect.0
lea ecx, [eax + 0x38]
xor eax, eax
mov dword [ecx + 0x10], 0
push 7
mov dword [ecx + 0x14], 7
push str.CefView
mov byte [ebp - 4], 0x15
mov word [ecx], ax
call fcn.00484230
mov eax, dword [ebp - 0x254]
xor ecx, ecx
mov dword [eax + 0x50], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 7
mov word [eax + 0x54], cx
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], 7
mov word [eax + 0x6c], cx
mov dword [eax + 0x94], ecx
mov dword [eax + 0x98], 7
mov word [eax + 0x84], cx
mov dword [eax + 0x9c], ecx
mov byte [eax + 0xa0], cl
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], 7
mov word [eax + 0xa4], cx
mov byte [eax + 0xbc], cl
jmp 0x4e877f
xor eax, eax
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x258]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4e87a7
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x274]
call fcn.004dfa00
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x39c]
push 0x67c26c
mov al, byte [eax + 0x1c]
test al, al
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x39c], ecx
lea ecx, [ebp - 0x294]
call fcn.004a56e0
mov ecx, dword [ebp - 0x258]
lea edx, [ebp - 0x294]
push edx
lea edx, [ebp - 0x2bc]
mov byte [ebp - 4], 0x17
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x290]
mov byte [ebp - 4], 0x19
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e8846
cmp byte [ebp - 0x28c], 0
je 0x4e8835
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x290]
call fcn.0055d2a5
add esp, 0xc
mov dword [ebp - 0x290], 0
mov byte [ebp - 0x28c], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x3c8]
push ecx
lea ecx, [ebp - 0x2bc]
push ecx
mov ecx, edi
call dword [eax + 0x20]
push 0x67c274
lea ecx, [ebp - 0x2b0]
call fcn.004a3000
mov ecx, dword [ebp - 0x258]
lea edx, [ebp - 0x2b0]
push edx
lea edx, [ebp - 0x270]
mov byte [ebp - 4], 0x1a
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, eax
call fcn.004b0db0
mov eax, dword [ebp - 0x26c]
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e88e0
cmp byte [ebp - 0x268], 0
je 0x4e88cf
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x26c]
call fcn.0055d2a5
add esp, 0xc
mov dword [ebp - 0x26c], 0
mov byte [ebp - 0x268], 0
mov eax, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x1e
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e8928
cmp byte [ebp - 0x2a8], 0
je 0x4e8917
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x2ac]
call fcn.0055d2a5
add esp, 0xc
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 0x2a8], 0
cmp dword [ebp - 0x220], 0
je 0x4e8982
lea eax, [ebp - 0x230]
push eax
call fcn.0048fd10
lea eax, [ebp - 0x394]
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
add esp, 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 0x27c], 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x284]
call fcn.004a33d0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x1e
call fcn.0049d9f0
push str.log_file
lea ecx, [ebp - 0x284]
call fcn.004a3000
mov ecx, dword [ebp - 0x258]
lea edx, [ebp - 0x284]
push edx
lea edx, [ebp - 0x294]
mov byte [ebp - 4], 0x20
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x21
push ecx
mov ecx, eax
call fcn.004b0db0
mov eax, dword [ebp - 0x290]
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e8a07
cmp byte [ebp - 0x28c], 0
je 0x4e89f6
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x290]
call fcn.0055d2a5
add esp, 0xc
mov dword [ebp - 0x290], 0
mov byte [ebp - 0x28c], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e8a3a
cmp byte [ebp - 0x27c], 0
je 0x4e8a3a
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x280]
call fcn.0055d2a5
add esp, 0xc
cmp dword [ebp - 0x238], 0
je 0x4e8a81
lea eax, [ebp - 0x350]
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [ebp - 0x280], eax
mov byte [ebp - 0x27c], 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x284]
call fcn.004a33d0
lea ecx, [ebp - 0x284]
call fcn.0049d9f0
mov dword [ebp - 0x29c], 0
cmp dword [ebp - 0x3a4], 0
mov byte [ebp - 4], 0x26
je 0x4e8ad6
push 0x40
call fcn.0055d275
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x27
test eax, eax
je 0x4e8ac8
mov ecx, eax
call fcn.004baf60
mov edi, eax
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x29c], edi
jmp 0x4e8b48
xor edi, edi
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x29c], edi
jmp 0x4e8b48
cmp dword [ebp - 0x3a0], 0
je 0x4e8b0f
lea eax, [ebp - 0x260]
push eax
call fcn.00504f80
add esp, 4
mov edi, dword [eax]
mov dword [eax], 0
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x29c], edi
test ecx, ecx
je 0x4e8b48
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x4e8b48
push 4
call fcn.0055d275
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4e8b30
mov ecx, eax
call fcn.005051f0
jmp 0x4e8b32
xor eax, eax
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x26
call fcn.004e9930
mov edi, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x274]
push dword [eax + 0x18]
add eax, 0x54
push eax
call fcn.004e7610
mov ecx, eax
call fcn.004f98b0
mov dword [ebp - 0x260], eax
test eax, eax
jne 0x4e8cf2
mov dword [ebp - 0x25c], 0xffffffff
test edi, edi
je 0x4e8b86
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x14]
mov edi, dword [ebp - 0x264]
lea ecx, [ebp - 0x248]
call fcn.0047d6c0
lea ecx, [ebp - 0x230]
call fcn.0047d6c0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e8be6
cmp byte [ebp - 0x2b4], 0
je 0x4e8bd5
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x2b8]
call fcn.0055d2a5
add esp, 0xc
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x4e8c10
mov ecx, eax
call fcn.004cd8b0
push 0xc0
push dword [ebp - 0x250]
call fcn.0055d2a5
add esp, 8
lea ecx, [ebp - 0x3c8]
call fcn.004e6c90
test edi, edi
je 0x4e8c28
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x30]
mov edi, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x2dc]
test eax, eax
je 0x4e8c3e
push eax
call fcn.005077cf
mov eax, dword [ebp - 0x2a0]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x4e8c5c
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2e
test esi, esi
je 0x4e8c74
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2a4]
or esi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e8c98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x288]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4e8cb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x258]
mov byte [ebp - 4], 0x2f
test ecx, ecx
je 0x4e8cd5
mov edx, dword [ecx + 4]
add ecx, 4
mov edx, dword [edx + 4]
add ecx, edx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x274]
add eax, 0x54
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4e8d16
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.004b9ba0
mov ecx, dword [ebp - 0x274]
push dword [ebp - 0x260]
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x250], 0
push ecx
mov eax, esp
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x278], esp
mov dword [eax], ecx
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x2a
push eax
mov eax, dword [ebp - 0x264]
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, eax
mov byte [ebp - 4], 0x29
call fcn.004ce500
mov eax, dword [ebp - 0x260]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x4e8dc1
lea ecx, [eax + 4]
mov dword [ebp - 0x254], ecx
call fcn.00579960
test al, al
je 0x4e8dc1
mov ecx, dword [ebp - 0x254]
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.004a4ca0
add esp, 4
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x254], eax
test eax, eax
je 0x4e8def
mov ecx, eax
call fcn.004cd8b0
push 0xc0
push dword [ebp - 0x254]
call fcn.0055d2a5
add esp, 8
call fcn.004b9d70
mov dword [ebp - 0x254], eax
cmp byte [eax + 0x1c], 0
je 0x4e8ec6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [ebp - 0x254]
mov dword [ebp - 0x25c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x254]
add eax, 0x20
mov dword [ebp - 0x260], eax
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x278], eax
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e8e6d
mov eax, dword [ebp - 0x25c]
cmp dword [ecx + 0x10], eax
jae 0x4e8e4e
mov ecx, dword [ecx + 8]
jmp 0x4e8e52
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4e8e44
mov eax, dword [ebp - 0x278]
cmp edx, eax
je 0x4e8e6d
mov ecx, dword [ebp - 0x25c]
cmp ecx, dword [edx + 0x10]
jae 0x4e8e6f
mov edx, eax
cmp edx, eax
jne 0x4e8eba
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x25c]
push eax
call fcn.004c6de0
push dword [ebp - 0x25c]
mov dword [ebp - 0x278], eax
push 0
push 0x4c8910
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x260]
mov dword [edx], eax
lea eax, [ebp - 0x25c]
push eax
call fcn.004c6de0
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax]
call eax
mov dword [ebp - 0x25c], eax
call fcn.004b9d70
push eax
mov dword [ebp - 0x254], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x254]
add eax, 0x20
mov dword [ebp - 0x250], eax
mov eax, dword [eax]
mov dword [ebp - 0x278], eax
mov ecx, dword [eax]
mov dword [ebp - 0x260], ecx
cmp ecx, eax
je 0x4e8f37
nop dword [eax]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x4e8f1e
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
lea ecx, [ebp - 0x260]
call fcn.004c6e70
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0x278]
jne 0x4e8f10
mov ecx, dword [ebp - 0x250]
call fcn.004e98a0
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.sc_terminate_quit
lea ecx, [ebp - 0x284]
call fcn.004a56e0
mov ecx, dword [ebp - 0x258]
lea edx, [ebp - 0x284]
push edx
mov byte [ebp - 4], 0x2c
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
lea ecx, [ebp - 0x284]
mov byte [ebp - 0x249], al
mov byte [ebp - 4], 0x26
call fcn.0049d9f0
cmp byte [ebp - 0x249], 0
je 0x4e8fca
push str.Main_:_TerminateProcess.
call fcn.00488bb0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4e8fe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.TerminateProcess_error:_d._Shut_down_CEF
call fcn.00488bb0
add esp, 8
jmp 0x4e8fd7
push str.Main_:_Shutdown.
call fcn.00488bb0
add esp, 4
mov ecx, dword [ebp - 0x264]
call fcn.004ba8a0
push dword [ebp - 0x2ec]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e8ffe
push dword [ebp - 0x2ec]
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.004e7610
cmp dword [0x6faeac], 0
je 0x4e9052
push 0x6f3470
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6faeac]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x4e9047
mov ecx, eax
call fcn.004f9600
push 0xc
push dword [ebp - 0x250]
call fcn.0055d2a5
add esp, 8
mov dword [0x6faeac], 0
push 0x6f3470
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x14]
mov eax, dword [ebp - 0x264]
mov ecx, eax
push 1
mov edx, dword [eax]
call dword [edx + 0x30]
xor edi, edi
jmp 0x4e8b8c