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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534e8e
mov eax, dword fs:[0]
push eax
sub esp, 0x720
mov eax, dword [0x56c3f4]
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 0x474c87
xor al, al
jmp 0x4790bf
mov dword [ebp - 0x32c], 0
jmp 0x474ca2
mov ecx, dword [ebp - 0x32c]
add ecx, 1
mov dword [ebp - 0x32c], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4b4
call fcn.0046f920
cmp dword [ebp - 0x32c], eax
jge 0x474e3c
mov byte [ebp - 0x26d], 0
mov edx, dword [ebp - 0x32c]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4b4
call fcn.0046ef90
mov dword [ebp - 0x3b4], 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 - 0x3b4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3b4]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x6b4], eax
movzx ecx, byte [ebp - 0x26d]
test ecx, ecx
je 0x474e37
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x6b4]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x294], ecx
cmp dword [ebp - 0x294], 0x200
ja 0x474d58
cmp dword [ebp - 0x294], 0x200
je case.0x474d84.0
cmp dword [ebp - 0x294], 0x7b
je case.0x474d84.9
jmp case.0x474d84.3
mov edx, dword [ebp - 0x294]
sub edx, 0x201
mov dword [ebp - 0x294], edx
cmp dword [ebp - 0x294], 9
ja case.0x474d84.3
mov eax, dword [ebp - 0x294]
movzx ecx, byte [eax + 0x4790e8]
jmp dword [ecx*4 + 0x4790dc]
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x678], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x674], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x678]
mov edx, dword [ebp - 0x674]
mov dword [eax + 0x11c], ecx
mov dword [eax + 0x120], edx
jmp case.0x474d84.3
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x448], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x444], eax
lea ecx, [ebp - 0x448]
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 - 0x448]
mov eax, dword [ebp - 0x444]
mov dword [ecx + 0x11c], edx
mov dword [ecx + 0x120], eax
mov al, 1
jmp 0x4790bf
jmp 0x474c93
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x16d]
test edx, edx
je 0x474ed7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0x83
je 0x474ec7
cmp dword [ebp - 0x37c], 0x85
je 0x474ec7
cmp dword [ebp - 0x37c], 0x86
je 0x474e80
jmp 0x474ed7
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x474ec5
cmp dword [ebp + 0xc], 0
jne 0x474ea9
mov dword [ebp - 0x3d4], 1
jmp 0x474eb3
mov dword [ebp - 0x3d4], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3d4]
mov dword [eax], ecx
mov al, 1
jmp 0x4790bf
jmp 0x474ed7
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov al, 1
jmp 0x4790bf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0x111
ja 0x474f2f
cmp dword [ebp - 0x268], 0x111
je 0x47903a
mov ecx, dword [ebp - 0x268]
sub ecx, 5
mov dword [ebp - 0x268], ecx
cmp dword [ebp - 0x268], 0xfd
ja case.0x474f7a.1
mov edx, dword [ebp - 0x268]
movzx eax, byte [edx + 0x47912c]
jmp dword [eax*4 + 0x4790f4]
cmp dword [ebp - 0x268], 0x2a1
ja 0x474f81
cmp dword [ebp - 0x268], 0x2a1
je 0x476d87
mov ecx, dword [ebp - 0x268]
sub ecx, 0x113
mov dword [ebp - 0x268], ecx
cmp dword [ebp - 0x268], 0xf7
ja case.0x474f7a.1
mov edx, dword [ebp - 0x268]
movzx eax, byte [edx + 0x47925c]
jmp dword [eax*4 + 0x47922c]
cmp dword [ebp - 0x268], 0x2a3
je 0x477109
cmp dword [ebp - 0x268], 0x318
je 0x476869
cmp dword [ebp - 0x268], 0x8001
je 0x474fb2
jmp case.0x474f7a.1
mov dword [ebp - 0x2e0], 0
jmp 0x474fcd
mov ecx, dword [ebp - 0x2e0]
add ecx, 1
mov dword [ebp - 0x2e0], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4e4
call fcn.0046f920
cmp dword [ebp - 0x2e0], eax
jge 0x475035
mov edx, dword [ebp - 0x2e0]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4e4
call fcn.0046ef90
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0
je 0x475029
push 1
mov eax, dword [ebp - 0x380]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x380]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x6b0], eax
jmp 0x475033
mov dword [ebp - 0x6b0], 0
jmp 0x474fbe
mov ecx, dword [ebp - 0x258]
add ecx, 0x4e4
call fcn.0046f530
mov ecx, dword [ebp - 0x258]
mov byte [ecx + 0x480], 0
mov dword [ebp - 0x288], 0
push 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x4f0
call fcn.0046f810
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
je 0x4751c0
push 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x4f0
call fcn.0046ff20
mov edx, dword [ebp - 0x288]
cmp dword [edx + 0x108], 0
je 0x4750db
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 0x108]
add ecx, 0x38
call fcn.00494620
movzx ecx, al
test ecx, ecx
je 0x4750db
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 0x108]
add ecx, 0x38
call fcn.00494670
mov dword [ebp - 0x2e4], 0
jmp 0x4750f6
mov ecx, dword [ebp - 0x2e4]
add ecx, 1
mov dword [ebp - 0x2e4], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x484
call fcn.0046f920
cmp dword [ebp - 0x2e4], eax
jge 0x475148
mov edx, dword [ebp - 0x2e4]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x484
call fcn.0046ef90
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x420]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x420]
mov eax, dword [edx]
call eax
jmp 0x4750e7
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x2b8], ecx
cmp dword [ebp - 0x2b8], 0
je 0x4751b1
mov edx, dword [ebp - 0x710]
mov dword [ebp - 0x42c], edx
mov ecx, dword [ebp - 0x2b8]
add ecx, 0x84
call fcn.0046ecd0
mov ecx, dword [ebp - 0x2b8]
call fcn.0046ecd0
mov eax, 1
and eax, 1
je 0x4751a3
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x2b8]
push ecx
call fcn.005040df
add esp, 8
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x42c], edx
jmp 0x4751bb
mov dword [ebp - 0x42c], 0
jmp 0x47505d
jmp case.0x474f7a.1
xor eax, eax
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4dc], eax
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4c8], eax
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x11c]
mov eax, dword [ecx + 0x120]
mov dword [ebp - 0x4d4], edx
mov dword [ebp - 0x4d0], eax
call fcn.00474be0
mov word [ebp - 0x4ca], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x10c], 0
je 0x475281
mov dword [ebp - 0x4e0], 0xa
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0x4dc], eax
lea ecx, [ebp - 0x4e0]
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 + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x110], 0
je 0x4752d5
mov dword [ebp - 0x4e0], 0xe
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x110]
mov dword [ebp - 0x4dc], eax
lea ecx, [ebp - 0x4e0]
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 + 0x140]
call eax
push 0
mov ecx, dword [ebp - 0x258]
call fcn.0047c150
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0xa8]
jne 0x475327
push 4
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x475327
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xc8], 0
je 0x475359
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.0x474f7a.1
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov al, 1
jmp 0x4790bf
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
jne 0x4753ec
push 0x40
push 0
lea edx, [ebp - 0x170]
push edx
call fcn.005073b0
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.00498b10
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 0x4790bf
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 0x475443
mov al, 1
jmp 0x4790bf
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x16a]
test eax, eax
je 0x475461
push 1
mov ecx, dword [ebp - 0x258]
call fcn.0047c6d0
push 1
mov ecx, dword [ebp - 0x258]
call fcn.0047c900
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 - 0x404], edx
push 1
mov ecx, dword [ebp - 0x258]
call fcn.0047c900
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x169]
test ecx, ecx
je 0x475887
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 0x475882
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x475882
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x104]
call fcn.0047ffe0
movzx ecx, al
test ecx, ecx
je 0x475687
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 0x47553f
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 0x475561
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 0x475583
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 0x4755a5
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 0x47563e
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 + 0x5c]
call eax
mov byte [ebp - 0x261], 1
jmp 0x4757de
mov dword [ebp - 0x278], 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x4fc
call fcn.0046f530
push reloc.WS2_32.dll_htons
push 0
push 0x47d350
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 + 0x134]
call eax
mov dword [ebp - 0x2e8], 0
jmp 0x4756eb
mov ecx, dword [ebp - 0x2e8]
add ecx, 1
mov dword [ebp - 0x2e8], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4fc
call fcn.0046f920
cmp dword [ebp - 0x2e8], eax
jge 0x4757d7
mov edx, dword [ebp - 0x2e8]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4fc
call fcn.0046ef90
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x278]
mov eax, dword [edx + 0x12c]
call eax
movzx ecx, al
test ecx, ecx
jne 0x475788
push 1
mov edx, dword [ebp - 0x278]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x278]
mov edx, dword [eax + 0x58]
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 + 0x5c]
call eax
jmp 0x4757d2
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 + 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 + 0x5c]
call eax
jmp 0x4756dc
mov byte [ebp - 0x261], 1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x168]
test edx, edx
je 0x475882
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.0047ba60
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x475864
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x180]
test eax, eax
je 0x475864
mov ecx, dword [ebp - 0x258]
call fcn.00474940
push 0
mov ecx, dword [ebp - 0x258]
call fcn.0047c900
mov al, 1
jmp 0x4790bf
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x664
call fcn.00493560
jmp 0x475987
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x475987
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x180]
test eax, eax
je 0x475987
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 0x475902
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.005073b0
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 + 0x5c]
call edx
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x475a50
push 0xffffffffffffffec
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
or ecx, 0x80000
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x424]
cmp edx, dword [ebp - 0x414]
je 0x4759f3
mov eax, dword [ebp - 0x414]
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 0x475a29
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jle 0x475a37
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.005073b0
add esp, 0xc
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16b]
test ecx, ecx
je 0x475aca
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xb8], 0
jne 0x475aca
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 - 0x404]
push ecx
mov edx, dword [ebp - 0x30c]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
call fcn.00498a30
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.005073b0
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 0x476701
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 - 0x67c], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xb0]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x68c], eax
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x475be9
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x2ec], edx
jmp 0x475b7d
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 0x475be9
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2f0], edx
jmp 0x475ba5
mov eax, dword [ebp - 0x2f0]
add eax, 1
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f0]
cmp ecx, dword [ebp - 0x18]
jge 0x475be7
mov edx, dword [ebp - 0x2ec]
imul edx, dword [ebp - 0x30c]
add edx, dword [ebp - 0x2f0]
shl edx, 2
mov dword [ebp - 0x6ac], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x6ac]
mov dword [ecx + edx], 0
jmp 0x475b96
jmp 0x475b6e
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 + 0x150]
call edx
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x16d]
test ecx, ecx
je 0x475f25
mov dword [ebp - 0x2a4], 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x4cc
call fcn.0046f920
cmp dword [ebp - 0x2a4], eax
jge 0x475f25
mov edx, dword [ebp - 0x2a4]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4cc
call fcn.0046ef90
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x475cbb
mov ecx, dword [ebp - 0x2a4]
push ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4cc
call fcn.0046ff20
mov edx, dword [ebp - 0x2a4]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4d8
call fcn.0046ff20
jmp 0x475c3d
mov eax, dword [ebp - 0x2a4]
add eax, 1
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2f4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x475ce0
jmp 0x475c3d
mov edx, dword [ebp - 0x2f4]
push edx
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.00474490
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 0x475d34
jmp 0x475c3d
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 - 0x2a8], 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 - 0x2a8]
push ecx
call fcn.00498a30
add esp, 0x10
mov dword [ebp - 0x410], 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.005073b0
add esp, 0xc
mov edx, dword [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x690], eax
push 0x35
mov ecx, dword [ebp - 0x2a8]
push ecx
push 0x317
mov edx, dword [ebp - 0x2f4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2f8], 0
jmp 0x475e0d
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 0x475ea7
mov dword [ebp - 0x2fc], 0
jmp 0x475e40
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 0x475ea2
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 0x475ea0
mov ecx, dword [ebp - 0x344]
mov edx, dword [ecx]
or edx, 0xff000000
mov eax, dword [ebp - 0x344]
mov dword [eax], edx
jmp 0x475e31
jmp 0x475dfe
push 0xcc0020
push 0
push 0
mov ecx, dword [ebp - 0x2a8]
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 - 0x690]
push edx
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x410]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x475c3d
mov dword [ebp - 0x300], 0
jmp 0x475f40
mov eax, dword [ebp - 0x300]
add eax, 1
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x4c0
call fcn.0046f920
cmp dword [ebp - 0x300], eax
jge 0x475fa0
mov ecx, dword [ebp - 0x300]
push ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4c0
call fcn.0046ef90
mov dword [ebp - 0x40c], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xb0]
push ecx
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40c]
mov edx, dword [eax + 0x174]
call edx
jmp 0x475f31
mov eax, dword [ebp - 0x68c]
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 0x476600
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.0046fd00
movzx eax, al
test eax, eax
jne 0x47644c
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c0], 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 - 0x2c8], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xc4]
mov dword [ebp - 0x408], 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.0046fd00
movzx ecx, al
test ecx, ecx
jne 0x476447
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xc0], 0
jne 0x476222
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 - 0x2c0]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xac]
push ecx
call fcn.00498a30
add esp, 0x10
mov edx, dword [ebp - 0x258]
mov dword [edx + 0xc0], eax
mov eax, dword [ebp - 0x2c0]
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.005073b0
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.004a08b0
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.0049e4b0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004980a0
jmp 0x4762e2
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x180]
test edx, edx
je 0x4762e2
mov eax, dword [ebp - 0x2c0]
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.005073b0
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.004a08b0
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.0049e4b0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.004980a0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], eax
jmp 0x4762ff
mov ecx, dword [ebp - 0x2bc]
add ecx, 1
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x2bc], edx
jge 0x476447
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c4], eax
jmp 0x47632b
mov ecx, dword [ebp - 0x2c4]
add ecx, 1
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x2c4]
cmp edx, dword [ebp - 0x18]
jge 0x476442
mov eax, dword [ebp - 0x2bc]
imul eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xbc]
add edx, eax
add edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], edx
mov eax, dword [ebp - 0x2bc]
imul eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xc4]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x2c4]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
shr ecx, 0x18
mov byte [ebp - 0x259], cl
mov edx, dword [ebp - 0x2c8]
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 - 0x2c8]
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 - 0x2c8]
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 - 0x2c8]
mov dword [ecx], edx
jmp 0x47631c
jmp 0x4762f0
jmp 0x47654c
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x304], edx
jmp 0x476469
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 0x47654c
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x308], edx
jmp 0x476495
mov eax, dword [ebp - 0x308]
add eax, 1
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
cmp ecx, dword [ebp - 0x18]
jge 0x476547
mov edx, dword [ebp - 0x304]
imul edx, dword [ebp - 0x30c]
add edx, dword [ebp - 0x308]
shl edx, 2
mov dword [ebp - 0x2cc], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x2cc]
movzx eax, byte [ecx + edx + 3]
test eax, eax
jne 0x476542
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xbc]
mov eax, dword [ebp - 0x2cc]
movzx ecx, byte [edx + eax]
test ecx, ecx
jne 0x47652b
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xbc]
mov ecx, dword [ebp - 0x2cc]
movzx edx, byte [eax + ecx + 1]
test edx, edx
jne 0x47652b
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x2cc]
movzx eax, byte [ecx + edx + 2]
test eax, eax
je 0x476542
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xbc]
mov eax, dword [ebp - 0x2cc]
mov byte [edx + eax + 3], 0xff
jmp 0x476486
jmp 0x47645a
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 - 0x6fc], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x6f8], ecx
mov edx, dword [ebp - 0x30c]
mov dword [ebp - 0x704], edx
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0x700], eax
mov dword [ebp - 0x70c], 0
mov dword [ebp - 0x708], 0
push 2
lea ecx, [ebp - 0x310]
push ecx
push 0
lea edx, [ebp - 0x70c]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xb0]
push ecx
lea edx, [ebp - 0x704]
push edx
lea eax, [ebp - 0x6fc]
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 [0x56e778]
jmp 0x476643
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 - 0x67c]
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 0x4766fc
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x16d]
test eax, eax
jne 0x4766fc
mov ecx, dword [0x56e77c]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x694], 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 - 0x694]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4767e4
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 + 0x150]
call eax
mov dword [ebp - 0x314], 0
jmp 0x47676a
mov ecx, dword [ebp - 0x314]
add ecx, 1
mov dword [ebp - 0x314], ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4c0
call fcn.0046f920
cmp dword [ebp - 0x314], eax
jge 0x4767ca
mov edx, dword [ebp - 0x314]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x4c0
call fcn.0046ef90
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xac]
push edx
mov eax, dword [ebp - 0x400]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x174]
call eax
jmp 0x47675b
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.0047c900
mov ecx, dword [ebp - 0x258]
mov byte [ecx + 0x180], 0
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x169]
test eax, eax
je 0x476834
mov ecx, dword [ebp - 0x258]
call fcn.00474940
movzx ecx, byte [ebp - 0x261]
test ecx, ecx
je 0x476862
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.0047ba60
mov al, 1
jmp 0x4790bf
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
jne 0x47687d
jmp case.0x474f7a.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 + 0x150]
call edx
mov eax, dword [ebp + 0x10]
and eax, 0x10
je 0x4769a5
push 5
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x4769a5
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 - 0x2d0]
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 - 0x2d0]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
mov eax, dword [ebp - 0x2d0]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2d0], eax
jmp 0x47690c
mov ecx, dword [ebp - 0x66c]
push ecx
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x474f7a.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 0x476a81
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 - 0x2ac], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x124], 0
jle 0x476aae
mov ecx, dword [ebp - 0x2ac]
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 0x476ad2
mov edx, dword [ebp - 0x2ac]
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 0x476af6
mov eax, dword [ebp - 0x2ac]
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 0x476b1a
mov ecx, dword [ebp - 0x2ac]
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 0x476b3e
mov edx, dword [ebp - 0x2ac]
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 0x476b62
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x130]
mov dword [eax + 0xc], edx
jmp case.0x474f7a.1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x108], 0
je 0x476bfd
xor ecx, ecx
mov dword [ebp - 0x6f4], ecx
mov dword [ebp - 0x6f0], ecx
mov dword [ebp - 0x6ec], ecx
mov dword [ebp - 0x6e8], ecx
mov dword [ebp - 0x6e4], ecx
mov dword [ebp - 0x6e0], ecx
mov dword [ebp - 0x6dc], ecx
mov dword [ebp - 0x6d8], ecx
mov dword [ebp - 0x6f4], 0x19
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x108]
mov dword [ebp - 0x6f0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6ec], eax
lea ecx, [ebp - 0x6f4]
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 + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
je 0x476c1d
mov edx, dword [ebp - 0x258]
mov ecx, dword [edx + 0x104]
call fcn.004800f0
mov al, 1
jmp 0x4790bf
mov dword [ebp - 0x31c], 0
jmp 0x476c3f
mov eax, dword [ebp - 0x31c]
add eax, 1
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x490
call fcn.0046f920
cmp dword [ebp - 0x31c], eax
jge 0x476d82
mov ecx, dword [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x490
call fcn.0046ef90
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x258]
mov ecx, dword [edx + 8]
cmp ecx, dword [eax + 0xa8]
jne 0x476d7d
mov edx, dword [ebp + 0xc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0xc], eax
jne 0x476d7d
mov edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x10]
test eax, eax
jne 0x476d7d
xor ecx, ecx
mov dword [ebp - 0x5a0], ecx
mov dword [ebp - 0x59c], ecx
mov dword [ebp - 0x598], 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 - 0x5a0], 0x1b
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
mov dword [ebp - 0x59c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x598], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x11c]
mov eax, dword [ecx + 0x120]
mov dword [ebp - 0x594], edx
mov dword [ebp - 0x590], eax
call fcn.00474be0
mov word [ebp - 0x58a], ax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x588], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x584], eax
lea ecx, [ebp - 0x5a0]
push ecx
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x298]
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x140]
call eax
jmp 0x476d82
jmp 0x476c30
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
mov byte [ecx + 0x47c], 0
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x476de8
jmp case.0x474f7a.1
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x10c], 0
je 0x476eb4
xor eax, eax
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x51c], eax
mov dword [ebp - 0x518], 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 - 0x520], 0xc
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x10c]
mov dword [ebp - 0x51c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x504], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x518], eax
mov edx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x514], edx
mov dword [ebp - 0x510], eax
call fcn.00474be0
mov word [ebp - 0x50a], ax
lea ecx, [ebp - 0x520]
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 + 0x140]
call eax
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [eax + 0xc8]
call edx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.0046fd00
movzx eax, al
test eax, eax
je 0x476f0e
mov byte [ebp - 0x28d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.0046ecd0
mov al, byte [ebp - 0x28d]
jmp 0x4790bf
push 0x30
push 0
mov ecx, dword [ebp - 0x258]
add ecx, 0xcc
push ecx
call fcn.005073b0
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 [0x56e768]
mov dword [ecx + 0xec], edx
lea ecx, [ebp - 0x244]
call fcn.0046efd0
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0xf0], eax
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [eax + 0x58]
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 0x47708b
push 0
mov edx, dword [0x56e768]
push edx
push 0
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xa8]
push ecx
push bind
push bind
push bind
push bind
push reloc.WS2_32.dll_closesocket
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 - 0x2a0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0xd4]
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 0x4770f0
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.0046ecd0
mov al, 1
jmp 0x4790bf
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xc8], 0
je 0x47713e
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 + 0x47c]
test ecx, ecx
je 0x4772cf
xor edx, edx
mov dword [ebp - 0x334], edx
mov dword [ebp - 0x330], 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 - 0x334]
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 0x4772b3
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x258]
cmp eax, dword [ecx + 0xa8]
jne 0x4772b3
mov edx, dword [ebp - 0x330]
push edx
mov eax, dword [ebp - 0x334]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4772b3
mov edx, dword [ebp - 0x334]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x330]
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 0x477295
lea edx, [ebp - 0x334]
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 - 0x334]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x330]
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 0x4772b1
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 0x4772cf
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 + 0x47c], 0
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x47c]
test edx, edx
jne 0x4773a1
xor eax, eax
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4c0], 0x10
mov dword [ebp - 0x4bc], 3
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
mov dword [ebp - 0x4b8], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0xc8], 0
jne 0x477359
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xfc]
mov dword [ebp - 0x3fc], edx
jmp 0x47737b
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 - 0x3fc], eax
mov edx, dword [ebp - 0x3fc]
mov dword [ebp - 0x4b4], edx
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov ecx, dword [ebp - 0x258]
mov byte [ecx + 0x47c], 1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x2d8], edx
mov byte [ebp - 0x271], 1
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x11c]
cmp ecx, dword [ebp - 0x2dc]
jne 0x4773fe
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x120]
cmp eax, dword [ebp - 0x2d8]
jne 0x4773fe
mov byte [ebp - 0x271], 0
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2d8]
mov dword [ecx + 0x11c], edx
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2dc]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x477464
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 0x477464
jmp case.0x474f7a.1
movzx ecx, byte [ebp - 0x271]
test ecx, ecx
je 0x4778e4
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x735]
test eax, eax
je 0x4778e4
cmp dword [ebp + 0xc], 1
jne 0x4778e4
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.00504142
add esp, 4
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
je 0x4774e2
mov ecx, dword [ebp - 0x2d4]
mov dword [ecx], vtable.DuiLib::CIDropSource.0
mov edx, dword [ebp - 0x2d4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x2d4]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x3f8], ecx
jmp 0x4774ec
mov dword [ebp - 0x3f8], 0
mov edx, dword [ebp - 0x3f8]
mov dword [ebp - 0x668], edx
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
jne 0x477514
xor al, al
jmp 0x4790bf
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.00504142
add esp, 4
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x3f4], 0
je 0x477562
mov edx, dword [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x3f4]
call fcn.00494d60
mov dword [ebp - 0x3f0], eax
jmp 0x47756c
mov dword [ebp - 0x3f0], 0
mov eax, dword [ebp - 0x3f0]
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 0x47759b
xor al, al
jmp 0x4790bf
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 - 0x440], eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
xor ecx, ecx
mov dword [ebp - 0x3d0], ecx
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 0x438], 1
mov dword [ebp - 0x434], 0xffffffff
mov edx, 2
mov word [ebp - 0x440], dx
mov dword [ebp - 0x430], 0x10
mov dword [ebp - 0x3d0], 0x10
push 0
movzx eax, word [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x738]
push edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x3cc], eax
push 0
lea ecx, [ebp - 0x3d0]
push ecx
lea edx, [ebp - 0x440]
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 - 0x72c]
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 - 0x728]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x724]
mov dword [ebp - 0x84], ecx
mov edx, 0xe
mov word [ebp - 0x440], dx
mov dword [ebp - 0x430], 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 - 0x3ec], 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 - 0x6a8], 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 - 0x3ec]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x6a8]
push ecx
mov edx, dword [ebp - 0x320]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x3ec]
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0x320]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 0x3d0], 0x40
push 1
lea edx, [ebp - 0x3d0]
push edx
lea eax, [ebp - 0x440]
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
mov dword [ebp - method.DuiLib::CDragSourceHelper.virtual_0], vtable.DuiLib::CDragSourceHelper.0
mov dword [ebp - 0x3e0], 0
lea edx, [ebp - 0x3e0]
push edx
push 0x544898
push 1
push 0
push 0x544828
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x728]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x724]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x44c], eax
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x324]
push ecx
lea ecx, [ebp - 0x3e4]
call fcn.00474820
lea edx, [ebp - 0x6a4]
push edx
push 3
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
call dword [sym.imp.ole32.dll_DoDragDrop]
mov dword [ebp - 0x714], eax
cmp dword [ebp - 0x6a4], 0
je 0x47787d
mov edx, dword [ebp - 0x28c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28c]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x47789a
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x6a0], eax
push 0xc
mov ecx, dword [ebp - 0x6a0]
push ecx
call fcn.005040df
add esp, 8
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x27c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x258]
mov byte [eax + 0x735], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e4]
call fcn.00471b80
jmp case.0x474f7a.1
xor ecx, ecx
mov dword [ebp - 0x3b0], ecx
mov dword [ebp - 0x3ac], ecx
mov dword [ebp - 0x3a8], ecx
mov dword [ebp - 0x3a4], ecx
mov dword [ebp - 0x3a0], ecx
mov dword [ebp - 0x39c], ecx
mov dword [ebp - 0x398], ecx
mov dword [ebp - 0x394], ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x398], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x394], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3a8], eax
call fcn.00474be0
mov word [ebp - 0x39a], ax
mov ecx, dword [ebp - 0x258]
call fcn.004749d0
movzx eax, al
test eax, eax
jne 0x477bc0
mov ecx, dword [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2dc]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x4779b6
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 0x4779b6
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x260]
cmp edx, dword [ecx + 0x10c]
je 0x477b5e
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x10c], 0
je 0x477b5e
mov dword [ebp - 0x3b0], 0xa
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x10c]
mov dword [ebp - 0x3ac], edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x514
call fcn.0046f920
push eax
lea ecx, [ebp - 0x688]
call fcn.0046ec10
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x258]
add ecx, 0x514
call fcn.0046f920
push eax
lea ecx, [ebp - 0x688]
call fcn.00470320
mov ecx, dword [ebp - 0x258]
add ecx, 0x514
call fcn.0046f920
shl eax, 2
push eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x514
call fcn.0046efd0
push eax
lea ecx, [ebp - 0x688]
call fcn.0046efd0
push eax
call fcn.00506e30
add esp, 0xc
mov dword [ebp - 0x328], 0
jmp 0x477a94
mov eax, dword [ebp - 0x328]
add eax, 1
mov dword [ebp - 0x328], eax
lea ecx, [ebp - 0x688]
call fcn.0046f920
cmp dword [ebp - 0x328], eax
jge 0x477ade
mov ecx, dword [ebp - 0x328]
push ecx
lea ecx, [ebp - 0x688]
call fcn.0046ef90
mov dword [ebp - 0x3e8], eax
lea edx, [ebp - 0x3b0]
push edx
mov eax, dword [ebp - 0x3e8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3e8]
mov eax, dword [edx + 0x140]
call eax
jmp 0x477a85
lea ecx, [ebp - 0x3b0]
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 + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x10c], 0
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0xc8], 0
je 0x477b4c
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 - 0x688]
call fcn.0046ed00
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [eax + 0x10c]
je 0x477bc0
cmp dword [ebp - 0x260], 0
je 0x477bc0
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 + 0x140]
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 0x477c16
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 + 0x140]
call eax
jmp 0x477c52
cmp dword [ebp - 0x260], 0
je 0x477c52
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 + 0x140]
call eax
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x100]
test edx, edx
jne 0x477c7b
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 0x477c8f
jmp case.0x474f7a.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x350], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x350]
mov eax, dword [ebp - 0x34c]
mov dword [ecx + 0x11c], edx
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x34c]
push ecx
mov edx, dword [ebp - 0x350]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x477d00
jmp case.0x474f7a.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 0x477d20
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x734]
test edx, edx
je 0x477de4
mov eax, dword [ebp - 0x26c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x38]
call eax
movzx ecx, al
test ecx, ecx
je 0x477de4
mov edx, dword [ebp - 0x258]
mov byte [edx + 0x735], 1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x738], 0
je 0x477d92
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x738]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x258]
mov dword [eax + 0x738], 0
push 0
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x58]
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.004a04a0
add esp, 0x1c
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x738], eax
mov ecx, dword [ebp - 0x258]
call fcn.0047bb60
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 + 0x128]
call eax
xor ecx, ecx
mov dword [ebp - 0x560], ecx
mov dword [ebp - 0x55c], ecx
mov dword [ebp - 0x558], ecx
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x550], ecx
mov dword [ebp - 0x54c], ecx
mov dword [ebp - 0x548], ecx
mov dword [ebp - 0x544], ecx
mov dword [ebp - 0x560], 0xd
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x55c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x548], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x544], ecx
mov edx, dword [ebp - 0x350]
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x554], edx
mov dword [ebp - 0x550], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x54a], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x558], eax
lea edx, [ebp - 0x560]
push edx
mov eax, dword [ebp - 0x26c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x140]
call eax
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x100]
test edx, edx
jne 0x477ee6
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 - 0x388], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x384], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x388]
mov edx, dword [ebp - 0x384]
mov dword [eax + 0x11c], ecx
mov dword [eax + 0x120], edx
mov eax, dword [ebp - 0x384]
push eax
mov ecx, dword [ebp - 0x388]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
jne 0x477f58
jmp case.0x474f7a.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 0x477f78
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
call fcn.0047bb60
xor eax, eax
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5bc], eax
mov dword [ebp - 0x5b8], eax
mov dword [ebp - 0x5b4], eax
mov dword [ebp - 0x5b0], eax
mov dword [ebp - 0x5ac], eax
mov dword [ebp - 0x5a8], eax
mov dword [ebp - 0x5a4], eax
mov dword [ebp - 0x5c0], 0x13
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x5bc], ecx
mov edx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x5b4], edx
mov dword [ebp - 0x5b0], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x5a8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x5a4], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x5aa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5b8], eax
lea ecx, [ebp - 0x5c0]
push ecx
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x29c]
mov edx, dword [eax + 0x140]
call edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x29c]
mov dword [eax + 0x110], ecx
jmp case.0x474f7a.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 edx, dword [ebp - 0x3d8]
mov dword [eax + 0x11c], ecx
mov dword [eax + 0x120], edx
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x110], 0
jne 0x478099
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
call fcn.0047a9d0
xor ecx, ecx
mov dword [ebp - 0x580], ecx
mov dword [ebp - 0x57c], ecx
mov dword [ebp - 0x578], 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 - 0x580], 0xe
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x110]
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x568], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x564], edx
mov eax, dword [ebp - 0x3dc]
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x574], eax
mov dword [ebp - 0x570], ecx
mov dx, word [ebp + 0xc]
mov word [ebp - 0x56a], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x578], eax
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x110]
mov dword [ebp - 0x3b8], ecx
mov edx, dword [ebp - 0x258]
mov dword [edx + 0x110], 0
lea eax, [ebp - 0x580]
push eax
mov ecx, dword [ebp - 0x3b8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3b8]
mov eax, dword [edx + 0x140]
call eax
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
movzx edx, byte [ecx + 0x100]
test edx, edx
jne 0x47819b
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 - 0x378], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x374], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x378]
mov edx, dword [ebp - 0x374]
mov dword [eax + 0x11c], ecx
mov dword [eax + 0x120], edx
mov eax, dword [ebp - 0x374]
push eax
mov ecx, dword [ebp - 0x378]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
jne 0x47820d
jmp case.0x474f7a.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 0x47822d
jmp case.0x474f7a.1
mov eax, dword [ebp - 0x284]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x284]
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [ebp - 0x258]
call fcn.0047bb60
xor ecx, ecx
mov dword [ebp - 0x540], ecx
mov dword [ebp - 0x53c], ecx
mov dword [ebp - 0x538], 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 - 0x540], 0xf
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x53c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x528], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x524], ecx
mov edx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x534], edx
mov dword [ebp - 0x530], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x52a], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x538], eax
lea edx, [ebp - 0x540]
push edx
mov eax, dword [ebp - 0x284]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x284]
mov eax, dword [edx + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x284]
mov dword [ecx + 0x110], edx
jmp case.0x474f7a.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x370], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x370]
mov eax, dword [ebp - 0x36c]
mov dword [ecx + 0x11c], edx
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x36c]
push ecx
mov edx, dword [ebp - 0x370]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x110], eax
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x110], 0
jne 0x478388
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
call fcn.0047a9d0
xor eax, eax
mov dword [ebp - 0x5e0], eax
mov dword [ebp - 0x5dc], eax
mov dword [ebp - 0x5d8], 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 - 0x5e0], 0x10
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x5dc], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c4], ecx
mov edx, dword [ebp - 0x370]
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x5d4], edx
mov dword [ebp - 0x5d0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x5ca], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5d8], eax
lea edx, [ebp - 0x5e0]
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 + 0x140]
call edx
jmp case.0x474f7a.1
mov eax, dword [ebp - 0x258]
movzx ecx, byte [eax + 0x100]
test ecx, ecx
jne 0x478474
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 - 0x368], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x364], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x368]
mov ecx, dword [ebp - 0x364]
mov dword [edx + 0x11c], eax
mov dword [edx + 0x120], ecx
mov edx, dword [ebp - 0x364]
push edx
mov eax, dword [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
jne 0x4784e5
jmp case.0x474f7a.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 0x478505
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [ebp - 0x258]
call fcn.0047bb60
xor ecx, ecx
mov dword [ebp - 0x600], ecx
mov dword [ebp - 0x5fc], ecx
mov dword [ebp - 0x5f8], 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 - 0x600], 0x11
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x5fc], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5e8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5e4], ecx
mov edx, dword [ebp - 0x368]
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x5f4], edx
mov dword [ebp - 0x5f0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x5ea], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5f8], eax
lea edx, [ebp - 0x600]
push edx
mov eax, dword [ebp - 0x280]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x280]
mov dword [ecx + 0x110], edx
jmp case.0x474f7a.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x360], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x360]
mov eax, dword [ebp - 0x35c]
mov dword [ecx + 0x11c], edx
mov dword [ecx + 0x120], eax
mov ecx, dword [ebp - 0x35c]
push ecx
mov edx, dword [ebp - 0x360]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x110], eax
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x110], 0
jne 0x478660
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
call fcn.0047a9d0
xor eax, eax
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x61c], eax
mov dword [ebp - 0x618], 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 - 0x620], 0x12
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x61c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x608], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x604], ecx
mov edx, dword [ebp - 0x360]
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x614], edx
mov dword [ebp - 0x610], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x60a], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x618], eax
lea edx, [ebp - 0x620]
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 + 0x140]
call edx
jmp case.0x474f7a.1
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x104], 0
jne 0x47873c
jmp case.0x474f7a.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 ecx, dword [ebp - 0x38c]
mov dword [edx + 0x11c], eax
mov dword [edx + 0x120], ecx
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x110], 0
jne 0x4787ae
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
call fcn.0047a9d0
xor eax, eax
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x4f8], 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 - 0x500], 0x14
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x4fc], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4e4], ecx
mov edx, dword [ebp - 0x390]
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x4f4], edx
mov dword [ebp - 0x4f0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x4ea], cx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x110]
mov dword [ebp - 0x4e4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4f8], eax
lea ecx, [ebp - 0x500]
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 + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x110], 0
jmp case.0x474f7a.1
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x104], 0
jne 0x4788ac
jmp case.0x474f7a.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 eax, dword [ebp - 0x338]
mov dword [ecx + 0x11c], edx
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.004737f0
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
jne 0x478937
jmp case.0x474f7a.1
mov eax, dword [ebp - 0x2b0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 0x258]
je 0x478957
jmp case.0x474f7a.1
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x3c0], edx
xor eax, eax
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], 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 - 0x640], 0x15
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x63c], ecx
cmp dword [ebp - 0x3c0], 0
jge 0x4789c9
mov dword [ebp - 0x3bc], 1
jmp 0x4789d3
mov dword [ebp - 0x3bc], 0
mov edx, dword [ebp - 0x3bc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x3c0]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
mov dword [ebp - 0x628], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x624], eax
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x634], ecx
mov dword [ebp - 0x630], edx
call fcn.00474be0
mov word [ebp - 0x62a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x640]
push eax
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [edx + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x11c]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x120]
and edx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or eax, ecx
push eax
push 0
push 0x200
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
jne 0x478ab5
jmp case.0x474f7a.1
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x108], 0
jne 0x478ac9
jmp case.0x474f7a.1
xor eax, eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x470], 5
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x108]
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x454], ecx
mov dx, word [ebp + 0xc]
mov word [ebp - 0x45c], dx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x11c]
mov edx, dword [eax + 0x120]
mov dword [ebp - 0x464], ecx
mov dword [ebp - 0x460], edx
call fcn.00474be0
mov word [ebp - 0x45a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x470]
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 + 0x140]
call eax
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
jne 0x478bac
jmp case.0x474f7a.1
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x108], 0
jne 0x478bc0
jmp case.0x474f7a.1
xor eax, eax
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x490], 3
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x108]
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x474], ecx
mov dx, word [ebp + 0xc]
mov word [ebp - 0x47c], dx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x11c]
mov edx, dword [eax + 0x120]
mov dword [ebp - 0x484], ecx
mov dword [ebp - 0x480], edx
call fcn.00474be0
mov word [ebp - 0x47a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x490]
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 + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x108]
mov dword [ecx + 0x114], eax
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x104], 0
jne 0x478cbb
jmp case.0x474f7a.1
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x114], 0
jne 0x478ccf
jmp case.0x474f7a.1
xor eax, eax
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x4b0], 4
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x114]
mov dword [ebp - 0x4ac], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x498], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x494], ecx
mov dx, word [ebp + 0xc]
mov word [ebp - 0x49c], dx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0x11c]
mov edx, dword [eax + 0x120]
mov dword [ebp - 0x4a4], ecx
mov dword [ebp - 0x4a0], edx
call fcn.00474be0
mov word [ebp - 0x49a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x4b0]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x114]
mov eax, dword [ebp - 0x258]
mov edx, dword [edx]
mov ecx, dword [eax + 0x114]
mov eax, dword [edx + 0x140]
call eax
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x114], 0
jmp case.0x474f7a.1
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x104], 0
jne 0x478dc2
jmp case.0x474f7a.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movzx ecx, ax
cmp ecx, 1
je 0x478dd7
jmp case.0x474f7a.1
mov edx, dword [ebp - 0x258]
movzx eax, byte [edx + 0x47d]
test eax, eax
je 0x478def
mov al, 1
jmp 0x4790bf
xor ecx, ecx
mov dword [ebp - 0x358], ecx
mov dword [ebp - 0x354], ecx
lea edx, [ebp - 0x358]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x358]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.004737f0
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jne 0x478e51
jmp case.0x474f7a.1
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [eax + 0x14]
call edx
and eax, 2
jne 0x478e6e
jmp case.0x474f7a.1
xor eax, eax
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x658], eax
mov dword [ebp - 0x654], eax
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], eax
mov dword [ebp - 0x660], 0x1a
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x65c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x648], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x644], eax
mov ecx, dword [ebp - 0x358]
mov edx, dword [ebp - 0x354]
mov dword [ebp - 0x654], ecx
mov dword [ebp - 0x650], edx
call fcn.00474be0
mov word [ebp - 0x64a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x660]
push eax
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x140]
call eax
mov al, 1
jmp 0x4790bf
mov ecx, dword [ebp - 0x258]
cmp dword [ecx + 0x108], 0
je 0x478fc4
xor edx, edx
mov dword [ebp - 0x6d4], edx
mov dword [ebp - 0x6d0], edx
mov dword [ebp - 0x6cc], edx
mov dword [ebp - 0x6c8], edx
mov dword [ebp - 0x6c4], edx
mov dword [ebp - 0x6c0], edx
mov dword [ebp - 0x6bc], edx
mov dword [ebp - 0x6b8], edx
mov dword [ebp - 0x6d4], 0x18
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6bc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x6b8], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0x108]
mov dword [ebp - 0x6d0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6cc], eax
lea ecx, [ebp - 0x6d4]
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 + 0x140]
call eax
jmp case.0x474f7a.1
mov ecx, dword [ebp - 0x258]
call fcn.004749d0
movzx ecx, al
test ecx, ecx
je 0x478fe6
mov ecx, dword [ebp - 0x258]
call fcn.0047a9d0
jmp case.0x474f7a.1
cmp dword [ebp + 0x10], 0
jne 0x478ff6
jmp case.0x474f7a.1
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3c4], edx
cmp dword [ebp - 0x3c4], 0
je 0x47902e
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 - 0x3c4]
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 0x4790bf
cmp dword [ebp + 0x10], 0
jne 0x479042
jmp case.0x474f7a.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 0x47907a
mov al, 1
jmp 0x4790bf
jmp case.0x474f7a.1
cmp dword [ebp + 0x10], 0
jne 0x479084
jmp case.0x474f7a.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.0x474f7a.1
mov al, 1
jmp 0x4790bf
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.00504c38
mov esp, ebp
pop ebp
ret 0x10