Function at 0x413dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
movzx edi, si
shr esi, 0x10
push dword [ebx + 0xd0]
mov dword [ebp - 0x1c], edi
mov dword [ebx + 0xa8], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x413e03
mov ecx, ebx
call fcn.004165e2
jmp 0x414241
cmp dword [ebx + 0xac], 0
je 0x413e53
lea edi, [ebx + 0xbc]
cmp dword [edi], 0
je 0x413e41
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x413e41
mov ecx, dword [edi]
push esi
push dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x24]
push edi
lea ecx, [ebx + 0xb0]
call fcn.0041711a
and dword [edi], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx + 0xac], 0
jmp 0x414241
push esi
lea ecx, [ebx + 0x48]
push edi
call fcn.00404996
mov dword [ebp - 0x20], eax
cmp eax, 8
jne 0x4140c9
cmp dword [ebx + 0x180], 0
jle 0x413e81
call fcn.0041a5e0
test eax, eax
jne 0x413ea6
cmp dword [ebx + 0x180], eax
jne 0x4140dd
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4140dd
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4140dd
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xbc]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x413ecc
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx + 0xbc], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x180]
test ecx, ecx
jne 0x413ed9
push eax
jmp 0x413ee1
jle 0x413eec
push dword [ebx + 0x18c]
call fcn.00415c73
mov dword [ebx + 0xbc], eax
cmp dword [ebx + 0xbc], 0
je 0x414077
push dword [ebx + 4]
mov dword [ebx + 0xac], 1
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [ebx + 0xc4]
test edx, edx
je 0x413f3e
mov ecx, dword [ebx + 0xbc]
push dword [edx + 0x224]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0xbc]
mov eax, dword [ebx + 0xc4]
mov edx, dword [ecx]
push dword [eax + 0x210]
call dword [edx + 0x10]
mov ecx, dword [ebx + 0xbc]
lea edx, [ebx + 0x50]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, dword [ebx + 0xc0]
mov ecx, dword [ebx + 0xbc]
push edx
lea eax, [edx + 1]
mov dword [ebx + 0xc0], eax
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 0xbc]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [ebx + 0x180]
mov edx, 0x505
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x413f8d
cmp ecx, edx
je 0x413f9f
test eax, eax
jle 0x414042
cmp dword [ebx + 0x18c], edx
jne 0x414040
mov edx, dword [ebx + 0x58]
lea ecx, [edi + 0x1e]
cmp dword [ebx + 0x50], edx
mov eax, edx
mov dword [ebp - 0x14], edi
lea edi, [esi + 0x1e]
cmovg eax, dword [ebx + 0x50]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edi
cmp ecx, eax
jle 0x413fcb
cmp dword [ebx + 0x50], edx
cmovg edx, dword [ebx + 0x50]
mov dword [ebp - 0xc], edx
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x5c]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp edi, eax
jle 0x413fe4
cmp edx, ecx
cmovg ecx, edx
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xcc]
call fcn.00412170
push 0x5884e4
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebx + 0x50]
push eax
lea eax, [ebx + 0x114]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 0x44
push 0x28
push 0x64
push esi
push dword [ebp - 0x1c]
push 0
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x7f01
jmp 0x414063
test eax, eax
jne 0x414049
cmp ecx, 0xffffffff
jne 0x41405e
test eax, eax
jle 0x414241
cmp dword [ebx + 0x18c], 0
je 0x414241
push 0x7f03
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x414241
lea eax, [ebx + 0x50]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4140b2
mov eax, dword [ebx + 0xb4]
sub eax, dword [ebx + 0xb0]
sar eax, 2
test eax, eax
jne 0x4140dd
push 0x7f86
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0xfffffffffffffff4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
jmp 0x4140dd
push 0x6b
push dword [0x5c9bf0]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4140dd
lea eax, [ebx + 0x50]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4140e9
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4140e9
mov dword [ebx + 0x174], 1
jmp 0x4140f0
and dword [ebx + 0x174], 0
cmp dword [ebx + 0xbc], 0
jne 0x414241
mov eax, dword [ebx + 0xb4]
sub eax, dword [ebx + 0xb0]
sar eax, 2
test eax, eax
jne 0x414241
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x41412f
cmp dword [eax + 0x78], 0
jge 0x41412f
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x20], 0
jge 0x41417a
cmp byte [ebx + 0x9d], 0
jne 0x414163
push esi
push edi
push esi
push edi
lea eax, [ebx + 0x50]
mov dword [ebx + 0x94], edi
push eax
mov dword [ebx + 0x98], esi
mov word [ebx + 0x9c], 0x101
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x4141ca
push 0x6b
push dword [0x5c9bf0]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4141d7
cmp byte [ebx + 0x9d], 0
je 0x4141ca
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4141a2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4141a2
cmp dword [ebx + 0x180], eax
je 0x4141b4
cmp dword [ebx + 0x180], 0
jle 0x4141ca
call fcn.0041a5e0
test eax, eax
je 0x4141ca
push esi
push edi
push ecx
push ecx
push dword [ebx + 4]
lea ecx, [ebx + 0x48]
call fcn.00404a4b
and dword [ebx + 0x170], 0
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebx + 0x14c], 0
je 0x414241
lea esi, [ebx + 0x12c]
mov eax, dword [esi + 8]
sub eax, dword [esi]
test eax, eax
jle 0x414241
lea edi, [ebx + 0x50]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x414241
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
push esi
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0xb4]
sub eax, dword [ebx + 0xb0]
sar eax, 2
test eax, eax
jne 0x41423b
push 0x7f86
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0xfffffffffffffff4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov dword [ebx + 0x170], esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050eff9
mov esp, ebp
pop ebp
ret 0x10