Function at 0x413f50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db48c
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x5090b0]
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.004115c0
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.004115c0
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, 0x30
call fcn.00407910
cmp dword [ebp - 0x2ec], 0
je 0x414019
mov edx, dword [ebp - 0x2ec]
add edx, 0x24
mov dword [ebp - 0x2f8], edx
jmp 0x414023
mov dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x30
call fcn.004065d0
mov dword [ebp - 0x2f0], 0
lea ecx, [ebp - 0x2e8]
call fcn.0045aad0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [eax + 0x28]
call edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00416120
movzx ecx, al
test ecx, ecx
jne 0x41412d
lea ecx, [ebp - 0x94]
call fcn.004154a0
push eax
call fcn.004c4cd0
add esp, 4
mov dword [ebp - 0x308], eax
movzx edx, word [ebp - 0x308]
mov dword [ebp - 0x30c], edx
cmp dword [ebp - 0x2ec], 0
je 0x4140e7
mov eax, dword [ebp - 0x2ec]
add eax, 0x28
mov dword [ebp - 0x2fc], eax
jmp 0x4140f1
mov dword [ebp - 0x2fc], 0
push 0
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x30
push ecx
mov edx, dword [ebp - 0x2fc]
push edx
lea ecx, [ebp - 0x118]
call fcn.004154a0
push eax
mov eax, dword [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.0045c1a0
mov dword [ebp - 0x2f0], eax
jmp 0x4141b1
cmp dword [ebp - 0x2ec], 0
je 0x414147
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x28
mov dword [ebp - 0x300], ecx
jmp 0x414151
mov dword [ebp - 0x300], 0
push 0
mov edx, dword [ebp - 0x2ec]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x300]
push eax
push 0
lea ecx, [ebp - 0x94]
call fcn.004154a0
mov dword [ebp - 0x314], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x324], esp
mov dword [ebp - 0x310], ecx
mov edx, dword [ebp - 0x310]
mov eax, dword [ebp - 0x314]
mov dword [edx], eax
lea ecx, [ebp - 0x2e8]
call fcn.0045c1a0
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x2f0], ecx
cmp dword [ebp - 0x2f0], 0
jne 0x41425d
push 0xffffffffffffffff
push 0x4e1d28
lea ecx, [ebp - 0x19c]
call fcn.004150d0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x19c]
call fcn.004155b0
push 0x10
push str.Duilib
lea ecx, [ebp - 0x19c]
call fcn.004154a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x2f0]
push eax
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x30
call fcn.004067b0
cmp dword [ebp - 0x2ec], 0
je 0x41428c
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x20
mov dword [ebp - 0x304], ecx
jmp 0x414296
mov dword [ebp - 0x304], 0
mov edx, dword [ebp - 0x304]
push edx
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x30
call fcn.00406480
mov eax, dword [ebp - 0x2ec]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x320], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00415270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00415270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.00458cf0
mov eax, dword [ebp - 0x320]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7f49
mov esp, ebp
pop ebp
ret 0x10