Function at 0x4d1890
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ea78
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
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
mov edi, ecx
mov dword [ebp - 0xe4], edi
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0xe8], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xa0]
push 7
xor eax, eax
mov dword [ebp - 0x90], 0
push str.CefView
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00484230
mov dword [ebp - 4], 3
call fcn.004b8ae0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x14]
call eax
mov esi, dword [edi + 0x150]
mov edx, eax
cmp byte [esi + 0x1c], 0
je 0x4d1941
mov dword [ebp - 0xd0], 0
jmp 0x4d196d
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, dword [edi + 0x150]
mov dword [ebp - 0xd0], eax
mov al, byte [esi + 0x1c]
add esi, 0x38
push 0x30
mov byte [ebp - 0xc9], al
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.005d9d70
add esp, 0xc
mov dword [ebp - 0x88], 0x30
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4d19a0
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
push ecx
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x4d1a47
cmp byte [ebp - 0xc9], 0
mov ecx, 0x23
mov eax, 3
mov dword [ebp - 0x40], 0x30
cmovne eax, ecx
mov dword [ebp - 0x38], 0x4d55d0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xdc]
push 0x6b
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x6d
jb 0x4d1a2c
mov esi, dword [esi]
push 0x6c
push dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [edi + 0x150]
mov al, byte [eax + 0x1c]
test al, al
jne 0x4d1a67
cmp dword [edi + 0x10c], 0
mov dword [ebp - 0xd0], 0x46000000
jne 0x4d1a71
mov dword [ebp - 0xd0], 0x86000000
lea esi, [edi + 0x18]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4d1a94
mov eax, SysReAllocString
mov edx, eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd4], eax
jmp 0x4d1ad9
movups xmm0, xmmword [esi]
mov eax, dword [edi + 0x150]
movups xmmword [ebp - 0x50], xmm0
mov al, byte [eax + 0x1c]
test al, al
jne 0x4d1abc
push 0
push 0
push dword [ebp - 0xd0]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esi]
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x50]
mov dword [ebp - 0xd4], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
cmovae ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xd8], ecx
mov ecx, dword [edi + 0x150]
cmp dword [ecx + 0x4c], 8
lea esi, [ecx + 0x38]
jb 0x4d1b04
mov esi, dword [esi]
mov cl, byte [ecx + 0x1c]
push 0
push dword [ebp - 0xdc]
push 0
push dword [edi + 0x10c]
push eax
push edx
push dword [ebp - 0xe0]
xor eax, eax
mov edx, 0x80080
push dword [ebp - 0xd4]
test cl, cl
push dword [ebp - 0xd0]
cmovne eax, edx
push dword [ebp - 0xd8]
push esi
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x108], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x108]
mov esi, eax
mov dword [ebp - 0xd8], esi
test ecx, ecx
jne 0x4d1d46
mov ecx, dword [0x6fa758]
test ecx, ecx
jne 0x4d1bcd
push 0x6f3198
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x6fa758], 0
jne 0x4d1bbc
push 0x24
call fcn.0055d275
add esp, 4
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4d1ba6
mov ecx, eax
call fcn.004f3c20
jmp 0x4d1ba8
xor eax, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x6fa758], eax
push 0x6f3198
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x6fa758]
call fcn.004f3d70
test al, al
je 0x4d1c95
push 0x10
xor eax, eax
mov dword [ebp - 0x60], 0
push str.global_hwnd_err_
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00484230
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 5
push esi
push eax
call fcn.004c64e0
mov ecx, eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x48], edx
mov word [ebp - 0x58], ax
add esp, 8
lea eax, [ebp - 0x12]
mov esi, 7
mov dword [ebp - 0x44], esi
cmp ecx, eax
je 0x4d1c3e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00484230
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
cmp esi, 8
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
push edx
push eax
call fcn.00483fc0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.0047d710
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov ecx, edi
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004d63e0
push dword [ebp - 0xd8]
push str.global_model_cef_window_create_fail_err:_lu
call fcn.00488b90
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.0047d710
jmp 0x4d1e82
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x4d1cb8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4d1cb8
push str.parent_wnd_non
mov ecx, edi
call fcn.004d63e0
jmp 0x4d1d31
push 0xd
xor eax, eax
mov dword [ebp - 0x60], 0
push str.cef_hwnd_err_
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00484230
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push esi
push eax
call fcn.004cc480
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 8
jb 0x4d1cfa
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00483fc0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.0047d710
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov ecx, edi
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004d63e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0047d710
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [edi + 0x108]
push 0
push 0xc8
push 0x12d
push ecx
mov dword [edi + 0x118], 0x12d
call dword [sym.imp.USER32.dll_SetTimer]
push edi
push dword [edi + 0x108]
call fcn.00506140
add esp, 8
lea eax, [ebp - 0xc8]
push eax
push dword [edi + 0x108]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push dword [edi + 0x108]
call dword [sym.imp.USER32.dll_SetMenu]
cmp byte [edi + 0x16], 0
jne 0x4d1e24
mov esi, dword [ebp - 0xbc]
xorps xmm0, xmm0
mov edx, dword [ebp - 0xc4]
sub esi, edx
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc8]
sub ecx, eax
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xb8], vtable.CefRect.0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], esi
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x38]
push ecx
mov eax, esp
mov byte [ebp - 4], 9
push edi
push eax
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
push dword [ebp - 0xe8]
mov eax, dword [esi]
lea ecx, [ebp - 0xb8]
push ecx
push dword [edi + 0x108]
mov ecx, esi
call dword [eax + 0x5c]
mov byte [ebp - 4], 3
jmp 0x4d1e5e
mov eax, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xc4]
sub eax, esi
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edi + 0x38]
push eax
mov eax, dword [ebp - 0xc0]
sub eax, edx
mov edi, dword [ecx]
push eax
mov eax, dword [ebp - 0xe4]
push esi
push edx
push dword [eax + 0x108]
call dword [edi + 0x64]
mov edi, dword [ebp - 0xe4]
mov eax, dword [edi + 0x150]
cmp byte [eax + 0xa0], 0
jne 0x4d1e76
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 8]
push dword [edi + 0x108]
call dword [sym.imp.USER32.dll_RegisterShellHookWindow]
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x4d1ebe
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d1eb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d1edb
push edx
push ecx
call fcn.0055d2a5
add esp, 8
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 4
call fcn.005e3e64
int3