Function at 0x40abf0
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 0x4c6905
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x4fa0a8]
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 0x40bb34
mov esi, dword [ebx + 0xc]
cmp esi, 0xf
jne 0x40ad02
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.0040c9f0
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 0x40ba8a
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 1
cmp esi, 0x132
ja 0x40bad9
je case.0x40baed.307
lea eax, [esi - 0x2b]
cmp eax, 0xea
ja case.0x40baed.313
mov edx, dword [ebp - 0xd4]
movzx eax, byte [eax + 0x40bb84]
jmp dword [eax*4 + 0x40bb64]
cmp esi, 0x85
je 0x40bb56
cmp esi, 0x14
je 0x40bb56
cmp esi, 5
jne 0x40ae18
cmp dword [edx + 0x30], 0
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xc8], ecx
je 0x40ade1
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40addb
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40addb
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 0x40addb
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 0x40af9d
cmp dword [ebx + 0x10], 1
je 0x40af9d
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 0x40af9d
cmp esi, 0x4e
je 0x40bb56
cmp esi, 0x215
jne 0x40ae50
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.0040c4d0
jmp 0x40b1fd
cmp esi, 1
jne 0x40af57
mov ecx, dword [edx + 0x30]
lea eax, [edx - 0x34]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0
test ecx, ecx
jne 0x40af30
push 0x11c
call fcn.0049a537
add esp, 4
mov dword [ebp - 0xd0], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00404ea0
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 0x40aef1
test edx, edx
je 0x40aec9
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x64]
jmp 0x40aecb
mov edx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 0x64], ecx
test eax, eax
je 0x40aeeb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x64]
jmp 0x40aef1
mov eax, dword [ebp - 0xc8]
test ecx, ecx
je 0x40af9d
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.0040c780
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x40af9d
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 0x40af98
cmp esi, 2
jne 0x40af83
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.0040da70
jmp 0x40b1fd
cmp esi, 0x5f5
jne 0x40afba
mov dword [ebp - 0xc4], 1
lea ecx, [edx - 0x34]
call fcn.0040c780
cmp dword [ebp - 0xc4], 0
mov dword [edi], 0
je 0x40acbe
mov eax, 1
jmp 0x40bb36
cmp esi, 0x200
jne 0x40afe9
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.0040cc40
jmp 0x40b1fd
cmp esi, 0xa0
jne 0x40b018
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.0040cc40
jmp 0x40b1fd
cmp esi, 0x2a3
jne 0x40b047
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.0040d820
jmp 0x40b1fd
cmp esi, 0x2a2
jne 0x40b076
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.0040d820
jmp 0x40b1fd
cmp esi, 0x20a
jne 0x40b0a5
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 0x40b1fd
cmp esi, 0x201
jne 0x40b0d4
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.0040d0b0
jmp 0x40b1fd
cmp esi, 0x204
jne 0x40b103
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.0040e2e0
jmp 0x40b1fd
cmp esi, 0x205
jne 0x40b132
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.0040e530
jmp 0x40b1fd
cmp esi, 0xa4
jne 0x40b161
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.0040ea10
jmp 0x40b1fd
cmp esi, 0xa5
jne 0x40b18d
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.0040ec30
jmp 0x40b1fd
cmp esi, 0x203
jne 0x40b1b9
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.0040e090
jmp 0x40b1fd
cmp esi, 0x202
jne 0x40b1d3
mov edi, dword [ebx + 0x14]
lea eax, [ebp - 0xc4]
push eax
push edi
mov edi, dword [ebx + 0x10]
push edi
push esi
jmp 0x40b1eb
cmp esi, 0xa2
jne 0x40b21c
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.0040d310
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
je 0x40ba48
mov eax, 1
jmp 0x40bb36
cmp esi, 0x20
jne 0x40b3c9
cmp dword [edx + 0x30], 0
mov dword [ebp - 0xc4], 0
je 0x40b3a2
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je 0x40b2bd
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b3a2
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebx + 0x14]
mov esi, dword [ecx + 0xb8]
cmp esi, dword [ecx + 0xbc]
je 0x40b2a1
nop
mov edx, dword [esi]
test edx, edx
je 0x40b296
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 0x40b270
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 0x40b3a5
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 0x40b38c
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b386
mov ecx, dword [ebp - 0xd0]
mov edi, dword [ebx + 0x14]
mov esi, dword [ecx + 0xb8]
cmp esi, dword [ecx + 0xbc]
je 0x40b367
mov edx, dword [esi]
test edx, edx
je 0x40b35c
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 0x40b336
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 0x40b38f
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x40b3a5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40b3a5
mov edi, dword [ebx + 0x10]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
jne 0x40ba8a
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0xc]
jmp 0x40acc4
cmp esi, 0x84
jne 0x40b412
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.0040dbe0
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
je 0x40ba48
mov eax, 1
jmp 0x40bb36
cmp esi, 0x83
je 0x40bb56
cmp esi, 0x86
jne 0x40b436
mov dword [edi], 1
mov eax, 1
jmp 0x40bb36
cmp esi, 0x100
jne 0x40b477
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b529
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.0040deb0
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b52e
cmp esi, 0x101
jne 0x40b4b5
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b529
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.0040deb0
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b52e
cmp esi, 0x102
jne 0x40b4ef
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b529
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.0040deb0
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b52e
cmp esi, 0x104
jne 0x40b548
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b529
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.0040deb0
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b52e
mov edi, dword [ebx + 0x10]
xor edx, edx
mov eax, dword [ebp - 0xcc]
mov dword [eax], edx
test ecx, ecx
je 0x40ba48
mov eax, 1
jmp 0x40bb36
cmp esi, 0x18
jne 0x40b61c
mov ecx, dword [edx + 0x30]
mov edi, dword [ebx + 0x10]
test ecx, ecx
je 0x40b56a
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 0x40b5f9
mov eax, dword [edx + 0xb8]
test eax, eax
je 0x40b5f9
mov eax, dword [eax + 0x38]
test edi, edi
je 0x40b599
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40b5f9
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 0x40b5f9
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0xbc], 0
je 0x40b5de
cmp dword [eax + 0xb8], 0
lea ecx, [eax + 0x24]
jne 0x40b5e4
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 0x40ba48
mov eax, 1
jmp 0x40bb36
cmp esi, 0x47
jne 0x40b772
lea ecx, [edx - 0x34]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0xc8], ecx
test edx, edx
je 0x40b642
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0xf0], 0
je 0x40b752
mov eax, dword [ecx + 0xec]
test eax, eax
je 0x40b752
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b74c
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40b735
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b735
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.00424eb0
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc8]
push 3
mov ecx, dword [eax + 0x30]
call fcn.00424eb0
sub dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc8]
push 5
mov ecx, dword [eax + 0x30]
call fcn.00424eb0
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc8]
push 7
mov ecx, dword [eax + 0x30]
call fcn.00424eb0
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.00410480
jmp 0x40b74c
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 0x40acee
cmp esi, 0x46
jne 0x40b89e
mov ecx, dword [ebx + 0x14]
lea eax, [edx - 0x34]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc4], 0
test ecx, ecx
jne 0x40b7a9
mov dword [edi], ecx
lea eax, [esi - 0x2b]
mov dword [ebp - 0xc4], 1
jmp 0x40acf4
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsZoomed]
mov edi, dword [ebx + 0x14]
test eax, eax
je 0x40b86a
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 0x40b878
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
cmp dword [edi + 0x10], eax
jle 0x40b857
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 0x40b87b
mov dword [edi + 0x14], eax
jmp 0x40b87b
mov ecx, dword [ebp - 0xd0]
push edi
mov eax, dword [ecx]
call dword [eax + 0x54]
jmp 0x40b87b
mov esi, dword [ebx + 0xc]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
je 0x40acbe
mov eax, 1
jmp 0x40bb36
cmp esi, 0x24
jne 0x40b95f
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 0x40b917
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 0x40b927
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 0x40acc1
mov eax, 1
jmp 0x40bb36
cmp esi, 0xf48
jne 0x40b9f1
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xd0], 0
test edi, edi
jne 0x40b996
mov eax, dword [ebp - 0xcc]
mov dword [eax], edi
lea eax, [edi + 1]
jmp 0x40bb36
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x40b9c2
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 0x40b9d0
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 0x40ba48
mov eax, 1
jmp 0x40bb36
cmp esi, 0x2e0
je 0x40bb56
test esi, esi
jne 0x40acbe
mov eax, dword [edx + 0x30]
mov ecx, 1
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40ba37
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.0040deb0
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40ba3c
mov edi, dword [ebx + 0x10]
xor edx, edx
mov eax, dword [ebp - 0xcc]
mov dword [eax], edx
test ecx, ecx
jne 0x40ba8a
mov ecx, dword [ebx + 0x14]
jmp 0x40acc4
test ecx, ecx
je case.0x40baed.313
mov edx, ecx
mov eax, dword [ebx + 0x10]
test edx, edx
je case.0x40baed.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 0x40bb34
mov eax, 1
jmp 0x40bb36
mov edx, dword [ecx]
jmp 0x40ba5a
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40baed.313
mov edx, dword [ecx + 0x14]
jmp 0x40ba5d
cmp dword [ebx + 0x10], 0
je case.0x40baed.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 0x40ba5a
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40baed.313
mov edx, dword [ecx + 8]
jmp 0x40ba5d
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40baed.313
mov edx, dword [ecx + 0xc]
jmp 0x40ba5d
lea eax, [esi - 0x133]
cmp eax, 0xdd
ja case.0x40baed.313
movzx eax, byte [eax + 0x40bc7c]
jmp dword [eax*4 + 0x40bc70]
movzx eax, di
sub eax, 1
je case.0x40baed.307
sub eax, 1
je case.0x40baed.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 0x40ba5a
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.0049a9dd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
mov dword [edi], 0
mov eax, 1
jmp 0x40bb36