Function at 0x597be0
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623426
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1a4], esi
cmp dword [esi + 0xa8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x19c], eax
je case.0x599291.276
lea ecx, [esi + 0x418]
mov dword [ebp - 0x1ac], 0
call fcn.0059dc30
mov edi, dword [ebp - 0x18c]
test eax, eax
jle 0x597cb0
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x418]
mov byte [ebp - 0x19d], 0
call fcn.0059e5c0
lea ecx, [ebp - 0x19d]
push ecx
push edi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x190]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x19d], 0
jne 0x597d0b
inc dword [ebp - 0x1ac]
lea ecx, [esi + 0x418]
call fcn.0059dc30
mov ecx, dword [ebp - 0x1ac]
cmp ecx, eax
jl 0x597c60
cmp byte [esi + 0x16d], 0
mov edx, dword [ebp + 8]
je 0x597db7
mov eax, edx
sub eax, 0x83
je 0x597da4
sub eax, 2
je 0x597da4
sub eax, 1
jne 0x597db7
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x597dfd
cmp dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x19c]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x59a5ce
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x597d50
cmp eax, 0x200
jae 0x597d30
cmp eax, 0x7b
je 0x597d57
mov al, 1
jmp 0x59a5ce
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x120], eax
mov al, 1
mov dword [esi + 0x11c], ecx
jmp 0x59a5ce
cmp eax, 0x20a
jne 0x597d9d
mov ecx, dword [ebp - 0x18c]
movsx eax, cx
mov dword [ebp - 0x198], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x198]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x198]
mov dword [esi + 0x11c], eax
mov eax, dword [ebp - 0x194]
mov dword [esi + 0x120], eax
mov al, 1
jmp 0x59a5ce
mov ecx, dword [ebp - 0x19c]
mov al, 1
mov dword [ecx], 0
jmp 0x59a5ce
cmp edx, 0x111
ja 0x599267
jne 0x597e00
mov eax, dword [ebp - 0x18c]
test eax, eax
je case.0x599291.276
push eax
push dword [ebp - 0x190]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], eax
test eax, eax
je case.0x599291.276
mov al, 1
jmp 0x59a5ce
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.0x599291.276
movzx eax, byte [eax + 0x59a624]
jmp dword [eax*4 + 0x59a5ec]
mov eax, dword [esi + 0x11c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x128], 0
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x118], eax
call fcn.00597b80
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
mov dword [ebp - 0x120], eax
test ecx, ecx
je 0x597e9b
mov dword [ebp - 0x128], 0xa
lea edx, [ebp - 0x128]
mov dword [ebp - 0x124], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x597ec4
mov dword [ebp - 0x128], 0xe
lea edx, [ebp - 0x128]
mov dword [ebp - 0x124], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
push 0
mov ecx, esi
call fcn.0059c9d0
mov edi, dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x597ef1
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x597ef1
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xc8]
test eax, eax
je case.0x599291.276
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xc8], 0
jmp case.0x599291.276
mov ecx, dword [ebp - 0x19c]
mov al, 1
mov dword [ecx], 1
jmp 0x59a5ce
cmp dword [esi + 0x104], 0
jne 0x597f8b
push 0x40
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.005fd040
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x140]
push eax
push dword [esi + 0xac]
call fcn.005b0760
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x59a5ce
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push eax
push dword [esi + 0xa8]
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [esi + 0xa8]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x597d9d
cmp byte [esi + 0x16a], 0
je 0x597fd5
push 1
mov ecx, esi
call fcn.0059cda0
push 1
mov ecx, esi
call fcn.0059cf10
mov eax, dword [ebp - 0x4c]
mov ecx, esi
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
push 1
mov byte [ebp - 0x19d], 0
mov dword [ebp - 0x1a8], eax
call fcn.0059cf10
cmp byte [esi + 0x169], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x598231
lea eax, [ebp - 0x54]
mov byte [esi + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x5982b2
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x5982b2
mov ecx, dword [esi + 0x104]
call fcn.005a2580
test al, al
je 0x598118
movups xmm0, xmmword [ebp - 0x54]
mov eax, dword [esi + 0xb0]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x598072
push eax
call edi
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x59807f
push eax
call edi
mov eax, dword [esi + 0xb8]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x598092
push eax
call edi
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x59809f
push eax
call edi
cmp byte [esi + 0x16d], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xc0], 0
je 0x5980fa
mov eax, dword [esi + 0x170]
add dword [ebp - 0x20], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x18], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
jmp 0x5980fe
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [esi + 0x104]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x54]
jmp 0x5981b8
lea edi, [esi + 0x460]
mov ecx, edi
mov dword [ebp - 0x1b0], edi
call fcn.0059e950
mov ecx, dword [esi + 0x104]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x59d750
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, edi
call fcn.0059dc30
test eax, eax
jle 0x5981b8
xor esi, esi
push esi
mov ecx, edi
call fcn.0059e5c0
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x19c], edi
mov edx, dword [edi]
mov edx, dword [edx + 0x120]
call edx
mov edi, dword [edi]
mov ecx, dword [ebp - 0x19c]
test al, al
jne 0x598181
mov eax, dword [edi + 0x50]
call eax
jmp 0x59818a
lea eax, [ebp - 0x40]
push eax
mov eax, dword [edi + 0x48]
call eax
movups xmm0, xmmword [eax]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x19c]
call dword [edi + 0x54]
mov edi, dword [ebp - 0x1b0]
inc esi
mov ecx, edi
call fcn.0059dc30
cmp esi, eax
jl 0x598152
mov esi, dword [ebp - 0x1a4]
cmp byte [esi + 0x168], 0
mov byte [ebp - 0x19d], 1
je 0x5982b2
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x104]
mov ecx, esi
mov byte [esi + 0x168], 0
call fcn.0059c380
cmp byte [esi + 0x16d], 0
je 0x598214
cmp byte [esi + 0x180], 0
je 0x598214
mov ecx, esi
call fcn.005979a0
push 0
mov ecx, esi
call fcn.0059cf10
mov al, 1
jmp 0x59a5ce
push dword [esi + 0xa8]
lea ecx, [esi + 0x5c8]
call fcn.005ad350
mov byte [ebp - 0x19d], 1
jmp 0x5982b2
cmp byte [esi + 0x16d], 0
je 0x59831d
cmp byte [esi + 0x180], 0
je 0x5982b2
movups xmm0, xmmword [ebp - 0x54]
mov ecx, dword [esi + 0xbc]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x598275
mov eax, dword [ebp - 0x1a8]
imul eax, dword [ebp - 0x190]
shl eax, 2
push eax
push 0
push ecx
call fcn.005fd040
add esp, 0xc
mov eax, dword [esi + 0x170]
add dword [ebp - 0x20], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x54]
cmp byte [esi + 0x16d], 0
je 0x59831d
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x5982e4
push ecx
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esi + 0x184]
mov byte [esi + 0x16b], 1
push edi
lea eax, [ebp - 0x30]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [ebp - 0x28]
xorps xmm0, xmm0
cmp ecx, dword [ebp - 0x4c]
movups xmmword [edi], xmm0
cmovg ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x48]
cmovg ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
cmp byte [esi + 0x16b], 0
je 0x59836b
cmp dword [esi + 0xb8], 0
jne 0x59836b
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x190]
mov dword [esi + 0xb0], eax
lea eax, [esi + 0xbc]
push eax
push dword [ebp - 0x1a8]
push edi
push dword [esi + 0xac]
call fcn.005b06e0
add esp, 0x10
mov dword [esi + 0xb8], eax
jmp 0x598371
mov edi, dword [ebp - 0x190]
push 0x40
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.005fd040
add esp, 0xc
lea eax, [ebp - 0x188]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x16b], 0
je 0x598ba0
push dword [esi + 0xb8]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xb0]
mov dword [ebp - 0x194], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0x16d], 0
mov dword [ebp - 0x1b4], eax
je 0x59845b
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1b0], edx
cmp edx, ecx
jge 0x59845b
mov ecx, dword [ebp - 0x30]
mov eax, edx
imul eax, edi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x1ac], eax
cmp ecx, edi
jge 0x598438
lea edx, [eax + ecx]
shl edx, 2
nop dword [eax]
mov eax, dword [esi + 0xbc]
lea edx, [edx + 4]
inc ecx
mov dword [edx + eax - 4], 0
mov edi, dword [ebp - 0x28]
cmp ecx, edi
jl 0x598410
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1ac]
add eax, dword [ebp - 0x190]
inc edx
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x2c]
cmp edx, eax
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x1ac]
jl 0x598402
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0x30]
push 0
push edx
push dword [esi + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x144]
cmp byte [esi + 0x16d], 0
je 0x5986b8
lea edi, [esi + 0x430]
mov ecx, edi
call fcn.0059dc30
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1ac], eax
test ecx, ecx
jle 0x59869e
push eax
mov ecx, edi
call fcn.0059e5c0
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5984df
mov edi, dword [ebp - 0x1ac]
lea ecx, [esi + 0x430]
push edi
call fcn.0059efb0
push edi
lea ecx, [esi + 0x43c]
call fcn.0059efb0
jmp 0x598686
inc dword [ebp - 0x1ac]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x598686
push edi
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.005975a0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x598686
push dword [esi + 0xb0]
mov dword [ebp - 0x1c4], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x18c], eax
push ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push ecx
push eax
call fcn.005b06e0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x1c]
imul edx, ecx
mov dword [ebp - 0x1c8], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1c4]
call fcn.005fd040
add esp, 0x1c
push dword [ebp - 0x1c8]
push dword [ebp - 0x18c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x18c]
mov dword [ebp - 0x1d0], eax
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x14]
mov ecx, edx
sub ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1b0], edx
test ecx, ecx
jle 0x598637
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x19c]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x59861b
nop
imul ecx, eax
mov eax, dword [ebp - 0x1c4]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x598601
or eax, 0xff000000
mov dword [ecx], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x19c]
mov eax, edi
inc edx
sub eax, esi
cmp edx, eax
jl 0x5985e0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1b0], edx
jmp 0x598621
mov edx, dword [ebp - 0x1b0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x19c], ecx
cmp ecx, eax
jl 0x5985d5
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
mov eax, dword [ebp - 0x20]
sub edi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x18c]
push edx
push edi
push ecx
push eax
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1d0]
mov edi, dword [ebp - 0x18c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1c8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x1ac]
lea edi, [esi + 0x430]
cmp eax, dword [ebp - 0x1bc]
jl 0x5984a7
cmp byte [esi + 0x16d], 0
je 0x5986b8
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push dword [esi + 0xb0]
call fcn.005969c0
lea ecx, [esi + 0x424]
xor edi, edi
call fcn.0059dc30
test eax, eax
jle 0x598700
nop dword [eax]
push edi
lea ecx, [esi + 0x424]
call fcn.0059e5c0
lea ecx, [ebp - 0x30]
push ecx
push dword [esi + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x168]
lea ecx, [esi + 0x424]
inc edi
call fcn.0059dc30
cmp edi, eax
jl 0x5986d0
push dword [ebp - 0x1b4]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x16d], 0
je 0x598af6
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [esi + 0xa8]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esi + 0x194]
call fcn.0059ee60
test al, al
jne 0x5989c2
mov eax, dword [ebp - 0x4c]
lea ecx, [esi + 0x194]
sub eax, dword [ebp - 0x54]
movups xmm0, xmmword [ebp - 0x54]
mov edi, dword [ebp - 0x48]
sub edi, dword [ebp - 0x50]
mov dword [ebp - 0x19c], eax
mov eax, dword [esi + 0x170]
add eax, dword [ebp - 0x54]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x18], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x1a4], edi
call fcn.0059ee60
test al, al
jne 0x598a62
cmp dword [esi + 0xc0], 0
jne 0x59881a
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [esi + 0xc4]
mov dword [esi + 0xb4], eax
push edi
push dword [ebp - 0x1a4]
push dword [ebp - 0x19c]
push dword [esi + 0xac]
call fcn.005b06e0
mov dword [esi + 0xc0], eax
mov eax, dword [ebp - 0x1a4]
imul eax, dword [ebp - 0x19c]
shl eax, 2
push eax
push 0
push dword [edi]
call fcn.005fd040
add esp, 0x1c
push dword [esi + 0xc0]
push dword [esi + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x598845
cmp byte [esi + 0x180], 0
je 0x598892
imul edi, dword [ebp - 0x19c]
shl edi, 2
push edi
push 0
push dword [esi + 0xc4]
call fcn.005fd040
add esp, 0xc
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0x124]
push eax
sub esp, 0x10
mov eax, esp
push dword [esi + 0xb4]
movups xmmword [eax], xmm0
call fcn.005b4ec0
push 0
lea eax, [esi + 0x194]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push esi
push dword [esi + 0xb4]
call fcn.005b3910
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.005b0420
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1a4], ecx
cmp ecx, eax
jge 0x598a62
mov eax, dword [ebp - 0x19c]
mov edi, ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
imul edi, eax
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1b0], edi
cmp edx, ecx
jge 0x598997
mov eax, dword [esi + 0xc4]
lea ecx, [edi + edx]
mov cl, byte [eax + ecx*4 + 3]
mov eax, dword [esi + 0xbc]
add eax, edi
add eax, edx
movzx edx, cl
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x1c4], edx
mov eax, dword [eax]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edx
mul ecx
mov ecx, dword [ebp - 0x18c]
shr edx, 7
movzx edi, dl
shl edi, 8
mov eax, dword [ecx]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1c4]
mul ecx
shr edx, 7
movzx eax, dl
or edi, eax
mov eax, dword [ebp - 0x18c]
shl edi, 8
movzx ecx, byte [eax]
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1c4]
mul ecx
shr edx, 7
movzx eax, dl
mov edx, dword [ebp - 0x1c8]
or edi, eax
mov eax, dword [ebp - 0x1c4]
inc edx
shl eax, 0x18
add edi, eax
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x18c]
mov dword [eax], edi
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x1b0]
cmp edx, ecx
jl 0x5988d0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1c8], edx
inc dword [ebp - 0x1a4]
add edi, eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1b0], edi
jl 0x5988c8
jmp 0x598a62
mov edx, dword [ebp - 0x48]
mov ecx, edx
sub ecx, dword [ebp - 0x24]
mov eax, edx
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1a4], ecx
cmp ecx, eax
jge 0x598a62
mov edi, dword [ebp - 0x28]
mov eax, ecx
imul eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1b0], eax
cmp ecx, edi
jge 0x598a3d
lea edx, [eax + ecx]
shl edx, 2
nop dword [eax]
mov eax, dword [esi + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x598a29
cmp byte [eax + edx], 0
jne 0x598a21
cmp byte [eax + edx + 1], 0
jne 0x598a21
cmp byte [eax + edx + 2], 0
je 0x598a29
mov byte [eax + edx + 3], 0xff
mov edi, dword [ebp - 0x28]
inc ecx
add edx, 4
cmp ecx, edi
jl 0x598a00
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x190]
inc dword [ebp - 0x1a4]
mov dword [ebp - 0x1b0], eax
mov eax, edx
sub eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1b0]
jl 0x5989f2
mov al, byte [esi + 0x16c]
mov byte [ebp - 0x1aa], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1a8]
push 2
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x1ac]
push eax
push 0
lea eax, [ebp - 0x1b8]
mov word [ebp - 0x1ac], 0
push eax
push dword [esi + 0xb0]
lea eax, [ebp - 0x1c0]
mov byte [ebp - 0x1a9], 1
push eax
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1b8], 0
push eax
push dword [esi + 0xac]
mov dword [ebp - 0x1b4], 0
push dword [esi + 0xa8]
call dword [0x6d0c38]
jmp 0x598b23
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
push 0xcc0020
push edx
push ecx
push dword [esi + 0xb0]
sub eax, edx
push eax
mov eax, dword [ebp - 0x28]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x194]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xb0]
call edi
cmp byte [esi + 0x101], 0
je 0x598c1e
cmp byte [esi + 0x16d], 0
jne 0x598c1e
push dword [0x6d0c3c]
push dword [esi + 0xac]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x598c1e
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x104]
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x30]
push 0
push eax
mov edx, dword [ecx]
push dword [esi + 0xac]
call dword [edx + 0x144]
lea ecx, [esi + 0x424]
call fcn.0059dc30
xor edi, edi
mov dword [ebp - 0x194], eax
test eax, eax
jle 0x598c0c
push edi
lea ecx, [esi + 0x424]
call fcn.0059e5c0
lea ecx, [ebp - 0x30]
push ecx
push dword [esi + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x168]
inc edi
cmp edi, dword [ebp - 0x194]
jl 0x598be3
push dword [ebp - 0x1b4]
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x188]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, esi
call fcn.0059cf10
cmp byte [esi + 0x169], 0
mov byte [esi + 0x180], 0
je 0x598c51
mov ecx, esi
call fcn.005979a0
cmp byte [ebp - 0x19d], 0
je 0x597d9d
push 1
push 0
push 0
push str.windowsize
push dword [esi + 0x104]
mov ecx, esi
call fcn.0059c380
mov al, 1
jmp 0x59a5ce
lea eax, [ebp - 0x84]
xorps xmm0, xmm0
push eax
push 1
push dword [esi + 0xa8]
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x84], 0x28
movups xmmword [ebp - 0x74], xmm0
movq qword [ebp - 0x64], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0x60], 1
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x40], xmm0
je 0x598cda
mov eax, dword [ebp - 0x6c]
neg eax
push eax
mov eax, dword [ebp - 0x70]
neg eax
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0x124]
mov eax, dword [ebp - 0x18c]
test ecx, ecx
jle 0x598ced
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x128]
test ecx, ecx
jle 0x598cfa
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x12c]
test ecx, ecx
jle 0x598d07
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x130]
test ecx, ecx
jle 0x598d14
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x12c]
test ecx, ecx
jle 0x598d21
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x130]
test ecx, ecx
jle case.0x599291.276
mov dword [eax + 0xc], ecx
jmp case.0x599291.276
mov eax, dword [esi + 0x108]
test eax, eax
je 0x598d8e
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x128], 0x19
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x124], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x597d9d
call fcn.005a2610
mov al, 1
jmp 0x59a5ce
cmp dword [esi + 0x104], 0
je case.0x599291.276
mov ecx, dword [ebp - 0x18c]
movsx eax, cx
mov dword [ebp - 0x198], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x198]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x110], 0
mov eax, dword [ebp - 0x198]
mov dword [esi + 0x11c], eax
mov eax, dword [ebp - 0x194]
mov dword [esi + 0x120], eax
je case.0x599291.276
mov ecx, esi
call fcn.0059b870
mov eax, dword [ebp - 0x198]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x110]
mov edx, dword [ebp - 0x190]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x194]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0x14
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x118], eax
mov word [ebp - 0x112], dx
mov dword [ebp - 0x10c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [esi + 0x110], 0
jmp case.0x599291.276
cmp dword [esi + 0x104], 0
je case.0x599291.276
mov eax, dword [esi + 0x108]
test eax, eax
je case.0x599291.276
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov word [ebp - 0x114], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x128], 5
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.00597b80
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x599291.276
cmp dword [esi + 0x104], 0
je case.0x599291.276
mov eax, dword [esi + 0x108]
test eax, eax
je case.0x599291.276
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov word [ebp - 0x114], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x128], 3
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.00597b80
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [esi + 0x108]
mov dword [esi + 0x114], eax
jmp case.0x599291.276
cmp dword [esi + 0x104], 0
je case.0x599291.276
mov eax, dword [esi + 0x114]
test eax, eax
je case.0x599291.276
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov word [ebp - 0x114], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x128], 4
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.00597b80
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x114]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [esi + 0x114], 0
jmp case.0x599291.276
cmp dword [esi + 0x104], 0
je case.0x599291.276
cmp di, 1
jne case.0x599291.276
cmp byte [esi + 0x3e1], 0
jne 0x597d9d
lea eax, [ebp - 0x198]
mov dword [ebp - 0x198], 0
push eax
mov dword [ebp - 0x194], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x198]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x194]
mov ecx, esi
push dword [ebp - 0x198]
call fcn.00596ae0
mov esi, eax
test esi, esi
je case.0x599291.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.0x599291.276
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x10c], 0
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x128], 0x1a
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.00597b80
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x128]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov al, 1
jmp 0x59a5ce
mov ecx, dword [esi + 0x108]
test ecx, ecx
je case.0x599291.276
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x60], 0
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x7c], 0x18
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x78], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x74], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x599291.276
mov ecx, esi
call fcn.00597a10
test al, al
je case.0x599291.276
mov ecx, esi
call fcn.0059b870
jmp case.0x599291.276
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je case.0x599291.276
push ecx
push dword [ebp - 0x190]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], eax
mov al, 1
jmp 0x59a5ce
cmp edx, 0x2a1
ja 0x59a27d
je 0x59a045
lea eax, [edx - 0x113]
cmp eax, 0xf7
ja case.0x599291.276
movzx eax, byte [eax + 0x59a754]
jmp dword [eax*4 + 0x59a724]
mov eax, 0xf1
cmp ax, word [ebp - 0x190]
jne 0x5992c9
lea eax, [esi + 0x6a0]
mov ecx, esi
push eax
call fcn.00597940
cmp byte [esi + 0x6b0], 0
sete al
mov byte [esi + 0x6b0], al
jmp case.0x599291.276
lea ecx, [esi + 0x3f4]
mov dword [ebp - 0x1a8], 0
call fcn.0059dc30
test eax, eax
jle case.0x599291.276
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [esi + 0x3f4]
call fcn.0059e5c0
mov edx, eax
mov dword [ebp - 0x194], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 0xa8]
jne 0x599323
mov eax, dword [ebp - 0x190]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x599323
cmp byte [edx + 0x10], 0
je 0x599343
inc dword [ebp - 0x1a8]
lea ecx, [esi + 0x3f4]
call fcn.0059dc30
mov ecx, dword [ebp - 0x1a8]
cmp ecx, eax
jl 0x5992f0
jmp case.0x599291.276
mov eax, dword [edx]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x10c], 0
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x128], 0x1b
mov dword [ebp - 0x124], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x118], eax
call fcn.00597b80
mov ecx, dword [ebp - 0x194]
lea edx, [ebp - 0x128]
mov word [ebp - 0x112], ax
mov dword [ebp - 0x10c], edi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x110], eax
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x599291.276
cmp byte [esi + 0x3e0], 0
jne 0x599431
mov eax, dword [esi + 0xa8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
test eax, eax
jne 0x59940d
mov eax, dword [esi + 0xfc]
jmp 0x59941d
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x3e0], 1
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
movsx edi, ax
mov al, 1
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x1a8], eax
cmp dword [esi + 0x11c], ecx
jne 0x599470
xor edx, edx
movzx eax, al
cmp dword [esi + 0x120], edi
cmove eax, edx
mov dword [ebp - 0x1a8], eax
push edi
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x120], edi
call fcn.00596ae0
mov ecx, eax
test ecx, ecx
je 0x59949a
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp eax, esi
jne case.0x599291.276
cmp byte [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x190]
je 0x59973f
cmp byte [esi + 0x698], 0
je 0x59973f
cmp eax, 1
jne 0x59973f
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.0045acbb
mov edi, eax
add esp, 4
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.0x599291.276
mov dword [edi], vtable.DuiLib::CIDropSource.0
mov ecx, dword [edi]
push edi
mov dword [edi + 4], 0
mov byte [edi + 8], 0
call dword [ecx + 4]
push 0x24
call fcn.0045acbb
add esp, 4
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x599527
push edi
mov ecx, eax
call fcn.005ade50
mov ecx, eax
mov dword [ebp - 0x19c], eax
jmp 0x59952f
xor ecx, ecx
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je case.0x599291.276
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, 2
mov dword [ebp - 0x2c], 0x10
push 0
xorps xmm0, xmm0
mov word [ebp - 0x44], ax
push eax
push dword [esi + 0x69c]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x3c], 1
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0x10
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov edi, eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x19c]
push 0
push edx
mov dword [ebp - 0x28], edi
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x1bc], edi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x5c]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x58]
push 0
push 0
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
push 0
push dword [esi + 0xac]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x14], eax
mov eax, 0xe
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 0x34], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
push dword [esi + 0xac]
mov dword [ebp - 0x1a4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [ebp - 0x1a8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1a8]
mov edi, eax
push dword [ebp - 0x194]
push dword [ebp - 0x1b4]
push 0
push 0
push dword [ebp - 0x1a4]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [ebp - 0x1a8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1a4]
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push edi
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x19c]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x40
push 1
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1cc]
call fcn.00595090
mov eax, dword [ebp - 0x58]
cdq
sub eax, edx
mov dword [ebp - 0x194], 0
sar eax, 1
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x54]
cdq
sub eax, edx
mov dword [ebp - 4], 4
sar eax, 1
push 5
mov dword [ebp - 0x194], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1cc]
call fcn.005978d0
mov edi, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1b0]
push eax
push 3
push edi
push dword [ebp - 0x19c]
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x1b0], 0
je 0x599711
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 0xc
push edi
call fcn.0045acf3
mov ecx, dword [ebp - 0x19c]
add esp, 8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x1cc]
mov byte [esi + 0x698], 0
call fcn.005956e0
jmp case.0x599291.276
mov ecx, dword [ebp - 0x1a4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x118], edi
mov edi, dword [ebp - 0x18c]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
call fcn.00597b80
push dword [ebp - 0x194]
mov ecx, esi
mov word [ebp - 0x112], ax
push dword [ebp - 0x1a4]
call fcn.00596ae0
mov edi, eax
mov dword [ebp - 0x194], edi
test edi, edi
je 0x5997d1
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599291.276
mov eax, dword [esi + 0x10c]
cmp edi, eax
je 0x5998da
test eax, eax
je 0x5998da
lea ecx, [esi + 0x478]
mov dword [ebp - 0x128], 0xa
mov dword [ebp - 0x124], eax
call fcn.0059dc30
push eax
lea ecx, [ebp - 0x2c]
call fcn.0059e3e0
lea ecx, [esi + 0x478]
mov dword [ebp - 4], 5
call fcn.0059dc30
push eax
lea ecx, [ebp - 0x2c]
call fcn.0059f240
lea ecx, [esi + 0x478]
call fcn.0059dc30
shl eax, 2
lea ecx, [esi + 0x478]
push eax
call fcn.0059ebe0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0059ebe0
push eax
call fcn.005fcac0
add esp, 0xc
lea ecx, [ebp - 0x2c]
xor edi, edi
call fcn.0059dc30
test eax, eax
jle 0x599887
push edi
lea ecx, [ebp - 0x2c]
call fcn.0059e5c0
lea ecx, [ebp - 0x128]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x134]
lea ecx, [ebp - 0x2c]
inc edi
call fcn.0059dc30
cmp edi, eax
jl 0x599860
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0x10c], 0
test ecx, ecx
je 0x5998c5
lea eax, [esi + 0xcc]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0059e4a0
mov edi, dword [ebp - 0x194]
cmp edi, dword [esi + 0x10c]
je 0x59990d
test edi, edi
je 0x59990d
mov dword [ebp - 0x128], 0xb
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x124], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x134]
mov dword [esi + 0x10c], edi
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x59993b
mov dword [ebp - 0x128], 9
lea edx, [ebp - 0x128]
mov dword [ebp - 0x124], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
jmp case.0x599291.276
test edi, edi
je case.0x599291.276
mov dword [ebp - 0x128], 9
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x124], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x134]
jmp case.0x599291.276
cmp byte [esi + 0x100], 0
jne 0x59997e
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x104], 0
je case.0x599291.276
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1b4], eax
mov dword [esi + 0x120], eax
call fcn.00596ae0
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599291.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599291.276
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x599a2f
mov eax, dword [esi + 0x69c]
mov byte [esi + 0x698], 1
test eax, eax
je 0x599a09
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x69c], 0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x50]
call eax
push 0
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
push edi
push esi
movups xmmword [ecx], xmm0
call fcn.005b4b60
add esp, 0x1c
mov dword [esi + 0x69c], eax
mov ecx, esi
call fcn.0059c460
mov dword [esi + 0x110], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x11c]
mov ecx, dword [ebp - 0x194]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x190]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x18c]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0xd
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], ecx
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1bc]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x599291.276
cmp byte [esi + 0x100], 0
jne 0x599ae4
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1b4], eax
mov dword [esi + 0x120], eax
call fcn.00596ae0
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599291.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599291.276
mov ecx, esi
call fcn.0059c460
mov eax, dword [ebp - 0x194]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x128], 0x13
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x18c]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], eax
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x134]
mov dword [esi + 0x110], edi
jmp case.0x599291.276
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0x110], 0
cwde
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x1b4], eax
mov dword [esi + 0x11c], ecx
mov dword [esi + 0x120], eax
je case.0x599291.276
mov ecx, esi
call fcn.0059b870
mov eax, dword [esi + 0x110]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x194]
mov edi, dword [ebp - 0x18c]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0xe
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], ecx
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
mov dword [esi + 0x110], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x599291.276
cmp byte [esi + 0x100], 0
jne 0x599cb2
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1b4], eax
mov dword [esi + 0x120], eax
call fcn.00596ae0
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599291.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599291.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x11c]
mov ecx, esi
call fcn.0059c460
mov dword [ebp - 0x128], 0xf
mov ecx, dword [ebp - 0x194]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x118], ecx
jmp 0x599b66
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1b4], eax
mov dword [esi + 0x120], eax
call fcn.00596ae0
mov dword [esi + 0x110], eax
test eax, eax
je case.0x599291.276
mov ecx, esi
call fcn.0059b870
mov dword [ebp - 0x128], 0x10
mov eax, dword [esi + 0x110]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x194]
mov edi, dword [ebp - 0x18c]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], ecx
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x599291.276
cmp byte [esi + 0x100], 0
jne 0x599e2a
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1b4], eax
mov dword [esi + 0x120], eax
call fcn.00596ae0
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599291.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599291.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x11c]
mov ecx, esi
call fcn.0059c460
mov dword [ebp - 0x128], 0x11
jmp 0x599d1c
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1b4], eax
mov dword [esi + 0x120], eax
call fcn.00596ae0
mov dword [esi + 0x110], eax
test eax, eax
je case.0x599291.276
mov ecx, esi
call fcn.0059b870
mov dword [ebp - 0x128], 0x12
jmp 0x599d90
cmp dword [esi + 0x104], 0
je case.0x599291.276
mov ecx, dword [ebp - 0x18c]
movsx eax, cx
mov dword [ebp - 0x1b8], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b8]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1b8]
push eax
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x120], eax
call fcn.00596ae0
mov edi, eax
mov dword [ebp - 0x194], edi
test edi, edi
je case.0x599291.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599291.276
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
shr eax, 0x10
shr eax, 0xf
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x18c]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0x15
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.00597b80
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x194]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
movzx ecx, word [esi + 0x120]
movzx eax, word [esi + 0x11c]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x599291.276
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je case.0x599291.276
push ecx
push dword [ebp - 0x190]
lea eax, [edx + 0x2000]
push eax
push ecx
jmp 0x597de0
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x3e0], 0
mov dword [ebp - 0x1b4], eax
call fcn.00596ae0
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599291.276
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x59a11b
mov edi, dword [ebp - 0x18c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0xc
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x118], eax
call fcn.00597b80
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x128]
mov word [ebp - 0x112], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov edi, dword [ebp - 0x1bc]
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 2
call fcn.0059ee60
test al, al
jne 0x59a26b
push 0x30
lea eax, [esi + 0xcc]
push 0
push eax
call fcn.005fd040
mov eax, dword [esi + 0xa8]
lea ecx, [ebp - 0x108]
add esp, 0xc
mov dword [esi + 0xcc], 0x30
mov dword [esi + 0xd0], 1
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov eax, dword [0x6d0c40]
mov dword [esi + 0xec], eax
call fcn.0059ebe0
mov dword [esi + 0xf0], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x50]
call eax
cmp dword [esi + 0xc8], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xdc], xmm0
jne 0x59a22e
push 0
push dword [0x6d0c40]
push 0
push dword [esi + 0xa8]
push connect
push connect
push connect
push connect
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0xcc]
mov dword [esi + 0xc8], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xc8]
call eax
push eax
push 0
push 0x418
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x59a26b
lea edi, [esi + 0xcc]
push edi
push eax
push 0x436
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x411
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x108]
call fcn.0059e480
mov al, 1
jmp 0x59a5ce
sub edx, 0x2a3
je 0x59a4c1
sub edx, 0x75
je 0x59a3cf
sub edx, 0x7ce9
jne case.0x599291.276
lea eax, [esi + 0x448]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x194], eax
call fcn.0059dc30
test eax, eax
jle 0x59a2e6
mov esi, dword [ebp - 0x194]
nop dword [eax]
push edi
mov ecx, esi
call fcn.0059e5c0
test eax, eax
je 0x59a2d4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call fcn.0059dc30
cmp edi, eax
jl 0x59a2c0
mov esi, dword [ebp - 0x1a4]
lea ecx, [esi + 0x448]
call fcn.0059e950
lea eax, [esi + 0x454]
mov byte [esi + 0x3e4], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1a4], eax
call fcn.0059eb50
mov edi, eax
test edi, edi
je case.0x599291.276
lea eax, [esi + 0x3e8]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a4]
push 0
call fcn.0059efb0
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x59a355
add ecx, 0x38
call fcn.005adb90
test al, al
je 0x59a355
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.005adbb0
mov ecx, dword [ebp - 0x1a8]
xor esi, esi
call fcn.0059dc30
test eax, eax
jle 0x59a393
nop word [eax + eax]
mov ecx, dword [ebp - 0x1a8]
push esi
call fcn.0059e5c0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1a8]
inc esi
call fcn.0059dc30
cmp esi, eax
jl 0x59a370
lea ecx, [edi + 0x84]
call fcn.0059e480
mov ecx, edi
call fcn.0059e480
push 0x120
push edi
call fcn.0045acf3
mov ecx, dword [ebp - 0x1a4]
add esp, 8
push 0
call fcn.0059eb50
mov edi, eax
test edi, edi
jne 0x59a323
jmp case.0x599291.276
cmp dword [esi + 0x104], 0
je case.0x599291.276
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x190]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x104]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x144]
test byte [ebp - 0x18c], 0x10
je 0x59a4af
push 5
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1a8], eax
test eax, eax
je 0x59a4af
or dword [ebp - 0x18c], 2
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x18c]
push edi
push 0x317
push dword [ebp - 0x1a8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1a8]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1a8], eax
test eax, eax
jne 0x59a444
push dword [ebp - 0x194]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x599291.276
mov ecx, dword [esi + 0xc8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x59a4e2
lea eax, [esi + 0xcc]
push eax
push 0
push 0x411
push ecx
call edi
cmp byte [esi + 0x3e0], 0
je 0x59a5c5
lea eax, [ebp - 0x198]
mov dword [ebp - 0x198], 0
xorps xmm0, xmm0
mov dword [ebp - 0x194], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x59a5b4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0xa8]
jne 0x59a5b4
push dword [ebp - 0x194]
lea eax, [ebp - 0x40]
push dword [ebp - 0x198]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x59a5b4
movzx ecx, word [ebp - 0x194]
movzx eax, word [ebp - 0x198]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [esi + 0xa8]
call edi
cmp eax, 1
jne 0x59a5b4
lea eax, [ebp - 0x198]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x194]
movzx eax, word [ebp - 0x198]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x59a5b6
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0xa8]
call edi
mov byte [esi + 0x3e0], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 0x10