Function at 0x4c7480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d18e
mov eax, dword fs:[0]
push eax
sub esp, 0x70
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 esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x100], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x78], eax
call fcn.004b8ae0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
cmp byte [0x6fa7c8], 0
jne 0x4c7556
mov eax, dword [ebp - 0x78]
push 0x7f00
push 0
mov byte [0x6fa7c8], 1
mov dword [ebp - 0x40], 0x30
mov dword [ebp - 0x3c], 0x20
mov dword [ebp - 0x38], 0x4ca6e0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], str.Client_OsrWindow
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 [ebp - 0x7c]
push 0
push dword [ebp - 0x78]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
push 0
push edi
sub eax, ecx
push eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 8]
sub eax, edx
push eax
push ecx
push edx
push 0x56000000
push 0
push str.Client_OsrWindow
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x78]
mov dword [ebp - 0x74], eax
test ecx, ecx
jne 0x4c7785
mov ecx, dword [0x6fa758]
test ecx, ecx
jne 0x4c7608
push 0x6f3198
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x6fa758], 0
jne 0x4c75f7
push 0x24
call fcn.0055d275
add esp, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4c75e1
mov ecx, eax
call fcn.004f3c20
jmp 0x4c75e3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
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 0x4c76d2
push 0x14
xor eax, eax
mov dword [ebp - 0x48], 0
push str.osr_global_hwnd_err_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00484230
push dword [ebp - 0x74]
lea eax, [ebp - 0x12]
mov dword [ebp - 4], 4
push eax
call fcn.004c64e0
mov ecx, eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x60], edx
mov word [ebp - 0x70], ax
add esp, 8
lea eax, [ebp - 0x12]
mov edi, 7
mov dword [ebp - 0x5c], edi
cmp ecx, eax
je 0x4c767e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00484230
mov edi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
cmp edi, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x58]
push edx
push eax
call fcn.00483fc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0047d710
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004cc0e0
push dword [ebp - 0x74]
push str.global_model_cef_window_create_fail_err:_lu
call fcn.00488b90
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.0047d710
jmp 0x4c78ef
test edi, edi
je 0x4c76f2
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4c76f2
push str.osr_parent_wnd_non
mov ecx, esi
call fcn.004cc0e0
jmp 0x4c7773
push 0x11
xor eax, eax
mov dword [ebp - 0x48], 0
push str.osr_cef_hwnd_err_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00484230
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 6
push eax
call fcn.004cc480
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x4c7739
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00483fc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.0047d710
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004cc0e0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0047d710
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esi + 0x78]
mov eax, dword [ebp - 0x7c]
push esi
push ecx
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x8c], xmm0
call fcn.00506140
push dword [esi + 0x78]
mov ecx, esi
mov dword [esi + 0xb0], 0
neg ecx
lea eax, [esi + 4]
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x78]
push ecx
push eax
call fcn.004c0b90
add esp, 0x14
mov ecx, dword [eax]
cmp dword [esi + 0xa4], ecx
je 0x4c77e4
mov dword [eax], 0
mov eax, dword [esi + 0xa4]
mov dword [esi + 0xa4], ecx
test eax, eax
je 0x4c77e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4c77f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0xa4]
push dword [esi + 0x78]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
push 0x48
call fcn.0055d275
add esp, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x4c7826
push dword [esi + 0x78]
mov ecx, eax
call fcn.004c3ba0
mov edi, eax
jmp 0x4c7828
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4c783f
cmp edi, dword [esi + 0x88]
je 0x4c790c
mov ecx, dword [esi + 0x88]
mov dword [esi + 0x88], 0
test ecx, ecx
je 0x4c7859
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x88], edi
mov ecx, esi
push dword [esi + 0x78]
call fcn.004c8970
call fcn.004b9d70
mov edi, eax
cmp byte [edi + 0x1c], 0
je 0x4c78ef
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x20]
mov eax, ecx
mov esi, dword [ebp - 0x74]
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x4c78ab
cmp dword [edx + 0x10], esi
jae 0x4c78a1
mov edx, dword [edx + 8]
jmp 0x4c78a5
mov eax, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x4c7897
cmp eax, ecx
je 0x4c78b4
cmp esi, dword [eax + 0x10]
jae 0x4c78b6
mov eax, ecx
cmp eax, ecx
jne 0x4c78e8
lea eax, [ebp - 0x74]
push eax
lea ecx, [edi + 0x20]
call fcn.004c6de0
push dword [ebp - 0x74]
mov esi, eax
push 0
push 0x4c8910
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi], eax
lea ecx, [edi + 0x20]
lea eax, [ebp - 0x74]
push eax
call fcn.004c6de0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 8
call fcn.0060775a
int3