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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6238d6
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.0x599611.276
lea ecx, [esi + 0x418]
mov dword [ebp - 0x1ac], 0
call fcn.005f46c0
mov edi, dword [ebp - 0x18c]
test eax, eax
jle 0x598030
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x418]
mov byte [ebp - 0x19d], 0
call fcn.0059e9a0
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 0x59808b
inc dword [ebp - 0x1ac]
lea ecx, [esi + 0x418]
call fcn.005f46c0
mov ecx, dword [ebp - 0x1ac]
cmp ecx, eax
jl 0x597fe0
cmp byte [esi + 0x16d], 0
mov edx, dword [ebp + 8]
je 0x598137
mov eax, edx
sub eax, 0x83
je 0x598124
sub eax, 2
je 0x598124
sub eax, 1
jne 0x598137
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x59817d
cmp dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x19c]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x59a94e
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x5980d0
cmp eax, 0x200
jae 0x5980b0
cmp eax, 0x7b
je 0x5980d7
mov al, 1
jmp 0x59a94e
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 0x59a94e
cmp eax, 0x20a
jne 0x59811d
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 0x59a94e
mov ecx, dword [ebp - 0x19c]
mov al, 1
mov dword [ecx], 0
jmp 0x59a94e
cmp edx, 0x111
ja 0x5995e7
jne 0x598180
mov eax, dword [ebp - 0x18c]
test eax, eax
je case.0x599611.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.0x599611.276
mov al, 1
jmp 0x59a94e
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.0x599611.276
movzx eax, byte [eax + 0x59a9a4]
jmp dword [eax*4 + 0x59a96c]
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.00597f10
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 0x59821b
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 0x598244
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.0059cd50
mov edi, dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x598271
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x598271
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xc8]
test eax, eax
je case.0x599611.276
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xc8], 0
jmp case.0x599611.276
mov ecx, dword [ebp - 0x19c]
mov al, 1
mov dword [ecx], 1
jmp 0x59a94e
cmp dword [esi + 0x104], 0
jne 0x59830b
push 0x40
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.005fd390
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.005b0b10
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x59a94e
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 0x59811d
cmp byte [esi + 0x16a], 0
je 0x598355
push 1
mov ecx, esi
call fcn.0059d120
push 1
mov ecx, esi
call fcn.0059d290
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.0059d290
cmp byte [esi + 0x169], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x5985b1
lea eax, [ebp - 0x54]
mov byte [esi + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x598632
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x598632
mov ecx, dword [esi + 0x104]
call fcn.005a2910
test al, al
je 0x598498
movups xmm0, xmmword [ebp - 0x54]
mov eax, dword [esi + 0xb0]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x5983f2
push eax
call edi
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x5983ff
push eax
call edi
mov eax, dword [esi + 0xb8]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x598412
push eax
call edi
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x59841f
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 0x59847a
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 0x59847e
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 0x598538
lea edi, [esi + 0x460]
mov ecx, edi
mov dword [ebp - 0x1b0], edi
call fcn.0059ed30
mov ecx, dword [esi + 0x104]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x59dad0
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, edi
call fcn.005f46c0
test eax, eax
jle 0x598538
xor esi, esi
push esi
mov ecx, edi
call fcn.0059e9a0
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 0x598501
mov eax, dword [edi + 0x50]
call eax
jmp 0x59850a
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.005f46c0
cmp esi, eax
jl 0x5984d2
mov esi, dword [ebp - 0x1a4]
cmp byte [esi + 0x168], 0
mov byte [ebp - 0x19d], 1
je 0x598632
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x104]
mov ecx, esi
mov byte [esi + 0x168], 0
call fcn.0059c700
cmp byte [esi + 0x16d], 0
je 0x598594
cmp byte [esi + 0x180], 0
je 0x598594
mov ecx, esi
call fcn.00597d30
push 0
mov ecx, esi
call fcn.0059d290
mov al, 1
jmp 0x59a94e
push dword [esi + 0xa8]
lea ecx, [esi + 0x5c8]
call fcn.005ad6b0
mov byte [ebp - 0x19d], 1
jmp 0x598632
cmp byte [esi + 0x16d], 0
je 0x59869d
cmp byte [esi + 0x180], 0
je 0x598632
movups xmm0, xmmword [ebp - 0x54]
mov ecx, dword [esi + 0xbc]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x5985f5
mov eax, dword [ebp - 0x1a8]
imul eax, dword [ebp - 0x190]
shl eax, 2
push eax
push 0
push ecx
call fcn.005fd390
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 0x59869d
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x598664
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 0x5986eb
cmp dword [esi + 0xb8], 0
jne 0x5986eb
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.005b0a90
add esp, 0x10
mov dword [esi + 0xb8], eax
jmp 0x5986f1
mov edi, dword [ebp - 0x190]
push 0x40
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.005fd390
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 0x598f20
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 0x5987db
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 0x5987db
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 0x5987b8
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 0x598790
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 0x598782
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 0x598a38
lea edi, [esi + 0x430]
mov ecx, edi
call fcn.005f46c0
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1ac], eax
test ecx, ecx
jle 0x598a1e
push eax
mov ecx, edi
call fcn.0059e9a0
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x59885f
mov edi, dword [ebp - 0x1ac]
lea ecx, [esi + 0x430]
push edi
call fcn.0059f380
push edi
lea ecx, [esi + 0x43c]
call fcn.0059f380
jmp 0x598a06
inc dword [ebp - 0x1ac]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x598a06
push edi
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00597930
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 0x598a06
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.005b0a90
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.005fd390
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 0x5989b7
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x19c]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x59899b
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 0x598981
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 0x598960
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1b0], edx
jmp 0x5989a1
mov edx, dword [ebp - 0x1b0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x19c], ecx
cmp ecx, eax
jl 0x598955
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 0x598827
cmp byte [esi + 0x16d], 0
je 0x598a38
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push dword [esi + 0xb0]
call fcn.00596d60
lea ecx, [esi + 0x424]
xor edi, edi
call fcn.005f46c0
test eax, eax
jle 0x598a80
nop dword [eax]
push edi
lea ecx, [esi + 0x424]
call fcn.0059e9a0
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.005f46c0
cmp edi, eax
jl 0x598a50
push dword [ebp - 0x1b4]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x16d], 0
je 0x598e76
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.0059f230
test al, al
jne 0x598d42
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.0059f230
test al, al
jne 0x598de2
cmp dword [esi + 0xc0], 0
jne 0x598b9a
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.005b0a90
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.005fd390
add esp, 0x1c
push dword [esi + 0xc0]
push dword [esi + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x598bc5
cmp byte [esi + 0x180], 0
je 0x598c12
imul edi, dword [ebp - 0x19c]
shl edi, 2
push edi
push 0
push dword [esi + 0xc4]
call fcn.005fd390
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.005b5270
push 0
lea eax, [esi + 0x194]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push esi
push dword [esi + 0xb4]
call fcn.005b3cc0
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.005b0790
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 0x598de2
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 0x598d17
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 0x598c50
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 0x598c48
jmp 0x598de2
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 0x598de2
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 0x598dbd
lea edx, [eax + ecx]
shl edx, 2
nop dword [eax]
mov eax, dword [esi + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x598da9
cmp byte [eax + edx], 0
jne 0x598da1
cmp byte [eax + edx + 1], 0
jne 0x598da1
cmp byte [eax + edx + 2], 0
je 0x598da9
mov byte [eax + edx + 3], 0xff
mov edi, dword [ebp - 0x28]
inc ecx
add edx, 4
cmp ecx, edi
jl 0x598d80
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 0x598d72
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 [0x6d0c78]
jmp 0x598ea3
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 0x598f9e
cmp byte [esi + 0x16d], 0
jne 0x598f9e
push dword [0x6d0c7c]
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 0x598f9e
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.005f46c0
xor edi, edi
mov dword [ebp - 0x194], eax
test eax, eax
jle 0x598f8c
push edi
lea ecx, [esi + 0x424]
call fcn.0059e9a0
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 0x598f63
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.0059d290
cmp byte [esi + 0x169], 0
mov byte [esi + 0x180], 0
je 0x598fd1
mov ecx, esi
call fcn.00597d30
cmp byte [ebp - 0x19d], 0
je 0x59811d
push 1
push 0
push 0
push str.windowsize
push dword [esi + 0x104]
mov ecx, esi
call fcn.0059c700
mov al, 1
jmp 0x59a94e
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 0x59905a
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 0x59906d
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x128]
test ecx, ecx
jle 0x59907a
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x12c]
test ecx, ecx
jle 0x599087
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x130]
test ecx, ecx
jle 0x599094
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x12c]
test ecx, ecx
jle 0x5990a1
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x130]
test ecx, ecx
jle case.0x599611.276
mov dword [eax + 0xc], ecx
jmp case.0x599611.276
mov eax, dword [esi + 0x108]
test eax, eax
je 0x59910e
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 0x59811d
call fcn.005a29a0
mov al, 1
jmp 0x59a94e
cmp dword [esi + 0x104], 0
je case.0x599611.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.0x599611.276
mov ecx, esi
call fcn.0059bbf0
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.0x599611.276
cmp dword [esi + 0x104], 0
je case.0x599611.276
mov eax, dword [esi + 0x108]
test eax, eax
je case.0x599611.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.00597f10
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.0x599611.276
cmp dword [esi + 0x104], 0
je case.0x599611.276
mov eax, dword [esi + 0x108]
test eax, eax
je case.0x599611.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.00597f10
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.0x599611.276
cmp dword [esi + 0x104], 0
je case.0x599611.276
mov eax, dword [esi + 0x114]
test eax, eax
je case.0x599611.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.00597f10
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.0x599611.276
cmp dword [esi + 0x104], 0
je case.0x599611.276
cmp di, 1
jne case.0x599611.276
cmp byte [esi + 0x3e1], 0
jne 0x59811d
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.00596e80
mov esi, eax
test esi, esi
je case.0x599611.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.0x599611.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.00597f10
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 0x59a94e
mov ecx, dword [esi + 0x108]
test ecx, ecx
je case.0x599611.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.0x599611.276
mov ecx, esi
call fcn.00597da0
test al, al
je case.0x599611.276
mov ecx, esi
call fcn.0059bbf0
jmp case.0x599611.276
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je case.0x599611.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 0x59a94e
cmp edx, 0x2a1
ja 0x59a5fd
je 0x59a3c5
lea eax, [edx - 0x113]
cmp eax, 0xf7
ja case.0x599611.276
movzx eax, byte [eax + 0x59aad4]
jmp dword [eax*4 + 0x59aaa4]
mov eax, 0xf1
cmp ax, word [ebp - 0x190]
jne 0x599649
lea eax, [esi + 0x6a0]
mov ecx, esi
push eax
call fcn.00597cd0
cmp byte [esi + 0x6b0], 0
sete al
mov byte [esi + 0x6b0], al
jmp case.0x599611.276
lea ecx, [esi + 0x3f4]
mov dword [ebp - 0x1a8], 0
call fcn.005f46c0
test eax, eax
jle case.0x599611.276
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [esi + 0x3f4]
call fcn.0059e9a0
mov edx, eax
mov dword [ebp - 0x194], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 0xa8]
jne 0x5996a3
mov eax, dword [ebp - 0x190]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x5996a3
cmp byte [edx + 0x10], 0
je 0x5996c3
inc dword [ebp - 0x1a8]
lea ecx, [esi + 0x3f4]
call fcn.005f46c0
mov ecx, dword [ebp - 0x1a8]
cmp ecx, eax
jl 0x599670
jmp case.0x599611.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.00597f10
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.0x599611.276
cmp byte [esi + 0x3e0], 0
jne 0x5997b1
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 0x59978d
mov eax, dword [esi + 0xfc]
jmp 0x59979d
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 0x5997f0
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.00596e80
mov ecx, eax
test ecx, ecx
je 0x59981a
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp eax, esi
jne case.0x599611.276
cmp byte [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x190]
je 0x599abf
cmp byte [esi + 0x698], 0
je 0x599abf
cmp eax, 1
jne 0x599abf
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.0045b09b
mov edi, eax
add esp, 4
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.0x599611.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.0045b09b
add esp, 4
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x5998a7
push edi
mov ecx, eax
call fcn.005ae1b0
mov ecx, eax
mov dword [ebp - 0x19c], eax
jmp 0x5998af
xor ecx, ecx
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je case.0x599611.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.00595450
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.00597c60
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 0x599a91
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 0xc
push edi
call fcn.0045b0d3
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.00595aa0
jmp case.0x599611.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.00597f10
push dword [ebp - 0x194]
mov ecx, esi
mov word [ebp - 0x112], ax
push dword [ebp - 0x1a4]
call fcn.00596e80
mov edi, eax
mov dword [ebp - 0x194], edi
test edi, edi
je 0x599b51
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599611.276
mov eax, dword [esi + 0x10c]
cmp edi, eax
je 0x599c5a
test eax, eax
je 0x599c5a
lea ecx, [esi + 0x478]
mov dword [ebp - 0x128], 0xa
mov dword [ebp - 0x124], eax
call fcn.005f46c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0059e7c0
lea ecx, [esi + 0x478]
mov dword [ebp - 4], 5
call fcn.005f46c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0059f610
lea ecx, [esi + 0x478]
call fcn.005f46c0
shl eax, 2
lea ecx, [esi + 0x478]
push eax
call fcn.0061e850
push eax
lea ecx, [ebp - 0x2c]
call fcn.0061e850
push eax
call fcn.005fce10
add esp, 0xc
lea ecx, [ebp - 0x2c]
xor edi, edi
call fcn.005f46c0
test eax, eax
jle 0x599c07
push edi
lea ecx, [ebp - 0x2c]
call fcn.0059e9a0
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.005f46c0
cmp edi, eax
jl 0x599be0
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 0x599c45
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.0059e880
mov edi, dword [ebp - 0x194]
cmp edi, dword [esi + 0x10c]
je 0x599c8d
test edi, edi
je 0x599c8d
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 0x599cbb
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.0x599611.276
test edi, edi
je case.0x599611.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.0x599611.276
cmp byte [esi + 0x100], 0
jne 0x599cfe
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x104], 0
je case.0x599611.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.00596e80
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599611.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599611.276
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x599daf
mov eax, dword [esi + 0x69c]
mov byte [esi + 0x698], 1
test eax, eax
je 0x599d89
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.005b4f10
add esp, 0x1c
mov dword [esi + 0x69c], eax
mov ecx, esi
call fcn.0059c7e0
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.0x599611.276
cmp byte [esi + 0x100], 0
jne 0x599e64
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.00596e80
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599611.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599611.276
mov ecx, esi
call fcn.0059c7e0
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.0x599611.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.0x599611.276
mov ecx, esi
call fcn.0059bbf0
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.0x599611.276
cmp byte [esi + 0x100], 0
jne 0x59a032
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.00596e80
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599611.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599611.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x11c]
mov ecx, esi
call fcn.0059c7e0
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 0x599ee6
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.00596e80
mov dword [esi + 0x110], eax
test eax, eax
je case.0x599611.276
mov ecx, esi
call fcn.0059bbf0
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.0x599611.276
cmp byte [esi + 0x100], 0
jne 0x59a1aa
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.00596e80
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599611.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599611.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x11c]
mov ecx, esi
call fcn.0059c7e0
mov dword [ebp - 0x128], 0x11
jmp 0x59a09c
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.00596e80
mov dword [esi + 0x110], eax
test eax, eax
je case.0x599611.276
mov ecx, esi
call fcn.0059bbf0
mov dword [ebp - 0x128], 0x12
jmp 0x59a110
cmp dword [esi + 0x104], 0
je case.0x599611.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.00596e80
mov edi, eax
mov dword [ebp - 0x194], edi
test edi, edi
je case.0x599611.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x599611.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.00597f10
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.0x599611.276
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je case.0x599611.276
push ecx
push dword [ebp - 0x190]
lea eax, [edx + 0x2000]
push eax
push ecx
jmp 0x598160
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.00596e80
mov edi, eax
mov dword [ebp - 0x1bc], edi
test edi, edi
je case.0x599611.276
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x59a49b
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.00597f10
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.0059f230
test al, al
jne 0x59a5eb
push 0x30
lea eax, [esi + 0xcc]
push 0
push eax
call fcn.005fd390
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 [0x6d0c80]
mov dword [esi + 0xec], eax
call fcn.0061e850
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 0x59a5ae
push 0
push dword [0x6d0c80]
push 0
push dword [esi + 0xa8]
push accept
push accept
push accept
push accept
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 0x59a5eb
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.0059e860
mov al, 1
jmp 0x59a94e
sub edx, 0x2a3
je 0x59a841
sub edx, 0x75
je 0x59a74f
sub edx, 0x7ce9
jne case.0x599611.276
lea eax, [esi + 0x448]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x194], eax
call fcn.005f46c0
test eax, eax
jle 0x59a666
mov esi, dword [ebp - 0x194]
nop dword [eax]
push edi
mov ecx, esi
call fcn.0059e9a0
test eax, eax
je 0x59a654
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call fcn.005f46c0
cmp edi, eax
jl 0x59a640
mov esi, dword [ebp - 0x1a4]
lea ecx, [esi + 0x448]
call fcn.0059ed30
lea eax, [esi + 0x454]
mov byte [esi + 0x3e4], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1a4], eax
call fcn.0059ef30
mov edi, eax
test edi, edi
je case.0x599611.276
lea eax, [esi + 0x3e8]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a4]
push 0
call fcn.0059f380
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x59a6d5
add ecx, 0x38
call fcn.005adef0
test al, al
je 0x59a6d5
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.005adf10
mov ecx, dword [ebp - 0x1a8]
xor esi, esi
call fcn.005f46c0
test eax, eax
jle 0x59a713
nop word [eax + eax]
mov ecx, dword [ebp - 0x1a8]
push esi
call fcn.0059e9a0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1a8]
inc esi
call fcn.005f46c0
cmp esi, eax
jl 0x59a6f0
lea ecx, [edi + 0x84]
call fcn.0059e860
mov ecx, edi
call fcn.0059e860
push 0x120
push edi
call fcn.0045b0d3
mov ecx, dword [ebp - 0x1a4]
add esp, 8
push 0
call fcn.0059ef30
mov edi, eax
test edi, edi
jne 0x59a6a3
jmp case.0x599611.276
cmp dword [esi + 0x104], 0
je case.0x599611.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 0x59a82f
push 5
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1a8], eax
test eax, eax
je 0x59a82f
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 0x59a7c4
push dword [ebp - 0x194]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x599611.276
mov ecx, dword [esi + 0xc8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x59a862
lea eax, [esi + 0xcc]
push eax
push 0
push 0x411
push ecx
call edi
cmp byte [esi + 0x3e0], 0
je 0x59a945
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 0x59a934
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0xa8]
jne 0x59a934
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 0x59a934
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 0x59a934
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 0x59a936
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.0045b08a
mov esp, ebp
pop ebp
ret 0x10