Function at 0x59a3e0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x7bc85c
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x3e4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x3fc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x418]
mov ebp, dword [esp + 0x410]
mov ebx, dword [esp + 0x414]
mov esi, ecx
cmp dword [esi], 0
mov dword [esp + 0x64], eax
je 0x59bfd2
nop
lea eax, [esi + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esi + 0x10c]
call fcn.0059caa0
push 0
lea ecx, [esi + 0x10c]
mov edi, eax
call fcn.0059ca10
lea eax, [esi + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x59a531
mov eax, dword [edi + 0x108]
test eax, eax
je 0x59a4a7
lea ecx, [eax + 0x38]
call fcn.005b03b0
test al, al
je 0x59a4a7
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.005b0480
test al, al
jne 0x59a4f7
lea ecx, [esi + 0xc4]
mov dword [esp + 0x34], 0
call fcn.0059ca80
test eax, eax
jle 0x59a4f7
mov edi, edi
cmp dword [edi + 0x108], 0
je 0x59a4f7
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esi + 0xc4]
call fcn.0059cac0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push edi
call eax
inc dword [esp + 0x34]
lea ecx, [esi + 0xc4]
call fcn.0059ca80
cmp dword [esp + 0x34], eax
jl 0x59a4c0
mov dword [esp + 0x34], edi
lea ecx, [edi + 0x84]
mov dword [esp + 0x404], 0
call fcn.0059cc80
mov ecx, edi
mov dword [esp + 0x404], 0xffffffff
call fcn.0059cc80
push edi
call fcn.00704960
add esp, 4
jmp 0x59a440
lea ecx, [esi + 0xe8]
mov dword [esp + 0x34], 0
call fcn.0059ca80
mov edi, dword [esp + 0x40c]
test eax, eax
jle 0x59a595
nop
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esi + 0xe8]
mov byte [esp + 0x43], 0
call fcn.0059cac0
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x3f]
push ecx
push ebx
push ebp
push edi
mov ecx, eax
call edx
cmp byte [esp + 0x3f], 0
jne 0x59b28a
inc dword [esp + 0x34]
lea ecx, [esi + 0xe8]
call fcn.0059ca80
cmp dword [esp + 0x34], eax
jl 0x59a550
cmp edi, 0x111
ja 0x59b2ba
je 0x59b297
lea eax, [edi - 5]
cmp eax, 0xfd
ja case.default.0x59b577
movzx edx, byte [eax + 0x59c030]
jmp dword [edx*4 + 0x59c000]
mov ecx, dword [esi + 0x70]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x59a623
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
call edx
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x59a645
mov dword [esp + 0x14], 0xe
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
lea edx, [esp + 0x14]
push edx
call eax
push 0
mov ecx, esi
call fcn.00599d20
mov ecx, dword [esi]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x59b577
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x59b577
cmp dword [esi + 0x25c], 0
jne 0x59a68a
mov edx, dword [esi]
push 0
push 0
push edx
mov byte [esi + 0xb9], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x64]
mov dword [eax], 1
mov al, 1
jmp 0x59bfd4
mov edx, dword [esi]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x70]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x59b290
cmp dword [esi + 0x54], ebp
jne 0x59a714
push 0x3c
lea eax, [esp + 0xf4]
push ebp
push eax
mov dword [esp + 0xf8], ebp
call fcn.007202b0
mov edx, dword [esi]
add esp, 0xc
lea ecx, [esp + 0xec]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [esi]
lea eax, [esp + 0xec]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x59bfd4
cmp byte [esi + 0xbc], 0
je 0x59aaab
mov edx, dword [esi]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x59a744
xor eax, 0x80000
push eax
mov eax, dword [esi]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi]
lea ecx, [esp + 0x4c]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x3c
lea eax, [esp + 0x134]
push ebp
push eax
mov dword [esp + 0x138], ebp
call fcn.007202b0
mov edx, dword [esi]
add esp, 0xc
lea ecx, [esp + 0x12c]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
cmp eax, ebp
je 0x59a79f
push eax
call ebx
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebp
je 0x59a7af
push eax
call edi
cmp byte [esi + 0xb9], 0
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], ebp
je 0x59a8cf
lea eax, [esp + 0x4c]
push eax
mov byte [esi + 0xb9], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x59a8cf
mov ecx, dword [esi + 0x54]
call fcn.005bfa20
test al, al
je 0x59a82e
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x59a7f2
push eax
call ebx
mov eax, dword [esi + 0x18]
cmp eax, ebp
je 0x59a7fc
push eax
call edi
mov edi, dword [esp + 0x4c]
mov ecx, dword [esi + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x60]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x64]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x68]
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], ebp
mov edx, dword [ecx]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x38]
call eax
jmp 0x59a899
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x13c]
push reloc.gdiplus.dll_Ordinal_1
push ebp
push 0x598660
call eax
mov ebx, eax
cmp ebx, ebp
je 0x59a899
lea esp, [esp]
mov edi, dword [ebx]
mov edx, dword [edi + 0x34]
mov ecx, ebx
call edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x38]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x13c]
push reloc.gdiplus.dll_Ordinal_1
push ebp
push 0x598660
call edx
mov ebx, eax
cmp ebx, ebp
jne 0x59a850
cmp byte [esi + 0xb8], 0
je 0x59a8bc
mov eax, dword [esi + 0x54]
push ebp
push ebp
push ebp
push str.windowinit
push eax
mov ecx, esi
mov byte [esi + 0xb8], 0
call fcn.00599100
mov ecx, dword [esi + 0x54]
push ebp
push ebp
push ebp
push str.windowresized
push ecx
mov ecx, esi
call fcn.00599100
cmp byte [esi + 0xba], 0
je 0x59a99d
cmp byte [esi + 0xb9], 0
je 0x59a8fc
mov edx, dword [esi]
push ebp
push ebp
push edx
mov byte [esi + 0xba], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x59a99d
mov eax, dword [esi + 0x5c]
cmp eax, ebp
jne 0x59a98e
mov ecx, dword [esi + 0x54]
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x98], eax
push reloc.WS2_32.dll_closesocket
lea eax, [esp + 0x9c]
mov byte [esp + 0xa4], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
push eax
push 0x598580
call edx
cmp eax, ebp
jne 0x59a98e
mov ecx, dword [esi + 0x54]
xor eax, eax
mov dword [esp + 0x94], eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x94], eax
lea edx, [esp + 0x90]
mov dword [esp + 0x90], ebp
mov byte [esp + 0x98], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x13c]
push edx
push 0x598580
call eax
cmp eax, ebp
je 0x59a996
push eax
mov ecx, esi
call fcn.00599d20
mov byte [esi + 0xba], 0
cmp byte [esi + 0xbb], 0
je 0x59a9d7
cmp dword [esi + 0x18], ebp
jne 0x59a9d7
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x50]
mov ecx, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x158]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x10]
push eax
call edx
mov ecx, dword [esi]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
push 2
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x54]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push eax
push ebp
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x70]
push ecx
push edx
mov edx, dword [esi]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x58]
push ecx
push ebp
push edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov byte [esp + 0x58], 0
mov byte [esp + 0x59], 0
mov byte [esp + 0x5a], 0xff
mov byte [esp + 0x5b], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov ecx, dword [esi]
lea eax, [esp + 0x12c]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x59bfd4
cmp byte [esi + 0xb9], 0
je 0x59ac0f
xor eax, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esi]
push edx
push eax
mov byte [esi + 0xb9], 0
mov dword [esp + 0x54], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x59ac0f
mov ecx, dword [esi + 0x54]
call fcn.005bfa20
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
test al, al
je 0x59ab77
mov edi, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x60]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x64]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x68]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x38]
call eax
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
cmp eax, ebp
je 0x59ab38
push eax
call ebx
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebp
je 0x59ab48
push eax
call edi
cmp byte [esi + 0xbc], 0
mov dword [esi + 0xc], ebp
mov dword [esi + 0x14], ebp
jne 0x59abd9
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x59ab65
push eax
call ebx
mov eax, dword [esi + 0x18]
cmp eax, ebp
je 0x59ab6f
push eax
call edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], ebp
jmp 0x59abd9
mov eax, dword [edx + 0x13c]
push reloc.gdiplus.dll_Ordinal_1
push ebp
push 0x598660
call eax
mov ebx, eax
cmp ebx, ebp
je 0x59abd9
mov edi, dword [ebx]
mov edx, dword [edi + 0x34]
mov ecx, ebx
call edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x38]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x13c]
push reloc.gdiplus.dll_Ordinal_1
push ebp
push 0x598660
call edx
mov ebx, eax
cmp ebx, ebp
jne 0x59ab90
cmp byte [esi + 0xb8], 0
je 0x59abfc
mov eax, dword [esi + 0x54]
push ebp
push ebp
push ebp
push str.windowinit
push eax
mov ecx, esi
mov byte [esi + 0xb8], 0
call fcn.00599100
mov ecx, dword [esi + 0x54]
push ebp
push ebp
push ebp
push str.windowresized
push ecx
mov ecx, esi
call fcn.00599100
cmp byte [esi + 0xba], 0
je 0x59acdd
cmp byte [esi + 0xb9], 0
je 0x59ac3c
mov edx, dword [esi]
push ebp
push ebp
push edx
mov byte [esi + 0xba], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x59acdd
mov eax, dword [esi + 0x5c]
cmp eax, ebp
jne 0x59acce
mov ecx, dword [esi + 0x54]
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x8c], eax
push reloc.WS2_32.dll_closesocket
lea eax, [esp + 0x90]
mov byte [esp + 0x98], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
push eax
push 0x598580
call edx
cmp eax, ebp
jne 0x59acce
mov ecx, dword [esi + 0x54]
xor eax, eax
mov dword [esp + 0xa0], eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0xa0], eax
lea edx, [esp + 0x9c]
mov dword [esp + 0x9c], ebp
mov byte [esp + 0xa4], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x13c]
push edx
push 0x598580
call eax
cmp eax, ebp
je 0x59acd6
push eax
mov ecx, esi
call fcn.00599d20
mov byte [esi + 0xba], 0
cmp byte [esi + 0xbb], 0
je 0x59ad37
cmp dword [esi + 0x14], ebp
jne 0x59ad37
mov edx, dword [esi]
lea ecx, [esp + 0x4c]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub edx, dword [esp + 0x4c]
push ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x14], eax
push 0x3c
lea ecx, [esp + 0xb4]
push ebp
push ecx
mov dword [esp + 0xb8], ebp
call fcn.007202b0
mov eax, dword [esi]
add esp, 0xc
lea edx, [esp + 0xac]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0xbb], 0
je 0x59aea1
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edx
call ebp
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x158]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esi + 0xc]
push eax
call edx
lea ebx, [esi + 0xf4]
mov ecx, ebx
xor edi, edi
call fcn.0059ca80
test eax, eax
jle 0x59adec
lea ecx, [ecx]
push edi
mov ecx, ebx
call fcn.0059cac0
mov edx, dword [eax]
mov edx, dword [edx + 0x170]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, eax
call edx
mov ecx, ebx
inc edi
call fcn.0059ca80
cmp edi, eax
jl 0x59adc0
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esi + 0xc]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0xd0]
sub edx, eax
push edx
mov edx, dword [esp + 0xd0]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0xc8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x64]
mov edx, dword [esi + 0xc]
push ecx
push edx
call ebp
cmp byte [esi + 0x50], 0
je 0x59aedd
mov eax, dword [0x89f6c8]
mov ecx, dword [esp + 0xac]
push eax
push ecx
call ebp
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0xac]
push eax
push edx
call ebp
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0xac]
push edi
push edx
call ebp
jmp 0x59aedd
mov eax, dword [esp + 0xac]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x158]
mov edi, eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0xb0]
push eax
call edx
mov eax, dword [esp + 0xac]
push edi
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [esi]
lea ecx, [esp + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [esi + 0xb9], 0
je 0x59af04
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x59bfd4
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x59af15
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x78]
test eax, eax
jle 0x59af1f
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x59af29
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x80]
test eax, eax
jle case.default.0x59b577
mov dword [ebx + 0x24], eax
jmp case.default.0x59b577
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x59af8c
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], 0x16
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
call edx
mov esi, dword [esi + 0x54]
test esi, esi
je 0x59af9a
mov ecx, esi
call fcn.005bfa30
mov al, 1
jmp 0x59bfd4
movsx eax, bx
shr ebx, 0x10
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
movsx ecx, bx
push edx
push eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x64], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], edx
je case.default.0x59b577
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x14], 0x11
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
jmp 0x59b7b6
cmp dword [esi + 0x58], 0
je case.default.0x59b577
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], 5
mov word [esp + 0x28], bp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.00596340
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
lea edx, [esp + 0x14]
push edx
call eax
jmp case.default.0x59b577
cmp dword [esi + 0x58], 0
je case.default.0x59b577
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], 3
mov word [esp + 0x28], bp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.00596340
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
lea edx, [esp + 0x14]
push edx
call eax
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x68], ecx
jmp case.default.0x59b577
cmp dword [esi + 0x68], 0
je case.default.0x59b577
mov edx, dword [esi + 0x6c]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x14], 4
mov word [esp + 0x28], bp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.00596340
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
call edx
mov dword [esi + 0x68], 0
jmp case.default.0x59b577
cmp bx, 1
jne case.default.0x59b577
cmp byte [esi + 0xbf], 0
jne 0x59b290
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, esi
call fcn.005998f0
mov edi, eax
test edi, edi
je case.default.0x59b577
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test al, 2
je case.default.0x59b577
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0xec], 0x17
mov dword [esp + 0x104], ebp
mov dword [esp + 0x108], ebx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
call fcn.00596340
mov word [esp + 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xf4], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x148]
lea ecx, [esp + 0xec]
push ecx
mov ecx, edi
call edx
mov al, bl
jmp 0x59bfd4
test ebx, ebx
je 0x59b290
mov eax, dword [ebx]
push ebx
push ebp
add edi, 0x2000
push edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
mov al, 1
jmp 0x59bfd4
test ebx, ebx
je case.default.0x59b577
push ebx
push ebp
push 0x2111
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x64]
mov dword [edx], eax
mov al, 1
jmp 0x59bfd4
cmp edi, 0x200
ja 0x59b556
je 0x59b3af
mov eax, edi
sub eax, 0x113
je 0x59b308
sub eax, 0x20
je 0x59b2e3
sub eax, 5
jne case.default.0x59b577
test ebx, ebx
je case.default.0x59b577
push ebx
push ebp
add edi, 0x2000
push edi
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
mov al, 1
jmp 0x59bfd4
lea ecx, [esi + 0xd0]
xor ebx, ebx
call fcn.0059ca80
test eax, eax
jle case.default.0x59b577
lea ecx, [ecx]
push ebx
lea ecx, [esi + 0xd0]
call fcn.0059cac0
mov edi, eax
mov edx, dword [edi + 8]
cmp edx, dword [esi]
jne 0x59b343
movzx eax, bp
cmp dword [edi + 0xc], eax
jne 0x59b343
cmp byte [edi + 0x10], 0
je 0x59b358
lea ecx, [esi + 0xd0]
inc ebx
call fcn.0059ca80
cmp ebx, eax
jl 0x59b320
jmp case.default.0x59b577
mov ecx, dword [edi + 4]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
call edx
jmp case.default.0x59b577
cmp byte [esi + 0xbe], 0
jne 0x59b413
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [esi]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x6c], 0x10
mov dword [esp + 0x70], 3
test eax, eax
jne 0x59b3ed
mov dword [esp + 0x78], 0x190
jmp 0x59b401
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0xbe], 1
mov ecx, dword [esi + 0x54]
movsx ebp, bx
shr ebx, 0x10
movsx ebx, bx
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
test ecx, ecx
jne 0x59b435
xor edi, edi
jmp 0x59b462
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
push 0xd
lea eax, [esp + 0x44]
push eax
push 0x598550
call edx
mov edi, eax
test edi, edi
je 0x59b462
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
cmp eax, esi
jne case.default.0x59b577
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x1c], eax
cmp edi, ecx
je 0x59b4dc
test ecx, ecx
je 0x59b4dc
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
lea edx, [esp + 0x14]
push edx
call eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x60], 0
test eax, eax
je 0x59b4dc
lea ecx, [esi + 0x20]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, dword [esi + 0x60]
je 0x59b505
test edi, edi
je 0x59b505
mov dword [esp + 0x14], 0xb
mov dword [esp + 0x18], edi
mov edx, dword [edi]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
mov dword [esi + 0x60], edi
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x59b52c
mov dword [esp + 0x14], 9
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
lea edx, [esp + 0x14]
push edx
call eax
jmp case.default.0x59b577
test edi, edi
je case.default.0x59b577
mov dword [esp + 0x14], 9
mov dword [esp + 0x18], edi
mov edx, dword [edi]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
jmp case.default.0x59b577
cmp edi, 0x20a
ja 0x59ba72
je 0x59b8da
lea eax, [edi - 0x201]
cmp eax, 3
ja case.default.0x59b577
jmp dword [eax*4 + 0x59c130]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
cmp eax, ecx
je 0x59b59f
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x59b59f
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
shr ecx, 0x10
movsx ecx, cx
movsx eax, bx
mov dword [esp + 0x60], ecx
mov dword [esi + 0x70], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x5c], eax
mov dword [esi + 0x6c], eax
mov dword [esp + 0x40], eax
test ecx, ecx
je case.default.0x59b577
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
push 0xd
lea eax, [esp + 0x44]
push eax
push 0x598550
call edx
mov edi, eax
test edi, edi
je case.default.0x59b577
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
cmp eax, esi
jne case.default.0x59b577
mov dword [esi + 0x64], edi
mov eax, dword [edi]
mov edx, dword [eax + 0x12c]
mov ecx, edi
call edx
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esi + 0xbf], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0xd
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov word [esp + 0x2a], bp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x148]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call edx
jmp case.default.0x59b577
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x54]
movsx edi, bx
shr ebx, 0x10
movsx eax, bx
mov dword [esp + 0xa8], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
test ecx, ecx
je case.default.0x59b577
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
push 0xd
lea eax, [esp + 0x44]
push eax
push 0x598550
call edx
mov ebx, eax
test ebx, ebx
je case.default.0x59b577
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
cmp eax, esi
jne case.default.0x59b577
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0xa8]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esi + 0xbf], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov word [esp + 0x2a], bp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call edx
mov dword [esi + 0x64], ebx
jmp case.default.0x59b577
mov eax, ebx
shr eax, 0x10
cmp dword [esi + 0x64], 0
cwde
movsx edi, bx
mov dword [esp + 0x44], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], eax
je case.default.0x59b577
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x64]
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0xe
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], edi
mov word [esp + 0x2a], bp
mov dword [esp + 0x24], edx
mov byte [esi + 0xbf], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
lea edx, [esp + 0x14]
push edx
call eax
mov dword [esi + 0x64], 0
jmp case.default.0x59b577
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, ebx
shr edx, 0x10
movsx ecx, dx
movsx eax, bx
mov dword [esp + 0x60], ecx
mov dword [esi + 0x70], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x5c], eax
mov dword [esi + 0x6c], eax
mov dword [esp + 0x40], eax
test ecx, ecx
je case.default.0x59b577
mov eax, dword [ecx]
mov eax, dword [eax + 0x13c]
push 0xd
lea edx, [esp + 0x44]
push edx
push 0x598550
call eax
mov edi, eax
test edi, edi
je case.default.0x59b577
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
cmp eax, esi
jne case.default.0x59b577
mov edx, dword [edi]
mov eax, dword [edx + 0x12c]
mov ecx, edi
call eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
mov byte [esi + 0xbf], 1
mov dword [esp + 0x14], 0xf
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov word [esp + 0x2a], bp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
mov dword [esi + 0x64], edi
jmp case.default.0x59b577
movsx eax, bx
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x34], eax
movsx edx, cx
mov ecx, dword [esi]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x70], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x6c], eax
mov dword [esp + 0x40], eax
test ecx, ecx
je case.default.0x59b577
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
push 0xd
lea eax, [esp + 0x44]
push eax
push 0x598550
call edx
mov edi, eax
test edi, edi
je case.default.0x59b577
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
cmp eax, esi
jne case.default.0x59b577
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.WebBrowserUI
mov ecx, edi
call edx
push eax
call fcn.00723690
add esp, 8
test eax, eax
jne 0x59b9ed
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x59b98c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.EditUI
call edx
push eax
call fcn.00723690
add esp, 8
test eax, eax
je 0x59b9ed
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x6c], 0x15
mov dword [esp + 0x70], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x74], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x148]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call edx
push 0
push 0
push 0
push str.setfocus
push edi
mov ecx, esi
call fcn.00599100
xor eax, eax
shr ebp, 0x10
movsx ecx, bp
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
test ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setl al
mov dword [esp + 0x14], 0x12
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], eax
call fcn.00596340
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
movzx eax, word [esi + 0x70]
movzx ecx, word [esi + 0x6c]
mov edx, dword [esi]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x59b577
cmp edi, 0x318
ja 0x59be38
je 0x59bd75
sub edi, 0x215
je 0x59bd1c
sub edi, 0x8c
je 0x59badf
sub edi, 2
jne case.default.0x59b577
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x59babc
lea ecx, [esi + 0x20]
push ecx
push 0
push 0x411
push eax
call edi
cmp byte [esi + 0xbe], 0
je 0x59bad3
mov edx, dword [esi]
push 0xffffffffffffffff
push 0
push 0x200
push edx
call edi
mov byte [esi + 0xbe], 0
jmp case.default.0x59b577
mov ecx, dword [esi + 0x54]
movsx edi, bx
shr ebx, 0x10
movsx ebp, bx
mov byte [esi + 0xbe], 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebp
test ecx, ecx
je case.default.0x59b577
mov eax, dword [ecx]
mov eax, dword [eax + 0x13c]
push 0xd
lea edx, [esp + 0x44]
push edx
push 0x598550
call eax
mov ebx, eax
test ebx, ebx
je case.default.0x59b577
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x59bb9b
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x34], eax
cmp eax, dword [esi]
je 0x59bb9b
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1fa]
push eax
mov word [esp + 0x1fc], dx
call fcn.007202b0
mov edx, dword [esp + 0x40]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x1f4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x59bb9b
lea eax, [esp + 0x1f0]
push str.Internet_Explorer_Server
push eax
call fcn.00723690
add esp, 8
test eax, eax
jne 0x59bb9b
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x59bbf0
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xd4]
mov ecx, ebx
call edx
test al, al
je 0x59b290
mov eax, dword [ebx]
mov edx, dword [eax + 0xd0]
lea ecx, [esp + 0x16c]
push ecx
mov ecx, ebx
call edx
lea ecx, [esp + 0x16c]
mov dword [esp + 0x404], 2
call fcn.0059cec0
test al, al
jne 0x59bcfe
push 0x30
lea edi, [esi + 0x20]
push 0
push edi
call fcn.007202b0
mov eax, dword [esi]
mov dword [edi], 0x30
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov eax, dword [0x89f6cc]
add esp, 0xc
lea ecx, [esp + 0x16c]
mov dword [esi + 0x40], eax
call fcn.0059ccc0
mov dword [esi + 0x44], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
mov ecx, ebx
call eax
cmp dword [esi + 0x1c], 0
mov ecx, dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x3c], edx
jne 0x59bce2
mov eax, dword [0x89f6cc]
mov ecx, dword [esi]
push 0
push eax
push 0
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0
push 0x432
push eax
mov dword [esi + 0x1c], eax
call ebx
mov edx, dword [esi + 0x1c]
push edi
push 0
push 0x436
push edx
call ebx
mov eax, dword [esi + 0x1c]
push edi
push 1
push 0x411
push eax
call ebx
lea ecx, [esp + 0x16c]
mov dword [esp + 0x404], 0xffffffff
call fcn.0059cc80
mov al, 1
jmp 0x59bfd4
mov ecx, dword [esi + 0x64]
test ecx, ecx
je case.default.0x59b577
cmp ebx, dword [esi]
je case.default.0x59b577
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0x1b
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x14c]
lea eax, [esp + 0x14]
push eax
call edx
jmp case.default.0x59b577
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x158]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
push eax
push ebp
call edx
test bl, 0x10
je 0x59be27
mov eax, dword [esi]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x59be27
or ebx, 2
mov edi, edi
xor eax, eax
lea ecx, [esp + 0x6c]
push ecx
push edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi]
push 2
lea edx, [esp + 0x70]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push 0
neg ecx
push ecx
neg edx
push edx
push ebp
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push ebx
push ebp
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x59bdc0
mov eax, dword [esp + 0x34]
push eax
push ebp
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x59b577
cmp edi, 0x31e
je 0x59bec5
cmp edi, 0x8001
jne case.default.0x59b577
lea edi, [esi + 0x100]
push edi
lea ecx, [esp + 0x44]
call fcn.0059d410
mov ecx, edi
mov dword [esp + 0x404], 1
call fcn.0059c850
lea ecx, [esp + 0x40]
xor edi, edi
call fcn.0059ca80
test eax, eax
jle 0x59bea6
push edi
lea ecx, [esp + 0x44]
call fcn.0059cac0
test eax, eax
je 0x59be98
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
inc edi
call fcn.0059ca80
cmp edi, eax
jl 0x59be81
lea ecx, [esp + 0x40]
call fcn.0059c850
lea ecx, [esp + 0x40]
mov dword [esp + 0x404], 0xffffffff
call fcn.0059c840
jmp case.default.0x59b577
lea ebx, [esi + 0x25c]
push str.Dwmapi.dll
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je case.default.0x59b577
push str.DwmIsCompositionEnabled
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x59bef5
push ebx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [esp]
lea ebp, [esi + 0x260]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0x10c]
push 0
mov ecx, edi
call fcn.0059caa0
push 0
mov ecx, edi
mov ebx, eax
call fcn.0059ca10
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x59bfd2
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x59bf5f
lea ecx, [eax + 0x38]
call fcn.005b03b0
test al, al
je 0x59bf5f
mov ecx, dword [ebx + 0x108]
push ebx
add ecx, 0x38
call fcn.005b0480
test al, al
jne 0x59bf98
lea edi, [esi + 0xc4]
mov ecx, edi
xor ebp, ebp
call fcn.0059ca80
test eax, eax
jle 0x59bf98
cmp dword [ebx + 0x108], 0
je 0x59bf98
push ebp
mov ecx, edi
call fcn.0059cac0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push ebx
call eax
mov ecx, edi
inc ebp
call fcn.0059ca80
cmp ebp, eax
jl 0x59bf72
mov dword [esp + 0x34], ebx
lea ecx, [ebx + 0x84]
mov dword [esp + 0x404], 3
call fcn.0059cc80
mov ecx, ebx
mov dword [esp + 0x404], 0xffffffff
call fcn.0059cc80
push ebx
call fcn.00704960
add esp, 4
jmp case.default.0x59b577
xor al, al
mov ecx, dword [esp + 0x3fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3e4]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x3f4
ret 0x10