Function at 0x40ac00
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 0x4caa65
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x5000a8]
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 - 0xd0], edx
cmp dword [ebx + 0x1c], 0
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0xc8], edi
jne 0x40baa9
mov esi, dword [ebx + 0xc]
cmp esi, 0xf
jne 0x40ad12
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.0040c7c0
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 - 0xc8]
mov dword [eax], 0
jne 0x40b9ff
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 1
cmp esi, 0x132
ja 0x40ba4e
je case.0x40ba62.307
lea eax, [esi - 0x2b]
cmp eax, 0xea
ja case.0x40ba62.313
mov edx, dword [ebp - 0xd0]
movzx eax, byte [eax + 0x40baf8]
jmp dword [eax*4 + 0x40bad8]
cmp esi, 0x85
je 0x40bacb
cmp esi, 0x14
je 0x40bacb
cmp esi, 5
jne 0x40ae04
cmp dword [edx + 0x24], 0
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x18], ecx
je 0x40add5
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40add2
mov eax, dword [ebp - 0x18]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40add2
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0x18]
movups xmmword [ebp - 0x34], xmm0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [eax + 0x58]
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 0x40add2
mov eax, dword [ebp - 0x18]
movups xmm0, xmmword [ebp - 0x34]
push 0
sub esp, 0x10
mov ecx, dword [eax + 0x58]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x58]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [ebp - 0x18]
push 1
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xbc], 0
je 0x40b807
cmp dword [ebx + 0x10], 1
je 0x40b807
mov eax, dword [ebx + 0x14]
mov edx, dword [ecx]
movzx esi, ax
shr eax, 0x10
push eax
push esi
call dword [edx + 0x68]
mov esi, dword [ebx + 0xc]
jmp 0x40b807
cmp esi, 0x4e
je 0x40bacb
cmp esi, 0x215
jne 0x40ae43
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040c300
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 1
jne 0x40af2c
mov ecx, dword [edx + 0x24]
add edx, 0xffffffcc
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc4], 0
test ecx, ecx
jne 0x40af06
push 0x11c
call fcn.0049cf47
add esp, 4
mov dword [ebp - 0xcc], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00404ed0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xcc], eax
mov ecx, dword [edx + 0x58]
cmp ecx, eax
je 0x40aecf
test eax, eax
je 0x40aeb4
mov eax, dword [eax]
push dword [ebp - 0xcc]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x58]
mov eax, ecx
mov ecx, dword [ebp - 0xcc]
mov dword [edx + 0x58], ecx
test eax, eax
je 0x40aecf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x58]
test ecx, ecx
je 0x40b807
mov eax, dword [ecx]
push edx
call dword [eax + 0x94]
mov eax, dword [ebp - 0x18]
push 1
mov ecx, dword [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, dword [ebp - 0x18]
call fcn.0040c550
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x58]
test ecx, ecx
je 0x40b807
mov eax, dword [ecx]
push edx
call dword [eax + 0x94]
mov eax, dword [ebp - 0x18]
push 1
mov ecx, dword [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, dword [ebp - 0x18]
call fcn.0040c550
jmp 0x40b807
cmp esi, 2
jne 0x40af5f
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040d740
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x5f5
jne 0x40af7e
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
call fcn.0040c550
jmp 0x40b807
cmp esi, 0x200
jne 0x40afb4
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040c960
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0xa0
jne 0x40afea
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040c960
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x2a3
jne 0x40b020
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040d4e0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x2a2
jne 0x40b056
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040d4e0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x20a
jne 0x40b08c
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040d530
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x201
jne 0x40b0c2
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040cdc0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x204
jne 0x40b0f8
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040dfa0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x205
jne 0x40b12e
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040e1f0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0xa4
jne 0x40b164
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040e670
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0xa5
jne 0x40b19a
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040e8a0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x203
jne 0x40b1d0
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040dd50
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x202
jne 0x40b206
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040d020
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0xa2
jne 0x40b23c
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040d020
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x40b5b0
cmp esi, 0x20
jne 0x40b3aa
cmp dword [edx + 0x24], 0
lea edi, [edx - 0x34]
mov dword [ebp - 0xc4], 0
je 0x40b3a2
mov ecx, dword [edi + 0x5c]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x40b2da
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b3a2
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebx + 0x14]
mov esi, dword [ecx + 0xb8]
cmp esi, dword [ecx + 0xbc]
je 0x40b2bb
nop dword [eax]
mov edx, dword [esi]
test edx, edx
je 0x40b2b0
mov eax, dword [edx]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebx + 0x10]
push 0x20
push ecx
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x18]
add esi, 4
cmp esi, dword [ecx + 0xbc]
jne 0x40b290
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 esi, dword [ebx + 0xc]
jmp 0x40b5a4
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 - 0xcc], 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 2
push eax
push dword [ebp - 0x18]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0040c620
mov esi, dword [ebp - 0xcc]
test esi, esi
je 0x40b382
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b382
mov edi, dword [esi + 0xb8]
cmp edi, dword [esi + 0xbc]
je 0x40b365
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x40b35a
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push 0x20
push esi
call dword [eax]
add edi, 4
cmp edi, dword [esi + 0xbc]
jne 0x40b340
mov edi, dword [ebx + 0x10]
lea ecx, [ebp - 0xc4]
mov eax, dword [esi]
push ecx
push dword [ebx + 0x14]
mov ecx, esi
push edi
push 0x20
push esi
call dword [eax + 0xc0]
jmp 0x40b385
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40b2d2
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebx + 0xc]
jmp 0x40b5a4
mov edi, dword [ebx + 0x10]
jmp 0x40b5a4
cmp esi, 0x84
jne 0x40b3f2
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
lea ecx, [edx - 0x34]
mov dword [ebp - 0xc4], 1
push edi
push esi
call fcn.0040d8a0
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
je 0x40b9bd
mov eax, 1
jmp 0x40baab
cmp esi, 0x83
je 0x40bacb
cmp esi, 0x86
jne 0x40b416
mov dword [edi], 1
mov eax, 1
jmp 0x40baab
cmp esi, 0x100
jne 0x40b456
mov eax, dword [edx + 0x24]
mov ecx, 1
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b505
lea ecx, [ebp - 0xc4]
push ecx
push dword [ebx + 0x14]
push edi
push esi
push eax
call fcn.0040db70
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b507
cmp esi, 0x101
jne 0x40b493
mov eax, dword [edx + 0x24]
mov ecx, 1
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b505
lea ecx, [ebp - 0xc4]
push ecx
push dword [ebx + 0x14]
push edi
push esi
push eax
call fcn.0040db70
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b507
cmp esi, 0x102
jne 0x40b4cc
mov eax, dword [edx + 0x24]
mov ecx, 1
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b505
lea ecx, [ebp - 0xc4]
push ecx
push dword [ebx + 0x14]
push edi
push esi
push eax
call fcn.0040db70
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b507
cmp esi, 0x104
jne 0x40b521
mov eax, dword [edx + 0x24]
mov ecx, 1
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b505
lea ecx, [ebp - 0xc4]
push ecx
push dword [ebx + 0x14]
push edi
push esi
push eax
call fcn.0040db70
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b507
xor edx, edx
mov eax, dword [ebp - 0xc8]
mov dword [eax], edx
test ecx, ecx
je 0x40b9bd
mov eax, 1
jmp 0x40baab
cmp esi, 0x18
jne 0x40b5c7
mov ecx, dword [edx + 0x24]
mov edi, dword [ebx + 0x10]
test ecx, ecx
je 0x40b543
mov eax, dword [ecx]
push edi
call dword [eax + 0x100]
mov edx, dword [ebp - 0xd0]
cmp dword [edx + 0xb0], 0
mov dword [ebp - 0xc4], 0
je 0x40b5a4
mov eax, dword [edx + 0xac]
test eax, eax
je 0x40b5a4
mov eax, dword [eax + 0x38]
test edi, edi
je 0x40b572
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40b5a4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xd0]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x40b5a4
mov eax, dword [ebp - 0xd0]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
cmp dword [ebp - 0xc4], 0
je 0x40b9bd
mov eax, 1
jmp 0x40baab
cmp esi, 0x47
jne 0x40b6f6
lea ecx, [edx - 0x34]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x18], ecx
test edx, edx
je 0x40b5e7
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xe4], 0
je 0x40b6d6
mov eax, dword [ecx + 0xe0]
test eax, eax
je 0x40b6d6
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b6d3
mov eax, dword [ebp - 0x18]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40b6bf
mov eax, dword [ebp - 0x18]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b6bf
mov eax, dword [ebp - 0x18]
push 5
mov eax, dword [eax + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0x18]
movups xmmword [ebp - 0x34], xmm0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
push 5
mov ecx, dword [eax + 0x30]
call fcn.004248e0
sub dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
push 3
mov ecx, dword [eax + 0x30]
call fcn.004248e0
sub dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
push 5
mov ecx, dword [eax + 0x30]
call fcn.004248e0
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
push 7
mov ecx, dword [eax + 0x30]
call fcn.004248e0
add dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push 1
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xe0]
add ecx, 0x38
call fcn.00410080
jmp 0x40b6d3
mov eax, dword [ebp - 0x18]
push 0
mov eax, dword [eax + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x18]
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 0x40acfe
cmp esi, 0x46
jne 0x40b824
mov ecx, dword [ebx + 0x14]
lea eax, [edx - 0x34]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc4], 0
test ecx, ecx
jne 0x40b72d
mov dword [edi], ecx
lea eax, [esi - 0x2b]
mov dword [ebp - 0xc4], 1
jmp 0x40ad04
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x40b7ee
mov edi, dword [ebx + 0x14]
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x80], 0x28
movups xmmword [ebp - 0x70], xmm0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x14]
add eax, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x80]
push eax
push 2
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], edx
push eax
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 - 0x24]
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 - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x40b7fe
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp dword [edi + 0x10], eax
jle 0x40b7db
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov esi, dword [ebx + 0xc]
cmp dword [edi + 0x14], eax
jle 0x40b801
mov dword [edi + 0x14], eax
jmp 0x40b801
mov ecx, dword [ebp - 0xcc]
push dword [ebx + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x54]
jmp 0x40b807
mov esi, dword [ebx + 0xc]
mov edi, dword [ebp - 0xc8]
cmp dword [ebp - 0xc4], 0
mov dword [edi], 0
je 0x40acce
mov eax, 1
jmp 0x40baab
cmp esi, 0x24
jne 0x40b8dc
push 1
push dword [edx + 4]
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x40b894
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 0x40b8a4
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 0x40acd1
mov eax, 1
jmp 0x40baab
cmp esi, 0xf48
jne 0x40b96a
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xcc], 0
test edi, edi
jne 0x40b913
mov eax, dword [ebp - 0xc8]
mov dword [eax], edi
lea eax, [edi + 1]
jmp 0x40baab
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x40b93b
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
push dword [ebx + 0x14]
push dword [edi + 8]
mov eax, dword [eax + 0xc0]
push dword [edi + 4]
push ecx
call eax
mov dword [ebp - 0xcc], eax
cmp dword [edi + 0x10], 0
je 0x40b949
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
mov dword [eax], ecx
je 0x40b9bd
mov eax, 1
jmp 0x40baab
cmp esi, 0x2e0
je 0x40bacb
test esi, esi
jne 0x40acce
mov eax, dword [edx + 0x24]
mov ecx, 1
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x40b9af
lea ecx, [ebp - 0xc4]
push ecx
push dword [ebx + 0x14]
push edi
push esi
push eax
call fcn.0040db70
mov ecx, dword [ebp - 0xc4]
mov edx, eax
jmp 0x40b9b1
xor edx, edx
mov eax, dword [ebp - 0xc8]
mov dword [eax], edx
test ecx, ecx
jne 0x40b9ff
mov ecx, dword [ebx + 0x14]
jmp 0x40acd4
test ecx, ecx
je case.0x40ba62.313
mov edx, ecx
mov eax, dword [ebx + 0x10]
test edx, edx
je case.0x40ba62.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 - 0xc8]
mov dword [ecx], eax
je 0x40baa9
mov eax, 1
jmp 0x40baab
mov edx, dword [ecx]
jmp 0x40b9cf
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40ba62.313
mov edx, dword [ecx + 0x14]
jmp 0x40b9d2
cmp dword [ebx + 0x10], 0
je case.0x40ba62.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 0x40b9cf
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40ba62.313
mov edx, dword [ecx + 8]
jmp 0x40b9d2
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40ba62.313
mov edx, dword [ecx + 0xc]
jmp 0x40b9d2
lea eax, [esi - 0x133]
cmp eax, 0xdd
ja case.0x40ba62.313
movzx eax, byte [eax + 0x40bbf0]
jmp dword [eax*4 + 0x40bbe4]
movzx eax, di
sub eax, 1
je case.0x40ba62.307
sub eax, 1
je case.0x40ba62.307
mov eax, edi
shr eax, 0x10
push eax
mov eax, dword [ebp - 0xd0]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebx + 0x14]
mov edx, eax
jmp 0x40b9cf
mov eax, dword [ebp - 0xc8]
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.0049d3ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
mov dword [edi], 0
mov eax, 1
jmp 0x40baab