Function at 0x40acd0
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 0x4cc2a5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x5020a8]
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 0x40bc14
mov esi, dword [ebx + 0xc]
cmp esi, 0xf
jne 0x40ade2
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.0040cad0
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 0x40bb6a
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 1
cmp esi, 0x132
ja 0x40bbb9
je case.0x40bbcd.307
lea eax, [esi - 0x2b]
cmp eax, 0xea
ja case.0x40bbcd.313
mov edx, dword [ebp - 0xd4]
movzx eax, byte [eax + 0x40bc64]
jmp dword [eax*4 + 0x40bc44]
cmp esi, 0x85
je 0x40bc36
cmp esi, 0x14
je 0x40bc36
cmp esi, 5
jne 0x40aef8
cmp dword [edx + 0x30], 0
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xc8], ecx
je 0x40aec1
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40aebb
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40aebb
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 0x40aebb
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 0x40b07d
cmp dword [ebx + 0x10], 1
je 0x40b07d
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 0x40b07d
cmp esi, 0x4e
je 0x40bc36
cmp esi, 0x215
jne 0x40af30
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.0040c5b0
jmp 0x40b2dd
cmp esi, 1
jne 0x40b037
mov ecx, dword [edx + 0x30]
lea eax, [edx - 0x34]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0
test ecx, ecx
jne 0x40b010
push 0x11c
call fcn.0049fda7
add esp, 4
mov dword [ebp - 0xd0], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00404f80
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 0x40afd1
test edx, edx
je 0x40afa9
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x64]
jmp 0x40afab
mov edx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 0x64], ecx
test eax, eax
je 0x40afcb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x64]
jmp 0x40afd1
mov eax, dword [ebp - 0xc8]
test ecx, ecx
je 0x40b07d
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.0040c860
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x40b07d
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 0x40b078
cmp esi, 2
jne 0x40b063
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.0040db50
jmp 0x40b2dd
cmp esi, 0x5f5
jne 0x40b09a
mov dword [ebp - 0xc4], 1
lea ecx, [edx - 0x34]
call fcn.0040c860
cmp dword [ebp - 0xc4], 0
mov dword [edi], 0
je 0x40ad9e
mov eax, 1
jmp 0x40bc16
cmp esi, 0x200
jne 0x40b0c9
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.0040cd20
jmp 0x40b2dd
cmp esi, 0xa0
jne 0x40b0f8
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.0040cd20
jmp 0x40b2dd
cmp esi, 0x2a3
jne 0x40b127
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.0040d900
jmp 0x40b2dd
cmp esi, 0x2a2
jne 0x40b156
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.0040d900
jmp 0x40b2dd
cmp esi, 0x20a
jne 0x40b185
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.0040d950
jmp 0x40b2dd
cmp esi, 0x201
jne 0x40b1b4
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.0040d190
jmp 0x40b2dd
cmp esi, 0x204
jne 0x40b1e3
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.0040e3c0
jmp 0x40b2dd
cmp esi, 0x205
jne 0x40b212
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.0040e610
jmp 0x40b2dd
cmp esi, 0xa4
jne 0x40b241
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.0040eaf0
jmp 0x40b2dd
cmp esi, 0xa5
jne 0x40b26d
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.0040ed10
jmp 0x40b2dd
cmp esi, 0x203
jne 0x40b299
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.0040e170
jmp 0x40b2dd
cmp esi, 0x202
jne 0x40b2b3
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
jmp 0x40b2cb
cmp esi, 0xa2
jne 0x40b2fc
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.0040d3f0
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
je 0x40bb28
mov eax, 1
jmp 0x40bc16
cmp esi, 0x20
jne 0x40b4a9
cmp dword [edx + 0x30], 0
mov dword [ebp - 0xc4], 0
je 0x40b482
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je 0x40b39d
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b482
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebx + 0x14]
mov esi, dword [ecx + 0xb8]
cmp esi, dword [ecx + 0xbc]
je 0x40b381
nop
mov edx, dword [esi]
test edx, edx
je 0x40b376
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 0x40b350
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 0x40b485
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 0x40b46c
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b466
mov ecx, dword [ebp - 0xd0]
mov edi, dword [ebx + 0x14]
mov esi, dword [ecx + 0xb8]
cmp esi, dword [ecx + 0xbc]
je 0x40b447
mov edx, dword [esi]
test edx, edx
je 0x40b43c
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 0x40b416
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 0x40b46f
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x40b485
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40b485
mov edi, dword [ebx + 0x10]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
jne 0x40bb6a
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0xc]
jmp 0x40ada4
cmp esi, 0x84
jne 0x40b4f2
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.0040dcc0
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
je 0x40bb28
mov eax, 1
jmp 0x40bc16
cmp esi, 0x83
je 0x40bc36
cmp esi, 0x86
jne 0x40b516
mov dword [edi], 1
mov eax, 1
jmp 0x40bc16
cmp esi, 0x100
jne 0x40b557
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b609
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.0040df90
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b60e
cmp esi, 0x101
jne 0x40b595
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b609
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.0040df90
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b60e
cmp esi, 0x102
jne 0x40b5cf
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b609
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.0040df90
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b60e
cmp esi, 0x104
jne 0x40b628
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b609
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.0040df90
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b60e
mov edi, dword [ebx + 0x10]
xor edx, edx
mov eax, dword [ebp - 0xcc]
mov dword [eax], edx
test ecx, ecx
je 0x40bb28
mov eax, 1
jmp 0x40bc16
cmp esi, 0x18
jne 0x40b6fc
mov ecx, dword [edx + 0x30]
mov edi, dword [ebx + 0x10]
test ecx, ecx
je 0x40b64a
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 0x40b6d9
mov eax, dword [edx + 0xb8]
test eax, eax
je 0x40b6d9
mov eax, dword [eax + 0x38]
test edi, edi
je 0x40b679
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40b6d9
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 0x40b6d9
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0xbc], 0
je 0x40b6be
cmp dword [eax + 0xb8], 0
lea ecx, [eax + 0x24]
jne 0x40b6c4
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 0x40bb28
mov eax, 1
jmp 0x40bc16
cmp esi, 0x47
jne 0x40b852
lea ecx, [edx - 0x34]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0xc8], ecx
test edx, edx
je 0x40b722
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0xf0], 0
je 0x40b832
mov eax, dword [ecx + 0xec]
test eax, eax
je 0x40b832
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b82c
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40b815
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b815
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.00424fe0
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc8]
push 3
mov ecx, dword [eax + 0x30]
call fcn.00424fe0
sub dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc8]
push 5
mov ecx, dword [eax + 0x30]
call fcn.00424fe0
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc8]
push 7
mov ecx, dword [eax + 0x30]
call fcn.00424fe0
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.00410580
jmp 0x40b82c
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 0x40adce
cmp esi, 0x46
jne 0x40b97e
mov ecx, dword [ebx + 0x14]
lea eax, [edx - 0x34]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc4], 0
test ecx, ecx
jne 0x40b889
mov dword [edi], ecx
lea eax, [esi - 0x2b]
mov dword [ebp - 0xc4], 1
jmp 0x40add4
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsZoomed]
mov edi, dword [ebx + 0x14]
test eax, eax
je 0x40b94a
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 0x40b958
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
cmp dword [edi + 0x10], eax
jle 0x40b937
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 0x40b95b
mov dword [edi + 0x14], eax
jmp 0x40b95b
mov ecx, dword [ebp - 0xd0]
push edi
mov eax, dword [ecx]
call dword [eax + 0x54]
jmp 0x40b95b
mov esi, dword [ebx + 0xc]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
je 0x40ad9e
mov eax, 1
jmp 0x40bc16
cmp esi, 0x24
jne 0x40ba3f
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 0x40b9f7
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 0x40ba07
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 0x40ada1
mov eax, 1
jmp 0x40bc16
cmp esi, 0xf48
jne 0x40bad1
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xd0], 0
test edi, edi
jne 0x40ba76
mov eax, dword [ebp - 0xcc]
mov dword [eax], edi
lea eax, [edi + 1]
jmp 0x40bc16
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x40baa2
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 0x40bab0
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 0x40bb28
mov eax, 1
jmp 0x40bc16
cmp esi, 0x2e0
je 0x40bc36
test esi, esi
jne 0x40ad9e
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40bb17
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.0040df90
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40bb1c
mov edi, dword [ebx + 0x10]
xor edx, edx
mov eax, dword [ebp - 0xcc]
mov dword [eax], edx
test ecx, ecx
jne 0x40bb6a
mov ecx, dword [ebx + 0x14]
jmp 0x40ada4
test ecx, ecx
je case.0x40bbcd.313
mov edx, ecx
mov eax, dword [ebx + 0x10]
test edx, edx
je case.0x40bbcd.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 0x40bc14
mov eax, 1
jmp 0x40bc16
mov edx, dword [ecx]
jmp 0x40bb3a
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bbcd.313
mov edx, dword [ecx + 0x14]
jmp 0x40bb3d
cmp dword [ebx + 0x10], 0
je case.0x40bbcd.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 0x40bb3a
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bbcd.313
mov edx, dword [ecx + 8]
jmp 0x40bb3d
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bbcd.313
mov edx, dword [ecx + 0xc]
jmp 0x40bb3d
lea eax, [esi - 0x133]
cmp eax, 0xdd
ja case.0x40bbcd.313
movzx eax, byte [eax + 0x40bd5c]
jmp dword [eax*4 + 0x40bd50]
movzx eax, di
sub eax, 1
je case.0x40bbcd.307
sub eax, 1
je case.0x40bbcd.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 0x40bb3a
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.004a024d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
mov dword [edi], 0
mov eax, 1
jmp 0x40bc16