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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e7659
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0x1011b3bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x258], ecx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0xa8], 0
jne 0x100374a7
xor al, al
jmp 0x1003b88c
mov dword [ebp - 0x334], 0
jmp 0x100374c2
mov ecx, dword [ebp - 0x334]
add ecx, 1
mov dword [ebp - 0x334], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4a4
call fcn.1002be20
cmp dword [ebp - 0x334], eax
jge 0x1003763a
mov byte [ebp - 0x26d], 0
mov edx, dword [ebp - 0x334]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4a4
call fcn.1002b540
mov dword [ebp - 0x3b8], eax
lea eax, [ebp - 0x26d]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3b8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3b8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x680], eax
movzx ecx, byte [ebp - 0x26d]
test ecx, ecx
je 0x10037635
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x680]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2dc], ecx
cmp dword [ebp - 0x2dc], 0x203
ja 0x10037578
cmp dword [ebp - 0x2dc], 0x200
jae 0x10037589
cmp dword [ebp - 0x2dc], 0x7b
je 0x100375d0
jmp 0x1003762e
cmp dword [ebp - 0x2dc], 0x20a
je 0x100375d0
jmp 0x1003762e
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x67c], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x678], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x67c]
mov dword [eax + 0x11c], ecx
mov edx, dword [ebp - 0x678]
mov dword [eax + 0x120], edx
jmp 0x1003762e
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x43c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x438], eax
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x43c]
mov dword [ecx + 0x11c], edx
mov eax, dword [ebp - 0x438]
mov dword [ecx + 0x120], eax
mov al, 1
jmp 0x1003b88c
jmp 0x100374b3
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x16d]
test edx, edx
je 0x100376d5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0x83
je 0x100376c5
cmp dword [ebp - 0x34c], 0x85
je 0x100376c5
cmp dword [ebp - 0x34c], 0x86
je 0x1003767e
jmp 0x100376d5
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100376c3
cmp dword [ebp + 0xc], 0
jne 0x100376a7
mov dword [ebp - 0x410], 1
jmp 0x100376b1
mov dword [ebp - 0x410], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x410]
mov dword [eax], ecx
mov al, 1
jmp 0x1003b88c
jmp 0x100376d5
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov al, 1
jmp 0x1003b88c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0x111
ja 0x1003772d
cmp dword [ebp - 0x268], 0x111
je 0x1003b807
mov ecx, dword [ebp - 0x268]
sub ecx, 5
mov dword [ebp - 0x268], ecx
cmp dword [ebp - 0x268], 0xfd
ja case.0x10037778.1
mov edx, dword [ebp - 0x268]
movzx eax, byte [edx + 0x1003b8e0]
jmp dword [eax*4 + 0x1003b8a8]
cmp dword [ebp - 0x268], 0x2a1
ja 0x1003777f
cmp dword [ebp - 0x268], 0x2a1
je 0x100395a0
mov ecx, dword [ebp - 0x268]
sub ecx, 0x113
mov dword [ebp - 0x268], ecx
cmp dword [ebp - 0x268], 0xf7
ja case.0x10037778.1
mov edx, dword [ebp - 0x268]
movzx eax, byte [edx + 0x1003ba10]
jmp dword [eax*4 + 0x1003b9e0]
cmp dword [ebp - 0x268], 0x2a3
je 0x10039922
cmp dword [ebp - 0x268], 0x318
je 0x10039082
cmp dword [ebp - 0x268], 0x8001
je 0x100377b0
jmp case.0x10037778.1
mov dword [ebp - 0x2e0], 0
jmp 0x100377cb
mov ecx, dword [ebp - 0x2e0]
add ecx, 1
mov dword [ebp - 0x2e0], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4d4
call fcn.1002be20
cmp dword [ebp - 0x2e0], eax
jge 0x10037842
mov edx, dword [ebp - 0x2e0]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4d4
call fcn.1002b540
mov dword [ebp - 0x6b4], eax
mov eax, dword [ebp - 0x6b4]
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x388], 0
je 0x10037833
push 1
mov ecx, dword [ebp - 0x388]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x388]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x684], eax
jmp 0x1003783d
mov dword [ebp - 0x684], 0
jmp 0x100377bc
mov ecx, dword [ebp - 0x258]
add ecx, 0x4d4
call fcn.1002ba30
mov ecx, dword [ebp - 0x258]
mov byte [ecx + 0x470], 0
mov dword [ebp - 0x288], 0
push 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x4e0
call fcn.1002bd10
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
je 0x100379d9
push 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x4e0
call fcn.1002c430
mov edx, dword [ebp - 0x288]
cmp dword [edx + 0x108], 0
je 0x100378e8
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 0x108]
add ecx, 0x38
call fcn.1006a580
movzx ecx, al
test ecx, ecx
je 0x100378e8
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 0x108]
add ecx, 0x38
call fcn.1006a5d0
mov dword [ebp - 0x2e4], 0
jmp 0x10037903
mov ecx, dword [ebp - 0x2e4]
add ecx, 1
mov dword [ebp - 0x2e4], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x474
call fcn.1002be20
cmp dword [ebp - 0x2e4], eax
jge 0x10037955
mov edx, dword [ebp - 0x2e4]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x474
call fcn.1002b540
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x3b4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3b4]
mov eax, dword [edx]
call eax
jmp 0x100378f4
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x694], ecx
mov edx, dword [ebp - 0x694]
mov dword [ebp - 0x2b4], edx
cmp dword [ebp - 0x2b4], 0
je 0x100379ca
mov eax, dword [ebp - 0x71c]
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x2b4]
add ecx, 0x84
call fcn.1002b330
mov ecx, dword [ebp - 0x2b4]
call fcn.1002b330
mov ecx, 1
and ecx, 1
je 0x100379bc
push 0x120
mov edx, dword [ebp - 0x2b4]
push edx
call fcn.100be7db
add esp, 8
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x414], eax
jmp 0x100379d4
mov dword [ebp - 0x414], 0
jmp 0x1003786a
jmp case.0x10037778.1
xor ecx, ecx
mov dword [ebp - 0x4d4], ecx
mov dword [ebp - 0x4d0], ecx
mov dword [ebp - 0x4cc], ecx
mov dword [ebp - 0x4c8], ecx
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4c0], ecx
mov dword [ebp - 0x4bc], ecx
mov dword [ebp - 0x4b8], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x11c]
mov ecx, dword [edx + 0x120]
mov dword [ebp - 0x4c8], eax
mov dword [ebp - 0x4c4], ecx
call fcn.100373d0
mov word [ebp - 0x4be], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4cc], eax
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x10c], 0
je 0x10037a9a
mov dword [ebp - 0x4d4], 0xa
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x10c]
mov dword [ebp - 0x4d0], ecx
lea edx, [ebp - 0x4d4]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x10c]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10c]
mov edx, dword [eax + 0x13c]
call edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x110], 0
je 0x10037aee
mov dword [ebp - 0x4d4], 0xe
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x4d0], edx
lea eax, [ebp - 0x4d4]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov eax, dword [ebp - 0x258]
mov edx, dword [edx]
mov ecx, dword [eax + 0x110]
mov eax, dword [edx + 0x13c]
call eax
push 0
mov ecx, dword [ebp - 0x258]
call fcn.1003e480
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0xa8]
jne 0x10037b40
push 4
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x10037b40
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xc8], 0
je 0x10037b72
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xc8]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xc8], 0
jmp case.0x10037778.1
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov al, 1
jmp 0x1003b88c
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
jne 0x10037c05
push 0x40
push 0
lea edx, [ebp - 0x170]
push edx
call fcn.100c1710
add esp, 0xc
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
call fcn.10040650
add esp, 0xc
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x1003b88c
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
jne 0x10037c5c
mov al, 1
jmp 0x1003b88c
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x16a]
test eax, eax
je 0x10037c7a
push 1
mov ecx, dword [ebp - 0x258]
call fcn.1003ea00
push 1
mov ecx, dword [ebp - 0x258]
call fcn.1003ec30
mov byte [ebp - 0x261], 0
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30c], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x400], edx
push 1
mov ecx, dword [ebp - 0x258]
call fcn.1003ec30
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x169]
test ecx, ecx
je 0x100380a0
mov edx, dword [ebp - 0x258]
mov byte [edx + 0x169], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1003809b
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1003809b
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x104]
call fcn.1002e920
movzx ecx, al
test ecx, ecx
je 0x10037ea0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0xb0], 0
je 0x10037d58
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb0]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0xb4], 0
je 0x10037d7a
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb4]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0xb8], 0
je 0x10037d9c
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0xc0], 0
je 0x10037dbe
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc0]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x258]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0xb4], 0
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xb8], 0
mov eax, dword [ebp - 0x258]
mov dword [eax + 0xc0], 0
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x16d]
test edx, edx
je 0x10037e57
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x60]
add ecx, dword [eax + 0x170]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0x174]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x58]
sub edx, dword [ecx + 0x178]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x54]
sub ecx, dword [eax + 0x17c]
mov dword [ebp - 0x54], ecx
push 1
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x60]
mov dword [edx], eax
mov ecx, dword [ebp - 0x5c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x58]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x54]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x104]
mov ecx, dword [ebp - 0x258]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x104]
mov eax, dword [edx + 0x54]
call eax
mov byte [ebp - 0x261], 1
jmp 0x10037ff7
mov dword [ebp - 0x278], 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x4ec
call fcn.1002ba30
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x1003f830
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x104]
mov eax, dword [ebp - 0x258]
mov edx, dword [edx]
mov ecx, dword [eax + 0x104]
mov eax, dword [edx + 0x130]
call eax
mov dword [ebp - 0x2e8], 0
jmp 0x10037f04
mov ecx, dword [ebp - 0x2e8]
add ecx, 1
mov dword [ebp - 0x2e8], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4ec
call fcn.1002be20
cmp dword [ebp - 0x2e8], eax
jge 0x10037ff0
mov edx, dword [ebp - 0x2e8]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4ec
call fcn.1002b540
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x278]
mov eax, dword [edx + 0x128]
call eax
movzx ecx, al
test ecx, ecx
jne 0x10037fa1
push 1
mov edx, dword [ebp - 0x278]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x278]
mov edx, dword [eax + 0x50]
call edx
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x278]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x278]
mov eax, dword [edx + 0x54]
call eax
jmp 0x10037feb
push 1
lea ecx, [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x278]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x278]
mov edx, dword [eax + 0x48]
call edx
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x278]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x278]
mov eax, dword [edx + 0x54]
call eax
jmp 0x10037ef5
mov byte [ebp - 0x261], 1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x168]
test edx, edx
je 0x1003809b
mov eax, dword [ebp - 0x258]
mov byte [eax + 0x168], 0
push 0
push 0
push 0
push str.windowinit
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x104]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.1003dee0
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x1003807d
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x180]
test eax, eax
je 0x1003807d
mov ecx, dword [ebp - 0x258]
call fcn.10037130
push 0
mov ecx, dword [ebp - 0x258]
call fcn.1003ec30
mov al, 1
jmp 0x1003b88c
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x654
call fcn.100761c0
jmp 0x100381a0
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x100381a0
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x180]
test eax, eax
je 0x100381a0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xbc], 0
je 0x1003811b
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x4c]
imul eax, ecx
shl eax, 2
push eax
push 0
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xbc]
push eax
call fcn.100c1710
add esp, 0xc
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x50]
add edx, dword [ecx + 0x170]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x4c]
add ecx, dword [eax + 0x174]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x48]
sub eax, dword [edx + 0x178]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x44]
sub edx, dword [ecx + 0x17c]
mov dword [ebp - 0x44], edx
push 1
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x104]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x104]
mov edx, dword [eax + 0x54]
call edx
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x10038269
push 0xffffffffffffffec
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
or ecx, 0x80000
mov dword [ebp - 0x418], ecx
mov edx, dword [ebp - 0x41c]
cmp edx, dword [ebp - 0x418]
je 0x1003820c
mov eax, dword [ebp - 0x418]
push eax
push 0xffffffffffffffec
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x258]
mov byte [eax + 0x16b], 1
mov ecx, dword [ebp - 0x258]
add ecx, 0x184
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x28]
jle 0x10038242
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jle 0x10038250
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
push 0x10
push 0
mov edx, dword [ebp - 0x258]
add edx, 0x184
push edx
call fcn.100c1710
add esp, 0xc
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16b]
test ecx, ecx
je 0x100382e3
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xb8], 0
jne 0x100382e3
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xb0], eax
mov eax, dword [ebp - 0x258]
add eax, 0xbc
push eax
mov ecx, dword [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x30c]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
call fcn.10040570
add esp, 0x10
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xb8], eax
push 0x40
push 0
lea eax, [ebp - 0x1c0]
push eax
call fcn.100c1710
add esp, 0xc
lea ecx, [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x16b]
test edx, edx
je 0x10038f1a
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xb8]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xb0]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x6a4], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb0]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x688], eax
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x10038402
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x2ec], edx
jmp 0x10038396
mov eax, dword [ebp - 0x2ec]
add eax, 1
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x2ec], ecx
jge 0x10038402
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2f0], edx
jmp 0x100383be
mov eax, dword [ebp - 0x2f0]
add eax, 1
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f0]
cmp ecx, dword [ebp - 0x18]
jge 0x10038400
mov edx, dword [ebp - 0x2ec]
imul edx, dword [ebp - 0x30c]
add edx, dword [ebp - 0x2f0]
shl edx, 2
mov dword [ebp - 0x690], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x690]
mov dword [ecx + edx], 0
jmp 0x100383af
jmp 0x10038387
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb0]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x104]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x104]
mov edx, dword [eax + 0x14c]
call edx
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x1003873e
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x4bc
call fcn.1002be20
cmp dword [ebp - 0x2a0], eax
jge 0x1003873e
mov edx, dword [ebp - 0x2a0]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4bc
call fcn.1002b540
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100384d4
mov ecx, dword [ebp - 0x2a0]
push ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4bc
call fcn.1002c430
mov edx, dword [ebp - 0x2a0]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4c8
call fcn.1002c430
jmp 0x10038456
mov eax, dword [ebp - 0x2a0]
add eax, 1
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2f4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100384f9
jmp 0x10038456
mov edx, dword [ebp - 0x2f4]
push edx
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.10036b80
xor ecx, ecx
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], ecx
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x1003854d
jmp 0x10038456
mov dword [ebp - 0x340], 0
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xb0]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x340]
push ecx
mov edx, dword [ebp - 0x248]
sub edx, dword [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x24c]
sub eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
call fcn.10040570
add esp, 0x10
mov dword [ebp - 0x40c], eax
mov edx, dword [ebp - 0x24c]
sub edx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x248]
sub eax, dword [ebp - 0x250]
imul edx, eax
shl edx, 2
push edx
push 0
mov ecx, dword [ebp - 0x340]
push ecx
call fcn.100c1710
add esp, 0xc
mov edx, dword [ebp - 0x40c]
push edx
mov eax, dword [ebp - 0x2a4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x68c], eax
push 0x35
mov ecx, dword [ebp - 0x2a4]
push ecx
push 0x317
mov edx, dword [ebp - 0x2f4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2f8], 0
jmp 0x10038626
mov eax, dword [ebp - 0x2f8]
add eax, 1
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x248]
sub ecx, dword [ebp - 0x250]
cmp dword [ebp - 0x2f8], ecx
jge 0x100386c0
mov dword [ebp - 0x2fc], 0
jmp 0x10038659
mov edx, dword [ebp - 0x2fc]
add edx, 1
mov dword [ebp - 0x2fc], edx
mov eax, dword [ebp - 0x24c]
sub eax, dword [ebp - 0x254]
cmp dword [ebp - 0x2fc], eax
jge 0x100386bb
mov ecx, dword [ebp - 0x24c]
sub ecx, dword [ebp - 0x254]
imul ecx, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x340]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x2fc]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x344], edx
mov eax, dword [ebp - 0x344]
cmp dword [eax], 0
je 0x100386b9
mov ecx, dword [ebp - 0x344]
mov edx, dword [ecx]
or edx, 0xff000000
mov eax, dword [ebp - 0x344]
mov dword [eax], edx
jmp 0x1003864a
jmp 0x10038617
push 0xcc0020
push 0
push 0
mov ecx, dword [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x248]
sub edx, dword [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x24c]
sub eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x68c]
push edx
mov eax, dword [ebp - 0x2a4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x2a4]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x10038456
mov dword [ebp - 0x300], 0
jmp 0x10038759
mov eax, dword [ebp - 0x300]
add eax, 1
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x4b0
call fcn.1002be20
cmp dword [ebp - 0x300], eax
jge 0x100387b9
mov ecx, dword [ebp - 0x300]
push ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4b0
call fcn.1002b540
mov dword [ebp - 0x408], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xb0]
push ecx
mov edx, dword [ebp - 0x408]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x408]
mov edx, dword [eax + 0x170]
call edx
jmp 0x1003874a
mov eax, dword [ebp - 0x688]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb0]
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x10038e19
xor edx, edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x258]
add ecx, 0x194
call fcn.1002c200
movzx eax, al
test eax, eax
jne 0x10038c65
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x348], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x40]
add edx, dword [ecx + 0x170]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax + 0x174]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x38]
sub eax, dword [edx + 0x178]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x34]
sub edx, dword [ecx + 0x17c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xbc]
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xc4]
mov dword [ebp - 0x404], eax
mov byte [ebp - 0x259], 0
mov byte [ebp - 0x270], 0
mov byte [ebp - 0x26f], 0
mov byte [ebp - 0x26e], 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x194
call fcn.1002c200
movzx ecx, al
test ecx, ecx
jne 0x10038c60
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xc0], 0
jne 0x10038a3b
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xb4], eax
mov eax, dword [ebp - 0x258]
add eax, 0xc4
push eax
mov ecx, dword [ebp - 0x348]
push ecx
mov edx, dword [ebp - 0x2bc]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
call fcn.10040570
add esp, 0x10
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xc0], eax
mov eax, dword [ebp - 0x2bc]
imul eax, dword [ebp - 0x348]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc4]
push edx
call fcn.100c1710
add esp, 0xc
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xc0]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xb4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
push ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xb4]
push eax
call fcn.10048100
add esp, 0x18
push 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x194
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xb4]
push eax
call fcn.10045bf0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.1003fbe0
jmp 0x10038afb
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x180]
test edx, edx
je 0x10038afb
mov eax, dword [ebp - 0x2bc]
imul eax, dword [ebp - 0x348]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc4]
push edx
call fcn.100c1710
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x114]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x40]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x38]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb4]
push edx
call fcn.10048100
add esp, 0x18
push 0
mov eax, dword [ebp - 0x258]
add eax, 0x194
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb4]
push edx
call fcn.10045bf0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.1003fbe0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x2b8], eax
jmp 0x10038b18
mov ecx, dword [ebp - 0x2b8]
add ecx, 1
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x2b8], edx
jge 0x10038c60
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c0], eax
jmp 0x10038b44
mov ecx, dword [ebp - 0x2c0]
add ecx, 1
mov dword [ebp - 0x2c0], ecx
mov edx, dword [ebp - 0x2c0]
cmp edx, dword [ebp - 0x18]
jge 0x10038c5b
mov eax, dword [ebp - 0x2b8]
imul eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xbc]
add edx, eax
add edx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], edx
mov eax, dword [ebp - 0x2b8]
imul eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc4]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x2c0]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x404], edx
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax]
shr ecx, 0x18
mov byte [ebp - 0x259], cl
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx]
shr eax, 0x10
movzx eax, al
movzx ecx, byte [ebp - 0x259]
imul eax, ecx
cdq
mov ecx, 0xff
idiv ecx
mov byte [ebp - 0x270], al
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx]
shr eax, 8
movzx eax, al
movzx ecx, byte [ebp - 0x259]
imul eax, ecx
cdq
mov ecx, 0xff
idiv ecx
mov byte [ebp - 0x26f], al
mov edx, dword [ebp - 0x2c4]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x259]
imul eax, ecx
cdq
mov ecx, 0xff
idiv ecx
mov byte [ebp - 0x26e], al
movzx edx, byte [ebp - 0x26e]
movzx eax, byte [ebp - 0x26f]
shl eax, 8
or edx, eax
movzx ecx, byte [ebp - 0x270]
shl ecx, 0x10
or edx, ecx
movzx eax, byte [ebp - 0x259]
shl eax, 0x18
add edx, eax
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx], edx
jmp 0x10038b35
jmp 0x10038b09
jmp 0x10038d65
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x304], edx
jmp 0x10038c82
mov eax, dword [ebp - 0x304]
add eax, 1
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x304], ecx
jge 0x10038d65
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x308], edx
jmp 0x10038cae
mov eax, dword [ebp - 0x308]
add eax, 1
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
cmp ecx, dword [ebp - 0x18]
jge 0x10038d60
mov edx, dword [ebp - 0x304]
imul edx, dword [ebp - 0x30c]
add edx, dword [ebp - 0x308]
shl edx, 2
mov dword [ebp - 0x2c8], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x2c8]
movzx eax, byte [ecx + edx + 3]
test eax, eax
jne 0x10038d5b
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xbc]
mov eax, dword [ebp - 0x2c8]
movzx ecx, byte [edx + eax]
test ecx, ecx
jne 0x10038d44
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xbc]
mov ecx, dword [ebp - 0x2c8]
movzx edx, byte [eax + ecx + 1]
test edx, edx
jne 0x10038d44
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x2c8]
movzx eax, byte [ecx + edx + 2]
test eax, eax
je 0x10038d5b
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xbc]
mov eax, dword [ebp - 0x2c8]
mov byte [edx + eax + 3], 0xff
jmp 0x10038c9f
jmp 0x10038c73
mov byte [ebp - 0x310], 0
mov byte [ebp - 0x30f], 0
mov ecx, dword [ebp - 0x258]
mov dl, byte [ecx + 0x16c]
mov byte [ebp - 0x30e], dl
mov byte [ebp - 0x30d], 1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x708], ecx
mov edx, dword [ebp - 0x30c]
mov dword [ebp - 0x6e4], edx
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x6e0], eax
mov dword [ebp - 0x714], 0
mov dword [ebp - 0x710], 0
push 2
lea ecx, [ebp - 0x310]
push ecx
push 0
lea edx, [ebp - 0x714]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xb0]
push ecx
lea edx, [ebp - 0x6e4]
push edx
lea eax, [ebp - 0x70c]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [0x1011ec18]
jmp 0x10038e5c
push 0xcc0020
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb0]
push edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x6a4]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb0]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x101]
test ecx, ecx
je 0x10038f15
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x16d]
test eax, eax
jne 0x10038f15
mov ecx, dword [0x1011ec1c]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x674], eax
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [ebp - 0x674]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x10038ffd
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x670], eax
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x104]
mov ecx, dword [ebp - 0x258]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x104]
mov eax, dword [edx + 0x14c]
call eax
mov dword [ebp - 0x314], 0
jmp 0x10038f83
mov ecx, dword [ebp - 0x314]
add ecx, 1
mov dword [ebp - 0x314], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4b0
call fcn.1002be20
cmp dword [ebp - 0x314], eax
jge 0x10038fe3
mov edx, dword [ebp - 0x314]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4b0
call fcn.1002b540
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
mov eax, dword [ebp - 0x3fc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3fc]
mov eax, dword [edx + 0x170]
call eax
jmp 0x10038f74
mov ecx, dword [ebp - 0x670]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
lea ecx, [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, dword [ebp - 0x258]
call fcn.1003ec30
mov ecx, dword [ebp - 0x258]
mov byte [ecx + 0x180], 0
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x169]
test eax, eax
je 0x1003904d
mov ecx, dword [ebp - 0x258]
call fcn.10037130
movzx ecx, byte [ebp - 0x261]
test ecx, ecx
je 0x1003907b
push 1
push 0
push 0
push str.windowsize
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x104]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.1003dee0
mov al, 1
jmp 0x1003b88c
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
jne 0x10039096
jmp case.0x10037778.1
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x318], edx
mov eax, dword [ebp - 0x318]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x66c], eax
push 0
lea ecx, [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0x318]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x104]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x104]
mov edx, dword [eax + 0x14c]
call edx
mov eax, dword [ebp + 0x10]
and eax, 0x10
je 0x100391be
push 5
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
je 0x100391be
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x2cc]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
mov eax, dword [ebp - 0x6c]
neg eax
push eax
mov ecx, dword [ebp - 0x70]
neg ecx
push ecx
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [ebp + 0x10]
or eax, 2
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x317
mov edx, dword [ebp - 0x2cc]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
mov eax, dword [ebp - 0x2cc]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2cc], eax
jmp 0x10039125
mov ecx, dword [ebp - 0x66c]
push ecx
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x10037778.1
xor eax, eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xc8], 0x28
lea ecx, [ebp - 0xc8]
push ecx
push 1
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0xa4], 1
je 0x1003929a
mov edx, dword [ebp - 0x9c]
neg edx
push edx
mov eax, dword [ebp - 0xa0]
neg eax
push eax
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2a8], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x124], 0
jle 0x100392c7
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x124]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x128], 0
jle 0x100392eb
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x128]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x12c], 0
jle 0x1003930f
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x12c]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x130], 0
jle 0x10039333
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x130]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x12c], 0
jle 0x10039357
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x12c]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x130], 0
jle 0x1003937b
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x130]
mov dword [eax + 0xc], edx
jmp case.0x10037778.1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x108], 0
je 0x10039416
xor ecx, ecx
mov dword [ebp - 0x704], ecx
mov dword [ebp - 0x700], ecx
mov dword [ebp - 0x6fc], ecx
mov dword [ebp - 0x6f8], ecx
mov dword [ebp - 0x6f4], ecx
mov dword [ebp - 0x6f0], ecx
mov dword [ebp - 0x6ec], ecx
mov dword [ebp - 0x6e8], ecx
mov dword [ebp - 0x704], 0x19
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x108]
mov dword [ebp - 0x700], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6fc], eax
lea ecx, [ebp - 0x704]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 0x258]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0x13c]
call eax
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
je 0x10039436
mov edx, dword [ebp - 0x258]
mov ecx, dword [edx + 0x104]
call fcn.1002ea30
mov al, 1
jmp 0x1003b88c
mov dword [ebp - 0x31c], 0
jmp 0x10039458
mov eax, dword [ebp - 0x31c]
add eax, 1
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x480
call fcn.1002be20
cmp dword [ebp - 0x31c], eax
jge 0x1003959b
mov ecx, dword [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x480
call fcn.1002b540
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x258]
mov ecx, dword [edx + 8]
cmp ecx, dword [eax + 0xa8]
jne 0x10039596
mov edx, dword [ebp + 0xc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x294]
cmp dword [ecx + 0xc], eax
jne 0x10039596
mov edx, dword [ebp - 0x294]
movzx eax, byte [edx + 0x10]
test eax, eax
jne 0x10039596
xor ecx, ecx
mov dword [ebp - 0x534], ecx
mov dword [ebp - 0x530], ecx
mov dword [ebp - 0x52c], ecx
mov dword [ebp - 0x528], ecx
mov dword [ebp - 0x524], ecx
mov dword [ebp - 0x520], ecx
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x518], ecx
mov dword [ebp - 0x534], 0x1b
mov edx, dword [ebp - 0x294]
mov eax, dword [edx]
mov dword [ebp - 0x530], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x11c]
mov eax, dword [ecx + 0x120]
mov dword [ebp - 0x528], edx
mov dword [ebp - 0x524], eax
call fcn.100373d0
mov word [ebp - 0x51e], ax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x51c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x518], eax
lea ecx, [ebp - 0x534]
push ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x294]
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x13c]
call eax
jmp 0x1003959b
jmp 0x10039449
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
mov byte [ecx + 0x46c], 0
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x3e4], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x3e0], edx
mov eax, dword [ebp - 0x3e0]
push eax
mov ecx, dword [ebp - 0x3e4]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
jne 0x10039601
jmp case.0x10037778.1
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x10c], 0
je 0x100396cd
xor eax, eax
mov dword [ebp - 0x514], eax
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x50c], eax
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x514], 0xc
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x10c]
mov dword [ebp - 0x510], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4f8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x50c], eax
mov edx, dword [ebp - 0x3e4]
mov dword [ebp - 0x508], edx
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x504], eax
call fcn.100373d0
mov word [ebp - 0x4fe], ax
lea ecx, [ebp - 0x514]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x10c]
mov ecx, dword [ebp - 0x258]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10c]
mov eax, dword [edx + 0x13c]
call eax
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x298]
mov edx, dword [eax + 0xbc]
call edx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.1002c200
movzx eax, al
test eax, eax
je 0x10039727
mov byte [ebp - 0x28d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.1002b330
mov al, byte [ebp - 0x28d]
jmp 0x1003b88c
push 0x30
push 0
mov ecx, dword [ebp - 0x258]
add ecx, 0xcc
push ecx
call fcn.100c1710
add esp, 0xc
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xcc], 0x30
mov eax, dword [ebp - 0x258]
mov dword [eax + 0xd0], 1
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
mov dword [ecx + 0xd4], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
mov dword [ecx + 0xd8], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [0x1011ec08]
mov dword [ecx + 0xec], edx
lea ecx, [ebp - 0x244]
call fcn.1002b560
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0xf0], eax
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x298]
mov edx, dword [eax + 0x50]
call edx
mov ecx, dword [ebp - 0x258]
add ecx, 0xdc
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0xc8], 0
jne 0x100398a4
push 0
mov edx, dword [0x1011ec08]
push edx
push 0
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
push Ordinal_1
push Ordinal_1
push Ordinal_1
push Ordinal_1
push SysStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xc8], eax
mov eax, dword [ebp - 0x258]
add eax, 0xcc
push eax
push 0
push 0x432
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x298]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x298]
mov eax, dword [edx + 0xc8]
call eax
push eax
push 0
push 0x418
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xc8]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10039909
mov edx, dword [ebp - 0x258]
add edx, 0xcc
push edx
push 0
push 0x436
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xc8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x258]
add edx, 0xcc
push edx
push 1
push 0x411
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xc8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.1002b330
mov al, 1
jmp 0x1003b88c
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xc8], 0
je 0x10039957
mov eax, dword [ebp - 0x258]
add eax, 0xcc
push eax
push 0
push 0x411
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x46c]
test ecx, ecx
je 0x10039ae8
xor edx, edx
mov dword [ebp - 0x330], edx
mov dword [ebp - 0x32c], edx
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x330]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x10039acc
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0xa8]
jne 0x10039acc
mov edx, dword [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x330]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10039acc
mov edx, dword [ebp - 0x330]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x32c]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x84
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x10039aae
lea edx, [ebp - 0x330]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x330]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x32c]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x200
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10039aca
push 0xffffffffffffffff
push 0
push 0x200
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10039ae8
push 0xffffffffffffffff
push 0
push 0x200
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x258]
mov byte [eax + 0x46c], 0
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x46c]
test edx, edx
jne 0x10039bba
xor eax, eax
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x4b4], 0x10
mov dword [ebp - 0x4b0], 3
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
mov dword [ebp - 0x4ac], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0xc8], 0
jne 0x10039b72
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xfc]
mov dword [ebp - 0x3f8], edx
jmp 0x10039b94
push 0
push 3
push 0x415
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xc8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x3f8], eax
mov edx, dword [ebp - 0x3f8]
mov dword [ebp - 0x4a8], edx
lea eax, [ebp - 0x4b4]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov ecx, dword [ebp - 0x258]
mov byte [ecx + 0x46c], 1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x2d4], edx
mov byte [ebp - 0x271], 1
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x11c]
cmp ecx, dword [ebp - 0x2d8]
jne 0x10039c17
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x120]
cmp eax, dword [ebp - 0x2d4]
jne 0x10039c17
mov byte [ebp - 0x271], 0
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x2d8]
mov dword [ecx + 0x11c], edx
mov eax, dword [ebp - 0x2d4]
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x2d8]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x10039c7d
mov eax, dword [ebp - 0x260]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x260]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 0x258]
je 0x10039c7d
jmp case.0x10037778.1
movzx ecx, byte [ebp - 0x271]
test ecx, ecx
je 0x1003a0d9
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x724]
test eax, eax
je 0x1003a0d9
cmp dword [ebp + 0xc], 1
jne 0x1003a0d9
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.100bee03
add esp, 4
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x10039cfb
mov ecx, dword [ebp - 0x2d0]
mov dword [ecx], vtable.DuiLib::CIDropSource.0
mov edx, dword [ebp - 0x2d0]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x2d0]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x3f4], ecx
jmp 0x10039d05
mov dword [ebp - 0x3f4], 0
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x668], edx
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
jne 0x10039d2d
xor al, al
jmp 0x1003b88c
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [edx + 4]
call ecx
push 0x24
call fcn.100bee03
add esp, 4
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x3f0], 0
je 0x10039d7b
mov edx, dword [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x3f0]
call fcn.10077ae0
mov dword [ebp - 0x3ec], eax
jmp 0x10039d85
mov dword [ebp - 0x3ec], 0
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x664], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x664]
mov dword [ebp - 0x27c], ecx
cmp dword [ebp - 0x27c], 0
jne 0x10039db4
xor al, al
jmp 0x1003b88c
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x27c]
push ecx
mov edx, dword [eax + 4]
call edx
xor eax, eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
xor ecx, ecx
mov dword [ebp - 0x3d4], ecx
mov dword [ebp - 0x3d0], ecx
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x428], 0xffffffff
mov edx, 2
mov word [ebp - 0x434], dx
mov dword [ebp - 0x424], 0x10
mov dword [ebp - 0x3d4], 0x10
push 0
movzx eax, word [ebp - 0x434]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x728]
push edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x3d0], eax
push 0
lea ecx, [ebp - 0x3d4]
push ecx
lea edx, [ebp - 0x434]
push edx
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ecx + 0x1c]
call eax
lea ecx, [ebp - 0x734]
push ecx
push 0x18
mov edx, dword [ebp - 0x324]
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x84], ecx
mov edx, 0xe
mov word [ebp - 0x434], dx
mov dword [ebp - 0x424], 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov dword [ebp - 0x3e8], eax
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x324]
push ecx
mov edx, dword [ebp - 0x320]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x660], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x88]
push edx
push 0
push 0
mov eax, dword [ebp - 0x3e8]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x660]
push ecx
mov edx, dword [ebp - 0x320]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x3e8]
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [ebp - 0x3d0], eax
mov ecx, dword [ebp - 0x320]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 0x3d4], 0x40
push 1
lea edx, [ebp - 0x3d4]
push edx
lea eax, [ebp - 0x434]
push eax
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
lea ecx, [ebp - 0x6bc]
call fcn.10033b40
mov dword [ebp - 4], 4
xor edx, edx
mov dword [ebp - 0x444], edx
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x730]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x72c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x440], eax
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x444]
push edx
mov eax, dword [ebp - 0x324]
push eax
lea ecx, [ebp - 0x6bc]
call fcn.10037010
lea ecx, [ebp - 0x65c]
push ecx
push 3
mov edx, dword [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.ole32.dll_DoDragDrop]
mov dword [ebp - 0x718], eax
cmp dword [ebp - 0x65c], 0
je 0x1003a072
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x1003a08f
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x658], edx
push 0xc
mov eax, dword [ebp - 0x658]
push eax
call fcn.100be7db
add esp, 8
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x258]
mov byte [edx + 0x724], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6bc]
call fcn.10034350
jmp case.0x10037778.1
xor eax, eax
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x394], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x3a4], ecx
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x3a0], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x394], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3a8], eax
call fcn.100373d0
mov word [ebp - 0x39a], ax
mov ecx, dword [ebp - 0x258]
call fcn.100371c0
movzx edx, al
test edx, edx
jne 0x1003a3b5
mov eax, dword [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x2d8]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x1003a1ab
mov edx, dword [ebp - 0x260]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x260]
mov edx, dword [eax + 0x1c]
call edx
cmp eax, dword [ebp - 0x258]
je 0x1003a1ab
jmp case.0x10037778.1
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [eax + 0x10c]
je 0x1003a353
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x10c], 0
je 0x1003a353
mov dword [ebp - 0x3b0], 0xa
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x10c]
mov dword [ebp - 0x3ac], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x504
call fcn.1002be20
push eax
lea ecx, [ebp - 0x6b0]
call fcn.1002b270
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x258]
add ecx, 0x504
call fcn.1002be20
push eax
lea ecx, [ebp - 0x6b0]
call fcn.1002c830
mov ecx, dword [ebp - 0x258]
add ecx, 0x504
call fcn.1002be20
shl eax, 2
push eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x504
call fcn.1002b560
push eax
lea ecx, [ebp - 0x6b0]
call fcn.1002b560
push eax
call fcn.100c0c10
add esp, 0xc
mov dword [ebp - 0x328], 0
jmp 0x1003a289
mov edx, dword [ebp - 0x328]
add edx, 1
mov dword [ebp - 0x328], edx
lea ecx, [ebp - 0x6b0]
call fcn.1002be20
cmp dword [ebp - 0x328], eax
jge 0x1003a2d3
mov eax, dword [ebp - 0x328]
push eax
lea ecx, [ebp - 0x6b0]
call fcn.1002b540
mov dword [ebp - 0x3bc], eax
lea ecx, [ebp - 0x3b0]
push ecx
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [eax + 0x13c]
call edx
jmp 0x1003a27a
lea eax, [ebp - 0x3b0]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x10c]
mov eax, dword [ebp - 0x258]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10c]
mov eax, dword [edx + 0x13c]
call eax
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x10c], 0
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xc8], 0
je 0x1003a341
mov eax, dword [ebp - 0x258]
add eax, 0xcc
push eax
push 0
push 0x411
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6b0]
call fcn.1002b340
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [eax + 0x10c]
je 0x1003a3b5
cmp dword [ebp - 0x260], 0
je 0x1003a3b5
mov dword [ebp - 0x3b0], 0xb
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x3ac], edx
lea eax, [ebp - 0x3b0]
push eax
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x260]
mov eax, dword [edx + 0x13c]
call eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x260]
mov dword [ecx + 0x10c], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x110], 0
je 0x1003a40b
mov dword [ebp - 0x3b0], 9
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x3ac], edx
lea eax, [ebp - 0x3b0]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov eax, dword [ebp - 0x258]
mov edx, dword [edx]
mov ecx, dword [eax + 0x110]
mov eax, dword [edx + 0x13c]
call eax
jmp 0x1003a447
cmp dword [ebp - 0x260], 0
je 0x1003a447
mov dword [ebp - 0x3b0], 9
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x3ac], ecx
lea edx, [ebp - 0x3b0]
push edx
mov eax, dword [ebp - 0x260]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x260]
mov eax, dword [edx + 0x13c]
call eax
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x100]
test edx, edx
jne 0x1003a470
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x104], 0
jne 0x1003a484
jmp case.0x10037778.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x384], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x384]
mov dword [ecx + 0x11c], edx
mov eax, dword [ebp - 0x380]
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x380]
push ecx
mov edx, dword [ebp - 0x384]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x1003a4f5
jmp case.0x10037778.1
mov eax, dword [ebp - 0x26c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 0x258]
je 0x1003a515
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x38]
call eax
movzx ecx, al
test ecx, ecx
je 0x1003a5c4
mov edx, dword [ebp - 0x258]
mov byte [edx + 0x724], 1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x728], 0
je 0x1003a572
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x728]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x258]
mov dword [eax + 0x728], 0
push 0
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x50]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call fcn.10047cf0
add esp, 0x1c
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x728], eax
mov ecx, dword [ebp - 0x258]
call fcn.1003dfe0
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x26c]
mov dword [edx + 0x110], eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x124]
call eax
xor ecx, ecx
mov dword [ebp - 0x574], ecx
mov dword [ebp - 0x570], ecx
mov dword [ebp - 0x56c], ecx
mov dword [ebp - 0x568], ecx
mov dword [ebp - 0x564], ecx
mov dword [ebp - 0x560], ecx
mov dword [ebp - 0x55c], ecx
mov dword [ebp - 0x558], ecx
mov dword [ebp - 0x574], 0xd
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x570], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x55c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x558], ecx
mov edx, dword [ebp - 0x384]
mov dword [ebp - 0x568], edx
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x564], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x55e], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x56c], eax
lea edx, [ebp - 0x574]
push edx
mov eax, dword [ebp - 0x26c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x13c]
call eax
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x100]
test edx, edx
jne 0x1003a6c6
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x37c]
mov dword [eax + 0x11c], ecx
mov edx, dword [ebp - 0x378]
mov dword [eax + 0x120], edx
mov eax, dword [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x37c]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
jne 0x1003a738
jmp case.0x10037778.1
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x29c]
mov edx, dword [eax + 0x1c]
call edx
cmp eax, dword [ebp - 0x258]
je 0x1003a758
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
call fcn.1003dfe0
xor eax, eax
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x538], eax
mov dword [ebp - 0x554], 0x13
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x550], ecx
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x548], edx
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x544], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x53c], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x538], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x53e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x54c], eax
lea ecx, [ebp - 0x554]
push ecx
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x29c]
mov edx, dword [eax + 0x13c]
call edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x29c]
mov dword [eax + 0x110], ecx
jmp case.0x10037778.1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x3d8], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x3dc]
mov dword [eax + 0x11c], ecx
mov edx, dword [ebp - 0x3d8]
mov dword [eax + 0x120], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x110], 0
jne 0x1003a879
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
call fcn.1003ceb0
xor ecx, ecx
mov dword [ebp - 0x594], ecx
mov dword [ebp - 0x590], ecx
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 0x588], ecx
mov dword [ebp - 0x584], ecx
mov dword [ebp - 0x580], ecx
mov dword [ebp - 0x57c], ecx
mov dword [ebp - 0x578], ecx
mov dword [ebp - 0x594], 0xe
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x110]
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x57c], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x578], edx
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x584], ecx
mov dx, word [ebp + 0xc]
mov word [ebp - 0x57e], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x110]
mov dword [ebp - 0x3c0], ecx
mov edx, dword [ebp - 0x258]
mov dword [edx + 0x110], 0
lea eax, [ebp - 0x594]
push eax
mov ecx, dword [ebp - 0x3c0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c0]
mov eax, dword [edx + 0x13c]
call eax
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x100]
test edx, edx
jne 0x1003a97b
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x370], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x374]
mov dword [eax + 0x11c], ecx
mov edx, dword [ebp - 0x370]
mov dword [eax + 0x120], edx
mov eax, dword [ebp - 0x370]
push eax
mov ecx, dword [ebp - 0x374]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
jne 0x1003a9ed
jmp case.0x10037778.1
mov edx, dword [ebp - 0x284]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x284]
mov edx, dword [eax + 0x1c]
call edx
cmp eax, dword [ebp - 0x258]
je 0x1003aa0d
jmp case.0x10037778.1
mov eax, dword [ebp - 0x284]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x284]
mov eax, dword [edx + 0x124]
call eax
mov ecx, dword [ebp - 0x258]
call fcn.1003dfe0
xor ecx, ecx
mov dword [ebp - 0x5b4], ecx
mov dword [ebp - 0x5b0], ecx
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 0x5a8], ecx
mov dword [ebp - 0x5a4], ecx
mov dword [ebp - 0x5a0], ecx
mov dword [ebp - 0x59c], ecx
mov dword [ebp - 0x598], ecx
mov dword [ebp - 0x5b4], 0xf
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x5b0], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x59c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x598], ecx
mov edx, dword [ebp - 0x374]
mov dword [ebp - 0x5a8], edx
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x5a4], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x59e], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5ac], eax
lea edx, [ebp - 0x5b4]
push edx
mov eax, dword [ebp - 0x284]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x284]
mov eax, dword [edx + 0x13c]
call eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x284]
mov dword [ecx + 0x110], edx
jmp case.0x10037778.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x36c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x36c]
mov dword [ecx + 0x11c], edx
mov eax, dword [ebp - 0x368]
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x368]
push ecx
mov edx, dword [ebp - 0x36c]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x110], eax
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x110], 0
jne 0x1003ab68
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
call fcn.1003ceb0
xor eax, eax
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0x5d0], eax
mov dword [ebp - 0x5cc], eax
mov dword [ebp - 0x5c8], eax
mov dword [ebp - 0x5c4], eax
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5bc], eax
mov dword [ebp - 0x5b8], eax
mov dword [ebp - 0x5d4], 0x10
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x5d0], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5b8], ecx
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x5c8], edx
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x5c4], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x5be], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5cc], eax
lea edx, [ebp - 0x5d4]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x110]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x110]
mov edx, dword [eax + 0x13c]
call edx
jmp case.0x10037778.1
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x100]
test ecx, ecx
jne 0x1003ac54
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x364], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x360], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x364]
mov dword [edx + 0x11c], eax
mov ecx, dword [ebp - 0x360]
mov dword [edx + 0x120], ecx
mov edx, dword [ebp - 0x360]
push edx
mov eax, dword [ebp - 0x364]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
jne 0x1003acc5
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 0x258]
je 0x1003ace5
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0x124]
call eax
mov ecx, dword [ebp - 0x258]
call fcn.1003dfe0
xor ecx, ecx
mov dword [ebp - 0x5f4], ecx
mov dword [ebp - 0x5f0], ecx
mov dword [ebp - 0x5ec], ecx
mov dword [ebp - 0x5e8], ecx
mov dword [ebp - 0x5e4], ecx
mov dword [ebp - 0x5e0], ecx
mov dword [ebp - 0x5dc], ecx
mov dword [ebp - 0x5d8], ecx
mov dword [ebp - 0x5f4], 0x11
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x5f0], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5dc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5d8], ecx
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x5e8], edx
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x5e4], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x5de], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5ec], eax
lea edx, [ebp - 0x5f4]
push edx
mov eax, dword [ebp - 0x280]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0x13c]
call eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x280]
mov dword [ecx + 0x110], edx
jmp case.0x10037778.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x35c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x35c]
mov dword [ecx + 0x11c], edx
mov eax, dword [ebp - 0x358]
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x358]
push ecx
mov edx, dword [ebp - 0x35c]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x110], eax
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x110], 0
jne 0x1003ae40
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
call fcn.1003ceb0
xor eax, eax
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x610], eax
mov dword [ebp - 0x60c], eax
mov dword [ebp - 0x608], eax
mov dword [ebp - 0x604], eax
mov dword [ebp - 0x600], eax
mov dword [ebp - 0x5fc], eax
mov dword [ebp - 0x5f8], eax
mov dword [ebp - 0x614], 0x12
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x610], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5fc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5f8], ecx
mov edx, dword [ebp - 0x35c]
mov dword [ebp - 0x608], edx
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x604], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x5fe], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x60c], eax
lea edx, [ebp - 0x614]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x110]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x110]
mov edx, dword [eax + 0x13c]
call edx
jmp case.0x10037778.1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x104], 0
jne 0x1003af1c
jmp case.0x10037778.1
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x390], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x38c], ecx
lea edx, [ebp - 0x390]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x390]
mov dword [edx + 0x11c], eax
mov ecx, dword [ebp - 0x38c]
mov dword [edx + 0x120], ecx
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x110], 0
jne 0x1003af8e
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
call fcn.1003ceb0
xor eax, eax
mov dword [ebp - 0x4f4], eax
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4e8], eax
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4dc], eax
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4f4], 0x14
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x4f0], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4d8], ecx
mov edx, dword [ebp - 0x390]
mov dword [ebp - 0x4e8], edx
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x4e4], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x4de], cx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x110]
mov dword [ebp - 0x4d8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4ec], eax
lea ecx, [ebp - 0x4f4]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x110]
mov ecx, dword [ebp - 0x258]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x110]
mov eax, dword [edx + 0x13c]
call eax
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x110], 0
jmp case.0x10037778.1
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x104], 0
jne 0x1003b08c
jmp case.0x10037778.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x33c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x338], eax
lea ecx, [ebp - 0x33c]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x33c]
mov dword [ecx + 0x11c], edx
mov eax, dword [ebp - 0x338]
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x338]
push ecx
mov edx, dword [ebp - 0x33c]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0
jne 0x1003b117
jmp case.0x10037778.1
mov eax, dword [ebp - 0x2ac]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 0x258]
je 0x1003b137
jmp case.0x10037778.1
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x6a0], edx
xor eax, eax
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x61c], eax
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x634], 0x15
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x630], ecx
cmp dword [ebp - 0x6a0], 0
jge 0x1003b1a9
mov dword [ebp - 0x3c4], 1
jmp 0x1003b1b3
mov dword [ebp - 0x3c4], 0
mov edx, dword [ebp - 0x3c4]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x61c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x618], ecx
mov edx, dword [ebp - 0x33c]
mov dword [ebp - 0x628], edx
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x624], eax
call fcn.100373d0
mov word [ebp - 0x61e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x62c], eax
lea ecx, [ebp - 0x634]
push ecx
mov edx, dword [ebp - 0x2ac]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [eax + 0x13c]
call edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x11c]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x120]
and ecx, 0xffff
movzx eax, cx
shl eax, 0x10
or edx, eax
push edx
push 0
push 0x200
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x10037778.1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x104], 0
jne 0x1003b281
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x108], 0
jne 0x1003b295
jmp case.0x10037778.1
xor edx, edx
mov dword [ebp - 0x464], edx
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x45c], edx
mov dword [ebp - 0x458], edx
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x44c], edx
mov dword [ebp - 0x448], edx
mov dword [ebp - 0x464], 5
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x108]
mov dword [ebp - 0x460], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x448], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x450], cx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x11c]
mov ecx, dword [edx + 0x120]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], ecx
call fcn.100373d0
mov word [ebp - 0x44e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x45c], eax
lea edx, [ebp - 0x464]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x13c]
call edx
jmp case.0x10037778.1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x104], 0
jne 0x1003b378
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x108], 0
jne 0x1003b38c
jmp case.0x10037778.1
xor edx, edx
mov dword [ebp - 0x484], edx
mov dword [ebp - 0x480], edx
mov dword [ebp - 0x47c], edx
mov dword [ebp - 0x478], edx
mov dword [ebp - 0x474], edx
mov dword [ebp - 0x470], edx
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x468], edx
mov dword [ebp - 0x484], 3
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x108]
mov dword [ebp - 0x480], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x468], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x470], cx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x11c]
mov ecx, dword [edx + 0x120]
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], ecx
call fcn.100373d0
mov word [ebp - 0x46e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x47c], eax
lea edx, [ebp - 0x484]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x13c]
call edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x108]
mov dword [eax + 0x114], edx
jmp case.0x10037778.1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x104], 0
jne 0x1003b487
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x114], 0
jne 0x1003b49b
jmp case.0x10037778.1
xor edx, edx
mov dword [ebp - 0x4a4], edx
mov dword [ebp - 0x4a0], edx
mov dword [ebp - 0x49c], edx
mov dword [ebp - 0x498], edx
mov dword [ebp - 0x494], edx
mov dword [ebp - 0x490], edx
mov dword [ebp - 0x48c], edx
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x4a4], 4
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x114]
mov dword [ebp - 0x4a0], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x488], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x490], cx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x11c]
mov ecx, dword [edx + 0x120]
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x494], ecx
call fcn.100373d0
mov word [ebp - 0x48e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x49c], eax
lea edx, [ebp - 0x4a4]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x114]
mov edx, dword [ebp - 0x258]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x114]
mov edx, dword [eax + 0x13c]
call edx
mov eax, dword [ebp - 0x258]
mov dword [eax + 0x114], 0
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
jne 0x1003b58e
jmp case.0x10037778.1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
cmp eax, 1
je 0x1003b5a4
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x46d]
test edx, edx
je 0x1003b5bc
mov al, 1
jmp 0x1003b88c
xor eax, eax
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], eax
lea ecx, [ebp - 0x354]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x354]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x350]
push edx
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.10035fd0
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
jne 0x1003b61e
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [edx + 0x14]
call eax
and eax, 2
jne 0x1003b63b
jmp case.0x10037778.1
xor ecx, ecx
mov dword [ebp - 0x654], ecx
mov dword [ebp - 0x650], ecx
mov dword [ebp - 0x64c], ecx
mov dword [ebp - 0x648], ecx
mov dword [ebp - 0x644], ecx
mov dword [ebp - 0x640], ecx
mov dword [ebp - 0x63c], ecx
mov dword [ebp - 0x638], ecx
mov dword [ebp - 0x654], 0x1a
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x650], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x63c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x638], ecx
mov edx, dword [ebp - 0x354]
mov dword [ebp - 0x648], edx
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x644], eax
call fcn.100373d0
mov word [ebp - 0x63e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x64c], eax
lea ecx, [ebp - 0x654]
push ecx
mov edx, dword [ebp - 0x2b0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [eax + 0x13c]
call edx
mov al, 1
jmp 0x1003b88c
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x108], 0
je 0x1003b791
xor ecx, ecx
mov dword [ebp - 0x6dc], ecx
mov dword [ebp - 0x6d8], ecx
mov dword [ebp - 0x6d4], ecx
mov dword [ebp - 0x6d0], ecx
mov dword [ebp - 0x6cc], ecx
mov dword [ebp - 0x6c8], ecx
mov dword [ebp - 0x6c4], ecx
mov dword [ebp - 0x6c0], ecx
mov dword [ebp - 0x6dc], 0x18
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x6c4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c0], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x108]
mov dword [ebp - 0x6d8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6d4], eax
lea eax, [ebp - 0x6dc]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 0x258]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 0x13c]
call eax
jmp case.0x10037778.1
mov ecx, dword [ebp - 0x258]
call fcn.100371c0
movzx ecx, al
test ecx, ecx
je 0x1003b7b3
mov ecx, dword [ebp - 0x258]
call fcn.1003ceb0
jmp case.0x10037778.1
cmp dword [ebp + 0x10], 0
jne 0x1003b7c3
jmp case.0x10037778.1
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3c8], edx
cmp dword [ebp - 0x3c8], 0
je 0x1003b7fb
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x2000
push edx
mov eax, dword [ebp - 0x3c8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov al, 1
jmp 0x1003b88c
cmp dword [ebp + 0x10], 0
jne 0x1003b80f
jmp case.0x10037778.1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x69c], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0x2000
push eax
mov ecx, dword [ebp - 0x69c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x1003b847
mov al, 1
jmp 0x1003b88c
jmp case.0x10037778.1
cmp dword [ebp + 0x10], 0
jne 0x1003b851
jmp case.0x10037778.1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x698], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2000
push ecx
mov edx, dword [ebp - 0x698]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
je case.0x10037778.1
mov al, 1
jmp 0x1003b88c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100be7ca
mov esp, ebp
pop ebp
ret 0x10