Function at 0x4ca5e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569a32
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5b0514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3f4], ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x3f4]
call fcn.004a1190
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x3fc]
and eax, 0xff3fffff
mov dword [ebp - 0x3fc], eax
mov ecx, dword [ebp - 0x3fc]
or ecx, 0x4000000
or ecx, 0x2000000
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x3f4]
call fcn.004a1190
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp - 0x3f4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [eax + 0x30]
call edx
push eax
mov eax, dword [ebp - 0x3f4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x3f4]
add ecx, 0x30
call fcn.004ab260
cmp dword [ebp - 0x3f4], 0
je 0x4ca6a9
mov edx, dword [ebp - 0x3f4]
add edx, 0x24
mov dword [ebp - 0x400], edx
jmp 0x4ca6b3
mov dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x400]
push eax
mov ecx, dword [ebp - 0x3f4]
add ecx, 0x30
call fcn.004a9db0
mov dword [ebp - 0x3f8], 0
lea ecx, [ebp - 0x3f0]
call fcn.00518360
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x3f4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [eax + 0x28]
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.004a1570
movzx eax, al
test eax, eax
jne 0x4ca7de
lea ecx, [ebp - 0x19c]
push ecx
mov edx, dword [ebp - 0x3f4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x414], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x414]
call fcn.004a08d0
push eax
call fcn.0052a84b
add esp, 4
mov dword [ebp - 0x418], eax
movzx ecx, word [ebp - 0x418]
mov dword [ebp - 0x41c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.004a06c0
cmp dword [ebp - 0x3f4], 0
je 0x4ca798
mov edx, dword [ebp - 0x3f4]
add edx, 0x28
mov dword [ebp - 0x404], edx
jmp 0x4ca7a2
mov dword [ebp - 0x404], 0
push 0
mov eax, dword [ebp - 0x3f4]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x404]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004a08d0
push eax
mov edx, dword [ebp - 0x41c]
push edx
lea ecx, [ebp - 0x3f0]
call fcn.005199c0
mov dword [ebp - 0x3f8], eax
jmp 0x4ca8a1
cmp dword [ebp - 0x3f4], 0
je 0x4ca7f8
mov eax, dword [ebp - 0x3f4]
add eax, 0x28
mov dword [ebp - 0x408], eax
jmp 0x4ca802
mov dword [ebp - 0x408], 0
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x3f4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x3f4]
add ecx, 0x30
push ecx
mov edx, dword [ebp - 0x408]
push edx
push 0
mov ecx, dword [ebp - 0x424]
call fcn.004a08d0
mov dword [ebp - 0x42c], eax
push ecx
mov eax, esp
mov dword [ebp - 0x444], esp
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x428]
mov edx, dword [ebp - 0x42c]
mov dword [ecx], edx
lea ecx, [ebp - 0x3f0]
call fcn.005199c0
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x3f8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.004a06c0
cmp dword [ebp - 0x3f8], 0
jne 0x4ca97d
push 0xffffffffffffffff
push 0x574c54
lea ecx, [ebp - 0x118]
call fcn.004a0520
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x3f4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x118]
call fcn.004a09e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a4]
call fcn.004a06c0
push 0x10
push str.Duilib
lea ecx, [ebp - 0x118]
call fcn.004a08d0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edx, dword [ebp - 0x3f8]
push edx
mov ecx, dword [ebp - 0x3f4]
add ecx, 0x30
call fcn.004aa0d0
cmp dword [ebp - 0x3f4], 0
je 0x4ca9ac
mov eax, dword [ebp - 0x3f4]
add eax, 0x20
mov dword [ebp - 0x40c], eax
jmp 0x4ca9b6
mov dword [ebp - 0x40c], 0
mov ecx, dword [ebp - 0x40c]
push ecx
mov ecx, dword [ebp - 0x3f4]
add ecx, 0x30
call fcn.004a9c60
mov edx, dword [ebp - 0x3f4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x440], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.004a06c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f0]
call fcn.004bcb10
mov eax, dword [ebp - 0x440]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497d40
mov esp, ebp
pop ebp
ret 0x10