Function at 0x4c7640
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56accd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x50], ebx
cmp dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jne 0x4c7693
call fcn.00475550
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 8], ecx
je 0x4c7693
xor eax, eax
jmp 0x4c78f2
mov esi, dword [ebx + 0x1c]
call fcn.0041f660
push 0
push esi
call dword [0x5ffc4c]
add esp, 8
push 0
call fcn.00491a60
mov ecx, eax
call fcn.00492660
call fcn.00475550
mov esi, eax
xor cl, cl
lea edx, [esi + 4]
xchg byte [edx], cl
lea ecx, [ebp - 0x48]
mov byte [esi + 5], 0
call fcn.00475030
mov edi, eax
mov dword [ebp - 4], 0
lea edx, [edi + 8]
mov ecx, dword [edi]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 4]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
cmp ecx, edx
je 0x4c7700
cmp dword [edx + 0x14], 7
mov eax, edx
jbe 0x4c76f7
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.004198f0
movzx eax, byte [edi + 0x20]
lea ecx, [esi + 0x2c]
mov byte [esi + 0x28], al
lea eax, [edi + 0x24]
push eax
call fcn.00475600
mov eax, dword [edi + 0x30]
lea ecx, [ebp - 0x24]
mov dword [esi + 0x38], eax
movzx eax, byte [edi + 0x34]
mov byte [esi + 0x3c], al
mov dword [ebp - 4], 0xffffffff
call fcn.00402b20
lea ecx, [ebp - 0x40]
call fcn.004179b0
call fcn.0041f660
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4c775f
mov esi, dword [esi + 4]
test esi, esi
je 0x4c775f
nop word [eax + eax]
mov eax, dword [esi + 8]
mov esi, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test esi, esi
jne 0x4c7750
call fcn.004839f0
mov edi, dword [sym.imp.soui4.dll_public_virtual:_int___stdcall_SOUI::SNativeWnd::IsWindowVisible_void_const]
mov esi, eax
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
je 0x4c778b
mov ecx, dword [esi]
push 0x93
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [ecx + 0x48]
mov eax, dword [esi]
push 0
push 0
push 0
push esi
mov dword [esi + 0x300], 1
call dword [eax + 0xb4]
call fcn.004846b0
mov esi, eax
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
je 0x4c77ca
mov ecx, dword [esi]
push 0x93
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [ecx + 0x48]
mov eax, dword [esi]
push 0
push 0
push 0
push esi
mov dword [esi + 0x2f4], 1
call dword [eax + 0xb4]
call fcn.00484ed0
mov esi, eax
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
je 0x4c7809
mov ecx, dword [esi]
push 0x93
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [ecx + 0x48]
mov eax, dword [esi]
push 0
push 0
push 0
push esi
mov dword [esi + 0x2f4], 1
call dword [eax + 0xb4]
call fcn.004878a0
mov dword [eax + 0x2dc], 0
call fcn.004878a0
push 0
push 0
push 0x1f58
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
call fcn.00481a00
push 0
push 0
push 0x2b16
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
mov esi, dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.004be700
push esi
mov ecx, ebx
call fcn.004be5e0
push esi
call fcn.0041f660
mov ecx, eax
call fcn.004225a0
push 4
push esi
push 0x7ee
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x3c4]
mov esi, dword [ebx + 0x3c0]
mov dword [ebp - 0x4c], eax
cmp esi, eax
je 0x4c78d9
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop dword [eax]
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4c78ce
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, dword [ebp - 0x4c]
jne 0x4c78b0
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x3c0]
cmp eax, dword [ebx + 0x3c4]
je 0x4c78ed
mov dword [ebx + 0x3c4], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
ret 0x10