Function at 0x40cbe0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a11fc
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0x2f4]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 4]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
mov ecx, ebp
lea esi, [ebp + 0x30]
call edx
push eax
mov eax, dword [ebp + 4]
push eax
mov edi, esi
call fcn.00404850
lea eax, [ebp + 0x24]
push eax
call fcn.00408a00
xor edi, edi
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1ac], edi
mov byte [esp + 0x2e0], 1
mov dword [esp + 0x2e4], edi
mov dword [esp + 0x2e8], edi
mov dword [esp + 0x2ec], edi
mov dword [esp + 0x2fc], edi
mov edx, dword [ebp]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x120]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0x2fc], 1
mov eax, dword [esp + 0x120]
cmp word [eax], di
je 0x40cd1d
mov edx, dword [ebp]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call edx
mov eax, dword [eax]
push eax
call fcn.00488412
movzx ebx, ax
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xa4]
add esp, 4
cmp eax, ecx
je 0x40ccfe
push eax
call fcn.0048836e
add esp, 4
mov edx, dword [esp + 0x120]
push edi
push esi
lea eax, [ebp + 0x28]
push eax
push edx
push ebx
lea ecx, [esp + 0x1b8]
call fcn.0043dd90
mov ebx, eax
jmp 0x40cd7a
mov eax, dword [ebp]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebp
lea ebx, [ebp + 0x28]
call edx
push edi
push esi
push ebx
push edi
push ecx
mov byte [esp + 0x310], 2
mov eax, dword [eax]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x28], esp
call fcn.0043dd90
mov ebx, eax
mov byte [esp + 0x2fc], 1
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x40cd7a
push eax
call fcn.0048836e
add esp, 4
cmp ebx, edi
jne 0x40ce02
push 0xffffffffffffffff
lea edx, [esp + 0xa4]
xor eax, eax
push 0x4b0a6c
lea esi, [esp + 0xa4]
mov dword [esp + 0xa4], edx
mov word [esp + 0xa8], ax
call fcn.00402160
mov byte [esp + 0x2fc], 3
mov edx, dword [ebp]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call edx
mov eax, dword [eax]
push eax
mov ecx, esi
push ecx
call fcn.00402020
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x40cde4
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x9c]
push 0x10
push str.Duilib
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
push esi
call fcn.00407d10
lea eax, [ebp + 0x20]
push eax
call fcn.00408930
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
mov ecx, ebp
call eax
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x40ce37
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x1a4]
cmp eax, edi
je 0x40ce4b
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x1a8]
cmp eax, edi
je 0x40ce5f
push eax
call fcn.0048836e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.00486dc0
add esp, 0x2ec
ret 0x10