Function at 0x40ac40
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9305
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0xd4], edx
cmp dword [ebx + 0x1c], 0
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0xcc], edi
jne 0x40bb84
mov esi, dword [ebx + 0xc]
cmp esi, 0xf
jne 0x40ad52
lea eax, [ebp - 0x98]
mov dword [ebp - 0xc4], 1
lea edi, [edx - 0x34]
push eax
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_BeginPaint]
sub esp, 0x10
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x90]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push esi
mov ecx, edi
call fcn.0040ca40
lea eax, [ebp - 0x98]
push eax
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_EndPaint]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
jne 0x40bada
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 1
cmp esi, 0x132
ja 0x40bb29
je case.0x40bb3d.307
lea eax, [esi - 0x2b]
cmp eax, 0xea
ja case.0x40bb3d.313
mov edx, dword [ebp - 0xd4]
movzx eax, byte [eax + 0x40bbd4]
jmp dword [eax*4 + 0x40bbb4]
cmp esi, 0x85
je 0x40bba6
cmp esi, 0x14
je 0x40bba6
cmp esi, 5
jne 0x40ae68
cmp dword [edx + 0x30], 0
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xc8], ecx
je 0x40ae31
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ae2b
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40ae2b
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0xc8]
movups xmmword [ebp - 0x34], xmm0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [eax + 0x64]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x40ae2b
mov eax, dword [ebp - 0xc8]
movups xmm0, xmmword [ebp - 0x34]
push 0
sub esp, 0x10
mov ecx, dword [eax + 0x64]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x58]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [ebp - 0xc8]
push 1
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0xc8], 0
je 0x40afed
cmp dword [ebx + 0x10], 1
je 0x40afed
mov edi, dword [ebx + 0x14]
mov eax, edi
mov edx, dword [ecx]
shr eax, 0x10
push eax
movzx esi, di
push esi
call dword [edx + 0x68]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebp - 0xcc]
jmp 0x40afed
cmp esi, 0x4e
je 0x40bba6
cmp esi, 0x215
jne 0x40aea0
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040c520
jmp 0x40b24d
cmp esi, 1
jne 0x40afa7
mov ecx, dword [edx + 0x30]
lea eax, [edx - 0x34]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0
test ecx, ecx
jne 0x40af80
push 0x11c
call fcn.0049cf37
add esp, 4
mov dword [ebp - 0xd0], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00404ef0
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], edx
mov ecx, dword [eax + 0x64]
cmp ecx, edx
je 0x40af41
test edx, edx
je 0x40af19
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x64]
jmp 0x40af1b
mov edx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 0x64], ecx
test eax, eax
je 0x40af3b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x64]
jmp 0x40af41
mov eax, dword [ebp - 0xc8]
test ecx, ecx
je 0x40afed
mov edx, dword [ecx]
add eax, 0x58
push eax
call dword [edx + 0x94]
mov edx, dword [ebp - 0xc8]
push 1
mov ecx, dword [edx + 0x64]
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, dword [ebp - 0xc8]
call fcn.0040c7d0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x40afed
mov edx, dword [ecx]
add eax, 0x58
push eax
call dword [edx + 0x94]
mov eax, dword [ebp - 0xc8]
push 1
mov ecx, dword [eax + 0x64]
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, dword [ebp - 0xc8]
jmp 0x40afe8
cmp esi, 2
jne 0x40afd3
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040dac0
jmp 0x40b24d
cmp esi, 0x5f5
jne 0x40b00a
mov dword [ebp - 0xc4], 1
lea ecx, [edx - 0x34]
call fcn.0040c7d0
cmp dword [ebp - 0xc4], 0
mov dword [edi], 0
je 0x40ad0e
mov eax, 1
jmp 0x40bb86
cmp esi, 0x200
jne 0x40b039
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040cc90
jmp 0x40b24d
cmp esi, 0xa0
jne 0x40b068
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040cc90
jmp 0x40b24d
cmp esi, 0x2a3
jne 0x40b097
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040d870
jmp 0x40b24d
cmp esi, 0x2a2
jne 0x40b0c6
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040d870
jmp 0x40b24d
cmp esi, 0x20a
jne 0x40b0f5
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040d8c0
jmp 0x40b24d
cmp esi, 0x201
jne 0x40b124
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040d100
jmp 0x40b24d
cmp esi, 0x204
jne 0x40b153
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040e330
jmp 0x40b24d
cmp esi, 0x205
jne 0x40b182
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040e580
jmp 0x40b24d
cmp esi, 0xa4
jne 0x40b1b1
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040ea60
jmp 0x40b24d
cmp esi, 0xa5
jne 0x40b1dd
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040ec80
jmp 0x40b24d
cmp esi, 0x203
jne 0x40b209
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040e0e0
jmp 0x40b24d
cmp esi, 0x202
jne 0x40b223
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
jmp 0x40b23b
cmp esi, 0xa2
jne 0x40b26c
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
call fcn.0040d360
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
je 0x40ba98
mov eax, 1
jmp 0x40bb86
cmp esi, 0x20
jne 0x40b419
cmp dword [edx + 0x30], 0
mov dword [ebp - 0xc4], 0
je 0x40b3f2
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je 0x40b30d
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b3f2
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebx + 0x14]
mov esi, dword [ecx + 0xb8]
cmp esi, dword [ecx + 0xbc]
je 0x40b2f1
nop
mov edx, dword [esi]
test edx, edx
je 0x40b2e6
mov eax, dword [edx]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0xc8]
push edi
push dword [ebx + 0x10]
push 0x20
push ecx
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0xc8]
add esi, 4
cmp esi, dword [ecx + 0xbc]
jne 0x40b2c0
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
push edi
mov edi, dword [ebx + 0x10]
push edi
push 0x20
push ecx
call dword [eax + 0xc0]
jmp 0x40b3f5
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0xd4]
lea edx, [ebp - 0xc8]
add ecx, 0x24
mov dword [ebp - 4], 2
push edx
push dword [ebp - 0x18]
mov eax, dword [ecx]
push dword [ebp - 0x1c]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], ecx
test ecx, ecx
je 0x40b3dc
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b3d6
mov ecx, dword [ebp - 0xd0]
mov edi, dword [ebx + 0x14]
mov esi, dword [ecx + 0xb8]
cmp esi, dword [ecx + 0xbc]
je 0x40b3b7
mov edx, dword [esi]
test edx, edx
je 0x40b3ac
mov eax, dword [edx]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0xd0]
push edi
push dword [ebx + 0x10]
push 0x20
push ecx
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0xd0]
add esi, 4
cmp esi, dword [ecx + 0xbc]
jne 0x40b386
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
push edi
mov edi, dword [ebx + 0x10]
push edi
push 0x20
push ecx
call dword [eax + 0xc0]
mov ecx, dword [ebp - 0xc8]
jmp 0x40b3df
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x40b3f5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40b3f5
mov edi, dword [ebx + 0x10]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
jne 0x40bada
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0xc]
jmp 0x40ad14
cmp esi, 0x84
jne 0x40b462
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
lea ecx, [edx - 0x34]
push edi
push esi
mov dword [ebp - 0xc4], 1
call fcn.0040dc30
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
je 0x40ba98
mov eax, 1
jmp 0x40bb86
cmp esi, 0x83
je 0x40bba6
cmp esi, 0x86
jne 0x40b486
mov dword [edi], 1
mov eax, 1
jmp 0x40bb86
cmp esi, 0x100
jne 0x40b4c7
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b579
mov edi, dword [ebx + 0x14]
lea ecx, [ebp - 0xc4]
push ecx
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
push eax
call fcn.0040df00
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b57e
cmp esi, 0x101
jne 0x40b505
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b579
mov edi, dword [ebx + 0x14]
lea ecx, [ebp - 0xc4]
push ecx
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
push eax
call fcn.0040df00
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b57e
cmp esi, 0x102
jne 0x40b53f
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b579
mov edi, dword [ebx + 0x14]
lea ecx, [ebp - 0xc4]
push ecx
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
push eax
call fcn.0040df00
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b57e
cmp esi, 0x104
jne 0x40b598
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b579
mov edi, dword [ebx + 0x14]
lea ecx, [ebp - 0xc4]
push ecx
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
push eax
call fcn.0040df00
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b57e
mov edi, dword [ebx + 0x10]
xor edx, edx
mov eax, dword [ebp - 0xcc]
mov dword [eax], edx
test ecx, ecx
je 0x40ba98
mov eax, 1
jmp 0x40bb86
cmp esi, 0x18
jne 0x40b66c
mov ecx, dword [edx + 0x30]
mov edi, dword [ebx + 0x10]
test ecx, ecx
je 0x40b5ba
mov eax, dword [ecx]
push edi
call dword [eax + 0x100]
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0xbc], 0
mov dword [ebp - 0xc4], 0
je 0x40b649
mov eax, dword [edx + 0xb8]
test eax, eax
je 0x40b649
mov eax, dword [eax + 0x38]
test edi, edi
je 0x40b5e9
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40b649
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xd4]
lea ecx, [eax + 0x24]
mov eax, dword [ecx]
mov dword [ebp - 0xd0], ecx
mov eax, dword [eax + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x40b649
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0xbc], 0
je 0x40b62e
cmp dword [eax + 0xb8], 0
lea ecx, [eax + 0x24]
jne 0x40b634
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
je 0x40ba98
mov eax, 1
jmp 0x40bb86
cmp esi, 0x47
jne 0x40b7c2
lea ecx, [edx - 0x34]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0xc8], ecx
test edx, edx
je 0x40b692
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0xf0], 0
je 0x40b7a2
mov eax, dword [ecx + 0xec]
test eax, eax
je 0x40b7a2
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b79c
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40b785
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b785
mov eax, dword [ebp - 0xc8]
push 5
mov eax, dword [eax + 0xec]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0xc8]
movups xmmword [ebp - 0x24], xmm0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc8]
push 5
mov ecx, dword [eax + 0x30]
call fcn.00424f60
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc8]
push 3
mov ecx, dword [eax + 0x30]
call fcn.00424f60
sub dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc8]
push 5
mov ecx, dword [eax + 0x30]
call fcn.00424f60
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc8]
push 7
mov ecx, dword [eax + 0x30]
call fcn.00424f60
add dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 1
push eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0xec]
add ecx, 0x38
call fcn.00410500
jmp 0x40b79c
mov eax, dword [ebp - 0xc8]
push 0
mov eax, dword [eax + 0xec]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [ebx + 0x14]
lea eax, [esi - 0x2b]
mov dword [edi], 0
mov dword [ebp - 0xc4], 1
jmp 0x40ad3e
cmp esi, 0x46
jne 0x40b8ee
mov ecx, dword [ebx + 0x14]
lea eax, [edx - 0x34]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc4], 0
test ecx, ecx
jne 0x40b7f9
mov dword [edi], ecx
lea eax, [esi - 0x2b]
mov dword [ebp - 0xc4], 1
jmp 0x40ad44
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsZoomed]
mov edi, dword [ebx + 0x14]
test eax, eax
je 0x40b8ba
mov ecx, dword [edi + 8]
xorps xmm0, xmm0
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x14]
add eax, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x80]
push eax
push 2
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], edx
movups xmmword [ebp - 0x80], xmm0
push eax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x80], 0x28
movq qword [ebp - 0x60], xmm0
call dword [sym.imp.USER32.dll_MonitorFromRect]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov esi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x34]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x54]
push eax
call esi
mov eax, dword [ebp - 0x78]
neg eax
push eax
mov eax, dword [ebp - 0x7c]
neg eax
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x40b8c8
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
cmp dword [edi + 0x10], eax
jle 0x40b8a7
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov esi, dword [ebx + 0xc]
cmp dword [edi + 0x14], eax
jle 0x40b8cb
mov dword [edi + 0x14], eax
jmp 0x40b8cb
mov ecx, dword [ebp - 0xd0]
push edi
mov eax, dword [ecx]
call dword [eax + 0x54]
jmp 0x40b8cb
mov esi, dword [ebx + 0xc]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
je 0x40ad0e
mov eax, 1
jmp 0x40bb86
cmp esi, 0x24
jne 0x40b9af
mov eax, dword [edx + 0x24]
lea ecx, [edx + 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
push 1
movups xmmword [ebp - 0x44], xmm0
mov eax, dword [eax + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x40b967
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0xb8]
neg eax
push eax
mov eax, dword [ebp - 0xbc]
neg eax
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x40b977
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov dword [edi], 0
je 0x40ad11
mov eax, 1
jmp 0x40bb86
cmp esi, 0xf48
jne 0x40ba41
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xd0], 0
test edi, edi
jne 0x40b9e6
mov eax, dword [ebp - 0xcc]
mov dword [eax], edi
lea eax, [edi + 1]
jmp 0x40bb86
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x40ba12
mov edi, dword [ebx + 0x14]
lea edx, [ebp - 0xc4]
mov eax, dword [ecx]
push edx
push edi
mov edi, dword [ebx + 0x10]
mov eax, dword [eax + 0xc0]
push dword [edi + 8]
push dword [edi + 4]
push ecx
call eax
mov dword [ebp - 0xd0], eax
cmp dword [edi + 0x10], 0
je 0x40ba20
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
mov dword [eax], ecx
je 0x40ba98
mov eax, 1
jmp 0x40bb86
cmp esi, 0x2e0
je 0x40bba6
test esi, esi
jne 0x40ad0e
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40ba87
mov edi, dword [ebx + 0x14]
lea ecx, [ebp - 0xc4]
push ecx
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
push eax
call fcn.0040df00
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40ba8c
mov edi, dword [ebx + 0x10]
xor edx, edx
mov eax, dword [ebp - 0xcc]
mov dword [eax], edx
test ecx, ecx
jne 0x40bada
mov ecx, dword [ebx + 0x14]
jmp 0x40ad14
test ecx, ecx
je case.0x40bb3d.313
mov edx, ecx
mov eax, dword [ebx + 0x10]
test edx, edx
je case.0x40bb3d.313
push ecx
push eax
lea eax, [esi + 0x2000]
push eax
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
je 0x40bb84
mov eax, 1
jmp 0x40bb86
mov edx, dword [ecx]
jmp 0x40baaa
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bb3d.313
mov edx, dword [ecx + 0x14]
jmp 0x40baad
cmp dword [ebx + 0x10], 0
je case.0x40bb3d.313
push dword [ecx + 4]
push dword [edx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebx + 0x14]
mov edx, eax
jmp 0x40baaa
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bb3d.313
mov edx, dword [ecx + 8]
jmp 0x40baad
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bb3d.313
mov edx, dword [ecx + 0xc]
jmp 0x40baad
lea eax, [esi - 0x133]
cmp eax, 0xdd
ja case.0x40bb3d.313
movzx eax, byte [eax + 0x40bccc]
jmp dword [eax*4 + 0x40bcc0]
movzx eax, di
sub eax, 1
je case.0x40bb3d.307
sub eax, 1
je case.0x40bb3d.307
mov eax, edi
shr eax, 0x10
push eax
mov eax, dword [ebp - 0xd4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebx + 0x14]
mov edx, eax
jmp 0x40baaa
mov eax, dword [ebp - 0xcc]
mov dword [eax], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
mov dword [edi], 0
mov eax, 1
jmp 0x40bb86