Function at 0x4cea90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bccac
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x76a02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ec], ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x2ec]
call fcn.004708d0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
and eax, 0xff3fffff
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
or ecx, 0x4000000
or ecx, 0x2000000
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x2ec]
call fcn.004708d0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [eax + 0x30]
call edx
push eax
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x34
call fcn.0047adf0
cmp dword [ebp - 0x2ec], 0
je 0x4ceb59
mov edx, dword [ebp - 0x2ec]
add edx, 0x24
mov dword [ebp - 0x2f8], edx
jmp 0x4ceb63
mov dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x34
call fcn.00479830
cmp dword [ebp - 0x2ec], 0
je 0x4ceb92
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x2c
mov dword [ebp - 0x2fc], ecx
jmp 0x4ceb9c
mov dword [ebp - 0x2fc], 0
mov edx, dword [ebp - 0x2fc]
push edx
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x34
call fcn.00483070
mov dword [ebp - 0x2f0], 0
lea ecx, [ebp - 0x2e8]
call fcn.004925d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x28]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [eax + 0x2c]
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00470d60
movzx eax, al
test eax, eax
jne 0x4ceca6
lea ecx, [ebp - 0x94]
call fcn.00470010
push eax
call fcn.0053900e
add esp, 4
mov dword [ebp - 0x30c], eax
movzx ecx, word [ebp - 0x30c]
mov dword [ebp - 0x310], ecx
cmp dword [ebp - 0x2ec], 0
je 0x4cec60
mov edx, dword [ebp - 0x2ec]
add edx, 0x28
mov dword [ebp - 0x300], edx
jmp 0x4cec6a
mov dword [ebp - 0x300], 0
push 0
mov eax, dword [ebp - 0x2ec]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x300]
push ecx
lea ecx, [ebp - 0x118]
call fcn.00470010
push eax
mov edx, dword [ebp - 0x310]
push edx
lea ecx, [ebp - 0x2e8]
call fcn.00493d00
mov dword [ebp - 0x2f0], eax
jmp 0x4ced2a
cmp dword [ebp - 0x2ec], 0
je 0x4cecc0
mov eax, dword [ebp - 0x2ec]
add eax, 0x28
mov dword [ebp - 0x304], eax
jmp 0x4cecca
mov dword [ebp - 0x304], 0
push 0
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x34
push ecx
mov edx, dword [ebp - 0x304]
push edx
push 0
lea ecx, [ebp - 0x94]
call fcn.00470010
mov dword [ebp - 0x318], eax
push ecx
mov eax, esp
mov dword [ebp - 0x328], esp
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x314]
mov edx, dword [ebp - 0x318]
mov dword [ecx], edx
lea ecx, [ebp - 0x2e8]
call fcn.00493d00
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
jne 0x4cedd6
push 0xffffffffffffffff
push 0x6ccfe4
lea ecx, [ebp - 0x19c]
call fcn.0046fbd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x19c]
call fcn.00470120
push 0x10
push str.Duilib
lea ecx, [ebp - 0x19c]
call fcn.00470010
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x2f0]
push edx
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x34
call fcn.00479a10
cmp dword [ebp - 0x2ec], 0
je 0x4cee05
mov eax, dword [ebp - 0x2ec]
add eax, 0x20
mov dword [ebp - 0x308], eax
jmp 0x4cee0f
mov dword [ebp - 0x308], 0
mov ecx, dword [ebp - 0x308]
push ecx
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x34
call fcn.004796e0
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x324], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.0046fdc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0046fdc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.004be6c0
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468d3e
mov esp, ebp
pop ebp
ret 0x10