Function at 0x4d89c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], 0
cmp byte [edi + 0x310], 0
je 0x4d89ed
mov byte [edi + 0x310], 0
call fcn.004d95d0
mov edx, dword [edi + 0x318]
mov dword [edi + 0x2a2], 0
test edx, edx
je 0x4d8a0d
mov ecx, dword [edi + 0x64]
push edx
mov eax, dword [ecx]
call dword [eax + 0x84]
push str.edge:__
push ebx
mov dword [edi + 0x318], 0
call fcn.005c31e0
add esp, 8
mov dword [ebp - 0x90], eax
cmp eax, ebx
sete al
mov byte [ebp - 5], al
cmp al, byte [edi + 0x298]
je 0x4d8ab5
cmp dword [edi + 0xf8], 0xffffffff
lea esi, [edi + 0xf8]
je 0x4d8ab5
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 3
lea ecx, [esi + 0x48]
mov dword [ebp - 0x50], 0
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.00462680
push ecx
push 0xbb8
mov ecx, esi
call fcn.00464170
test al, al
jne 0x4d8a9a
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4d8a9a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.00464390
mov ecx, esi
call fcn.00464080
push 0
call fcn.005ab969
mov al, byte [ebp - 5]
add esp, 4
cmp dword [edi + 0xf8], 0xffffffff
mov byte [edi + 0x298], al
je 0x4d8bcf
mov ecx, ebx
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8ae2
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00414570
mov eax, dword [ebp - 0x2c]
xor esi, esi
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], esi
test eax, eax
je 0x4d8b51
push eax
mov dword [ebp - 0x60], eax
call fcn.005ab960
add esp, 4
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0xf
mov esi, eax
mov dword [ebp - 0x5c], esi
cmova ecx, ebx
push dword [ebp - 0x2c]
push ecx
push esi
call fcn.005c3580
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4d8b84
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4d8b7a
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d9504
push ecx
push ebx
call fcn.005ab85c
add esp, 8
lea ebx, [edi + 0x2e0]
push ebx
call fcn.005adc82
add esp, 4
test eax, eax
jne 0x4d9509
mov eax, dword [ebx + 0x2c]
cmp eax, 0x7fffffff
je 0x4d9510
lea eax, [ebp - 0x6c]
push eax
lea ecx, [edi + 0x140]
call fcn.00462680
push ebx
call fcn.005adcb4
add esp, 4
push esi
call fcn.005ab969
add esp, 4
jmp 0x4d944c
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2cc], 0x720528
mov dword [ebp - 0x2bc], 0x720520
call fcn.0040d540
push ecx
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.0040d420
mov eax, dword [ebp - 0x2cc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x2cc], 0x720530
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2d0], eax
lea ecx, [ebp - 0x2b4]
call fcn.0040de20
mov edx, str.WPEWebIpcHandler
mov dword [ebp - 0x2b4], 0x720534
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
call fcn.0040e220
push dword [0x74b5f8]
lea ecx, [ebp - 0x2bc]
call fcn.00428020
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x16c], 0x720528
mov dword [ebp - 0x15c], 0x720520
call fcn.0040d540
push ecx
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0040d420
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x16c], 0x720530
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x170], eax
lea ecx, [ebp - 0x154]
call fcn.0040de20
push pe_nt_image_headers32
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x154], 0x720534
push 0
push eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
call fcn.005c3040
mov eax, dword [edi + 0x29c]
add esp, 0xc
cdq
push edx
push eax
lea eax, [ebp - 0x30c]
push str._llu
push eax
call fcn.004dad40
add esp, 0x10
lea ecx, [ebp - 0x15c]
mov edx, str._parenthwnd
call fcn.0040e220
mov edx, 0x71e884
mov ecx, eax
call fcn.0040e220
lea edx, [ebp - 0x30c]
mov ecx, eax
call fcn.0040e220
mov edx, str.__mainwelaunch
lea ecx, [ebp - 0x15c]
call fcn.0040e220
mov al, byte [edi + 0x6e]
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 5], al
mov dword [ebp - 0x21c], 0x720528
mov dword [ebp - 0x20c], 0x720520
call fcn.0040d540
push ecx
lea eax, [ebp - 0x204]
mov ebx, 0x38
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040d420
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x21c], 0x720530
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x220], eax
lea ecx, [ebp - 0x204]
call fcn.0040de20
mov edx, str.monitor
mov dword [ebp - 0x204], 0x720534
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
call fcn.0040e220
movzx ecx, byte [edi + 0x6c]
push ecx
mov ecx, eax
call fcn.00428020
cmp byte [edi + 0x6d], 0
jbe 0x4d8e28
mov edx, 0x7317d8
lea ecx, [ebp - 0x20c]
call fcn.0040e220
movzx ecx, byte [edi + 0x6d]
push ecx
mov ecx, eax
call fcn.00428020
test byte [ebp - 5], 0x10
je 0x4d8e5e
mov edx, str.screensaver
lea ecx, [ebp - 0x2bc]
call fcn.0040e220
mov edx, str.__screensaver
lea ecx, [ebp - 0x15c]
call fcn.0040e220
mov edx, str.Screensaver
lea ecx, [ebp - 0x20c]
call fcn.0040e220
mov edx, str.__cacheId
lea ecx, [ebp - 0x15c]
call fcn.0040e220
mov esi, eax
lea ecx, [ebp - 0x204]
lea eax, [ebp - 0x24]
push eax
call fcn.0040d4a0
cmp dword [ebp - 0x10], 0xf
lea edx, [ebp - 0x24]
push dword [ebp - 0x14]
cmova edx, dword [ebp - 0x24]
mov ecx, esi
call fcn.0040fee0
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.004143d0
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x4c]
push 0x721297
push str.general
mov ecx, eax
call fcn.00465fd0
push eax
lea ecx, [ebp - 0x84]
call fcn.00464b00
lea ecx, [ebp - 0x24]
call fcn.00465f40
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
test eax, eax
je 0x4d8ee4
push eax
call fcn.004672a0
push 0x72201a
push str.resolution
lea ecx, [ebp - 0x84]
call fcn.00465fd0
push 0x72218a
push str.cefcommandline
lea ecx, [ebp - 0x84]
mov esi, eax
call fcn.00465fd0
push 0x733bcf
push str.cefdevtoolsport
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x88], eax
call fcn.00465fd0
cmp byte [esi + 8], 4
mov dword [ebp - 0x8c], eax
jne 0x4d8f6d
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
mov ebx, 0x39
call fcn.00465130
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x4d8f52
mov eax, dword [eax]
push 4
push str.half
mov ecx, eax
call fcn.004108e0
add esp, 8
test al, al
je 0x4d8f6d
mov byte [ebp - 5], 1
jmp 0x4d8f79
mov byte [ebp - 5], 0
mov dword [ebp - 0x40], ebx
test bl, 1
je 0x4d8f84
lea ecx, [ebp - 0x24]
and ebx, 0xfffffffe
call fcn.004143d0
mov eax, dword [ebp - 0x88]
cmp byte [eax + 8], 4
jne 0x4d8fa0
lea ecx, [ebp - 0x58]
or ebx, 2
push ecx
mov ecx, eax
call fcn.00465130
jmp 0x4d8fbf
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
or ebx, 4
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
test bl, 4
je 0x4d9032
mov ecx, dword [ebp - 0x10]
and ebx, 0xfffffffb
cmp ecx, 0xf
jbe 0x4d9032
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d9028
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d951b
push ecx
push edx
call fcn.005ab85c
add esp, 8
test bl, 2
je 0x4d903f
lea ecx, [ebp - 0x58]
call fcn.004143d0
cmp byte [ebp - 5], 0
je 0x4d9055
mov edx, str.__halfresolution
lea ecx, [ebp - 0x15c]
call fcn.0040e220
mov edx, str.__loglevel
lea ecx, [ebp - 0x15c]
call fcn.0040e220
push dword [0x74b5e8]
mov ecx, eax
call fcn.00428020
mov ebx, dword [ebp - 0x8c]
movzx eax, byte [ebx + 8]
cmp eax, 1
je 0x4d908b
cmp eax, 2
je 0x4d908b
cmp eax, 3
jne 0x4d90ac
mov edx, str.__cefdevtoolsport
lea ecx, [ebp - 0x15c]
call fcn.0040e220
mov ecx, ebx
mov esi, eax
call fcn.004652e0
push eax
mov ecx, esi
call fcn.00428020
test byte [edi + 0x6e], 8
je 0x4d90c2
mov edx, str.__hideCursor
lea ecx, [ebp - 0x15c]
call fcn.0040e220
cmp byte [edi + 0x2a0], 0
je 0x4d91c1
mov ebx, dword [ebp - 0x28]
cmp ebx, 0x58
jb 0x4d9101
cmp ebx, 0xf
mov dword [ebp - 0x2c], 0x58
push 0x58
lea esi, [ebp - 0x3c]
cmova esi, dword [ebp - 0x3c]
push str.__enable_media_stream___enable_usermedia_screen_capturing___use_fake_ui_for_media_stream
push esi
call fcn.005c3580
add esp, 0xc
mov byte [esi + 0x58], 0
jmp 0x4d91c1
mov ecx, ebx
mov eax, 0x7fffffff
shr ecx, 1
sub eax, ecx
cmp ebx, eax
jbe 0x4d9117
mov ecx, 0x7fffffff
jmp 0x4d9124
lea eax, [ebx + ecx]
mov ecx, 0x5f
cmp eax, ecx
cmova ecx, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00414510
movups xmm0, xmmword [str.__enable_media_stream___enable_usermedia_screen_capturing___use_fake_ui_for_media_stream]
mov ecx, dword [ebp - 0x40]
mov esi, eax
mov dword [ebp - 0x2c], 0x58
add esp, 8
mov dword [ebp - 0x28], ecx
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x733c88]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x733c98]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0x733ca8]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [0x733cb8]
movups xmmword [esi + 0x40], xmm0
movq xmm0, qword [0x733cc8]
movq qword [esi + 0x50], xmm0
mov byte [esi + 0x58], 0
cmp ebx, 0xf
jbe 0x4d91be
mov ecx, dword [ebp - 0x3c]
inc ebx
mov eax, ecx
cmp ebx, 0x1000
jb 0x4d91b4
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d9520
push ebx
push ecx
call fcn.005ab85c
add esp, 8
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x2c], 0
je 0x4d91ef
mov edx, str.__cefcommandline
lea ecx, [ebp - 0x15c]
call fcn.0040e220
cmp dword [ebp - 0x28], 0xf
lea edx, [ebp - 0x3c]
push dword [ebp - 0x2c]
cmova edx, dword [ebp - 0x3c]
mov ecx, eax
call fcn.0040fee0
add esp, 4
mov al, byte [ebp - 0x60]
lea ecx, [edi + 0x150]
mov byte [ebp - 0xb4], al
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0xbc], 0x733e38
mov dword [ebp - 0xb8], 0x4d9780
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x98], eax
call fcn.00442fd0
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4d9247
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xbc]
cmp ecx, eax
setne al
push eax
call edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0040d4a0
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x24]
lea esi, [ebp - 0x58]
cmova esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x154]
push eax
call fcn.0040d4a0
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
push esi
cmova eax, dword [ebp - 0x24]
mov ecx, str.bin_webwallpaper32.exe
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x90], esi
push eax
mov eax, str.bin_edgewallpaper32.exe
cmovne eax, ecx
lea ecx, [edi + 0xf8]
push eax
call fcn.004639f0
lea ecx, [ebp - 0x24]
call fcn.004143d0
lea ecx, [ebp - 0x58]
call fcn.004143d0
inc dword [0x74b5f8]
lea eax, [edi + 0xdc]
push eax
lea ecx, [ebp + 8]
call fcn.004c48c0
movups xmm0, xmmword [edi + 0xe0]
mov eax, dword [ebp + 8]
xor ecx, ecx
movups xmmword [ebp - 0x68], xmm0
xchg dword [eax], ecx
mov eax, dword [ebp - 0x68]
lea ecx, [edi + 0x140]
sub dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x64]
sub dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], 0x10
call fcn.00462680
mov ecx, esi
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d9340
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.00414570
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], esi
test eax, eax
je 0x4d93af
push eax
mov dword [ebp - 0x48], eax
call fcn.005ab960
add esp, 4
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], 0xf
mov esi, eax
mov dword [ebp - 0x44], esi
cmova ecx, ebx
push dword [ebp - 0x14]
push ecx
push esi
call fcn.005c3580
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0xf
jbe 0x4d93e2
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4d93d8
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d9520
push ecx
push ebx
call fcn.005ab85c
add esp, 8
lea eax, [ebp - 0x54]
push eax
lea ecx, [edi + 0x140]
call fcn.00462680
mov ecx, edi
call fcn.004d9e00
push esi
call fcn.005ab969
add esp, 4
push 0
call fcn.005ab969
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.004143d0
lea ecx, [ebp - 0x84]
call fcn.00465f40
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4d942b
push eax
call fcn.004672a0
lea ecx, [ebp - 0x21c]
call fcn.00404ea0
lea ecx, [ebp - 0x16c]
call fcn.00404ea0
lea ecx, [ebp - 0x2cc]
call fcn.00404ea0
mov eax, dword [edi]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, edi
mov esi, dword [eax + 0x40]
call dword [eax + 0x4c]
push 0x720aab
push str.wproperties
mov ecx, eax
call fcn.00465fd0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00464b00
mov ecx, edi
call esi
lea ecx, [ebp - 0x84]
call fcn.00465f40
mov eax, dword [ebp - 0x78]
xorps xmm0, xmm0
movlpd qword [ebp - 0x84], xmm0
test eax, eax
je 0x4d94a0
push eax
call fcn.004672a0
mov eax, dword [edi]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, edi
mov esi, dword [eax + 0x44]
call dword [eax + 0x4c]
push 0x721297
push str.general
mov ecx, eax
call fcn.00465fd0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00464b00
mov ecx, edi
call esi
lea ecx, [ebp - 0x84]
call fcn.00465f40
mov eax, dword [ebp - 0x78]
xorps xmm0, xmm0
movlpd qword [ebp - 0x84], xmm0
test eax, eax
je 0x4d94f4
push eax
call fcn.004672a0
mov ecx, edi
call fcn.004d9530
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.005c695f
push 5
call fcn.005adc4d
dec eax
push 6
mov dword [ebx + 0x2c], eax
call fcn.005adc4d
call fcn.005c695f
call fcn.005c695f
int3