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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd7b7
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x540320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1e8], edi
cmp dword [edi + 0x84], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c4], eax
je case.default.0x4a8acb
lea ecx, [edi + 0x360]
mov dword [ebp - 0x1d0], 0
call fcn.0046d2c0
mov esi, dword [ebp - 0x1bc]
test eax, eax
jle 0x4a6f20
xor ecx, ecx
mov edi, edi
push ecx
lea ecx, [edi + 0x360]
mov byte [ebp - 0x1d9], 0
call fcn.004a2690
lea ecx, [ebp - 0x1d9]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x1b8]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x1d9], 0
jne 0x4a6f7a
inc dword [ebp - 0x1d0]
lea ecx, [edi + 0x360]
call fcn.0046d2c0
mov ecx, dword [ebp - 0x1d0]
cmp ecx, eax
jl 0x4a6ed0
mov cl, byte [edi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x4a7026
mov eax, edx
sub eax, 0x83
je 0x4a7013
sub eax, 2
je 0x4a7013
dec eax
jne 0x4a7026
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a7064
cmp dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1c4]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4a95c7
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x4a6fbf
cmp eax, 0x200
jae 0x4a6f9f
cmp eax, 0x7b
je 0x4a6fc6
mov al, 1
jmp 0x4a95c7
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [edi + 0xf8], eax
mov al, 1
mov dword [edi + 0xf4], ecx
jmp 0x4a95c7
cmp eax, 0x20a
jne 0x4a700c
mov ecx, dword [ebp - 0x1bc]
movsx eax, cx
mov dword [ebp - 0x1cc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1cc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1cc]
mov dword [edi + 0xf4], eax
mov eax, dword [ebp - 0x1c8]
mov dword [edi + 0xf8], eax
mov al, 1
jmp 0x4a95c7
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 0
jmp 0x4a95c7
cmp edx, 0x111
ja 0x4a85bb
jne 0x4a7067
mov eax, dword [ebp - 0x1bc]
test eax, eax
je case.default.0x4a8acb
push eax
push dword [ebp - 0x1b8]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov al, 1
jmp 0x4a95c7
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x4a8acb
movzx eax, byte [eax + 0x4a961c]
jmp dword [eax*4 + 0x4a95e4]
mov eax, dword [edi + 0xf4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xf4], 0
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xe4], eax
call fcn.004a6e00
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
mov dword [ebp - 0xec], eax
test ecx, ecx
je 0x4a7103
mov dword [ebp - 0xf4], 0xa
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x4a712c
mov dword [ebp - 0xf4], 0xe
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
push 1
push 0
mov ecx, edi
call fcn.004aab30
mov esi, dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4a7180
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [edi + 0x84]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4a7175
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x4a7180
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
test eax, eax
je case.default.0x4a8acb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xa8], 0
jmp case.default.0x4a8acb
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 1
jmp 0x4a95c7
cmp dword [edi + 0xe0], 0
jne 0x4a7224
push 0x3c
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x10c]
push eax
push dword [edi + 0x88]
call fcn.004d0740
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4a95c7
lea eax, [ebp - 0x124]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movdqu xmmword [ebp - 0x124], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0x145], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x30], xmm0
je 0x4a72f7
movdqu xmm0, xmmword [edi + 0x15c]
lea eax, [edi + 0x15c]
mov byte [edi + 0x143], 1
push eax
movdqu xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4a72c6
push 0x3c
lea eax, [ebp - 0x170]
mov dword [ebp - 0x174], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x174]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4a95c7
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
cmp eax, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x118]
cmovg eax, dword [ebp - 0x11c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
cmp eax, esi
movdqu xmmword [edi + 0x15c], xmm0
cmovg eax, esi
mov dword [ebp - 0x24], eax
jmp 0x4a7317
push 0
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4a700c
mov esi, dword [ebp - 0x118]
cmp byte [edi + 0x142], 0
je 0x4a732f
push 1
mov ecx, edi
call fcn.004ab0d0
mov esi, dword [ebp - 0x118]
push 1
mov ecx, edi
call fcn.004ab260
cmp byte [edi + 0x141], 0
je 0x4a7547
lea eax, [ebp - 0x124]
mov byte [edi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a75d7
mov ecx, dword [edi + 0xe0]
call fcn.004aea20
test al, al
je 0x4a7442
movdqu xmm0, xmmword [ebp - 0x124]
mov eax, dword [edi + 0x8c]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x4a7399
push eax
call esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x4a73a6
push eax
call esi
mov eax, dword [edi + 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4a73b9
push eax
call esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x4a73c6
push eax
call esi
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x9c], 0
je 0x4a7422
mov eax, dword [edi + 0x148]
add dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
movdqu xmm0, xmmword [ebp - 0x20]
jmp 0x4a7427
movdqu xmm0, xmmword [ebp - 0x40]
mov ecx, dword [edi + 0xe0]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
call dword [edx + 0x4c]
jmp 0x4a74e8
lea esi, [edi + 0x3a8]
mov ecx, esi
mov dword [ebp - 0x1d4], esi
call fcn.004a2a60
mov ecx, dword [edi + 0xe0]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x4ac400
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, esi
call fcn.0046d2c0
test eax, eax
jle 0x4a74e8
xor edi, edi
lea esp, [esp]
push edi
mov ecx, esi
call fcn.004a2690
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1c4], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x10c]
call edx
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1c4]
test al, al
jne 0x4a74af
mov eax, dword [esi + 0x40]
call eax
jmp 0x4a74b8
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi + 0x44]
call eax
movdqu xmm0, xmmword [eax]
push 1
sub esp, 0x10
mov ecx, esp
movdqu xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x1c4]
call dword [esi + 0x4c]
mov esi, dword [ebp - 0x1d4]
inc edi
mov ecx, esi
call fcn.0046d2c0
cmp edi, eax
jl 0x4a7480
mov edi, dword [ebp - 0x1e8]
cmp byte [edi + 0x140], 0
je 0x4a75d7
push 1
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0xe0]
mov ecx, edi
mov byte [edi + 0x140], 0
call fcn.004aa6a0
cmp byte [edi + 0x145], 0
je 0x4a75d7
cmp byte [edi + 0x158], 0
je 0x4a75d7
mov ecx, edi
call fcn.004a69a0
push 0
mov ecx, edi
call fcn.004ab260
mov al, 1
jmp 0x4a95c7
cmp byte [edi + 0x145], 0
je 0x4a75d7
cmp byte [edi + 0x158], 0
je 0x4a75d7
movdqu xmm0, xmmword [ebp - 0x124]
mov ecx, dword [edi + 0x98]
movdqu xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4a7598
mov eax, dword [ebp - 0x11c]
sub esi, dword [ebp - 0x120]
sub eax, dword [ebp - 0x124]
imul esi, eax
shl esi, 2
push esi
push 0
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x148]
add dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
movdqu xmm0, xmmword [ebp - 0x20]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call dword [edx + 0x4c]
cmp byte [edi + 0x143], 0
je 0x4a7665
cmp dword [edi + 0x94], 0
jne 0x4a7665
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], eax
je 0x4a7639
lea eax, [edi + 0x98]
push eax
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x124]
push eax
push dword [edi + 0x88]
call fcn.004d06c0
add esp, 0x10
jmp 0x4a765f
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x124]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x94], eax
push 0x3c
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1b4], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1b4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0x143], 0
je 0x4a7f30
push dword [edi + 0x94]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
mov dword [ebp - 0x1c8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [edi + 0x145], 0
mov dword [ebp - 0x1ec], eax
je 0x4a7737
cmp dword [edi + 0x2fc], 0
jne 0x4a7737
mov eax, dword [ebp - 0x118]
mov esi, eax
sub esi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x4a7737
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x4a7729
lea ebx, [ebx]
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x124]
mov eax, dword [edi + 0x98]
imul ecx, esi
add ecx, edx
inc edx
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x28]
cmp edx, ecx
jl 0x4a7700
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x118]
inc esi
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jl 0x4a76f6
mov ecx, dword [edi + 0xe0]
lea edx, [ebp - 0x30]
push 0
push edx
push dword [edi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x13c]
cmp byte [edi + 0x145], 0
je 0x4a79d1
lea ecx, [edi + 0x378]
mov dword [ebp - 0x1c4], 0
call fcn.0046d2c0
test eax, eax
jle 0x4a79d1
xor ecx, ecx
lea ecx, [ecx]
push ecx
lea ecx, [edi + 0x378]
call fcn.004a2690
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a77c4
push 1
push dword [ebp - 0x1c4]
lea ecx, [edi + 0x378]
call fcn.004a3080
push 1
push dword [ebp - 0x1c4]
lea ecx, [edi + 0x384]
call fcn.004a3080
jmp 0x4a79b8
inc dword [ebp - 0x1c4]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a79b8
push esi
lea eax, [ebp - 0x134]
mov ecx, edi
push eax
call fcn.004a6270
lea eax, [ebp - 0x134]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4a79b8
push dword [edi + 0x8c]
mov dword [ebp - 0x1d0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1bc], eax
push ecx
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp - 0x134]
push ecx
push eax
call fcn.004d06c0
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
sub edx, dword [ebp - 0x134]
sub ecx, dword [ebp - 0x130]
imul edx, ecx
mov dword [ebp - 0x1e0], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1d0]
call sub.MSVCR120.dll_memset
add esp, 0x1c
push dword [ebp - 0x1e0]
push dword [ebp - 0x1bc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1bc]
mov dword [ebp - 0x1d4], eax
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x128]
mov ecx, edx
sub ecx, dword [ebp - 0x130]
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1c0], edx
test ecx, ecx
jle 0x4a7963
mov edi, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x1b8]
lea esp, [esp]
mov eax, esi
xor edx, edx
sub eax, edi
test eax, eax
jle 0x4a7944
lea ebx, [ebx]
imul eax, ecx
mov ecx, dword [ebp - 0x1d0]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x4a7927
or eax, 0xff000000
mov dword [ecx], eax
mov esi, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x1b8]
mov eax, esi
inc edx
sub eax, edi
cmp edx, eax
jl 0x4a7900
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x1c0], edx
jmp 0x4a794a
mov edx, dword [ebp - 0x1c0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x130]
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jl 0x4a78f0
mov edi, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0x130]
sub edx, ecx
mov eax, dword [ebp - 0x134]
sub esi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1bc]
push edx
push esi
push ecx
push eax
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1d4]
mov esi, dword [ebp - 0x1bc]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1e0]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [edi + 0x378]
call fcn.0046d2c0
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x4a7780
lea ecx, [edi + 0x36c]
xor esi, esi
call fcn.0046d2c0
test eax, eax
jle 0x4a7a12
push esi
lea ecx, [edi + 0x36c]
call fcn.004a2690
lea ecx, [ebp - 0x30]
push ecx
push dword [edi + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x15c]
lea ecx, [edi + 0x36c]
inc esi
call fcn.0046d2c0
cmp esi, eax
jl 0x4a79e2
push dword [ebp - 0x1ec]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x145], 0
je 0x4a7e89
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x118]
mov eax, esi
sub eax, dword [ebp - 0x120]
movdqu xmm0, xmmword [ebp - 0x124]
mov edx, dword [ebp - 0x11c]
sub edx, dword [ebp - 0x124]
mov dword [ebp - 0x1bc], eax
mov eax, dword [edi + 0x148]
add eax, dword [ebp - 0x124]
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
cmp dword [edi + 0x2fc], 0
mov dword [ebp - 0x1c4], edx
je 0x4a7d24
cmp dword [edi + 0x9c], 0
jne 0x4a7b2a
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea esi, [edi + 0xa0]
mov dword [edi + 0x90], eax
push esi
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c4]
push dword [edi + 0x88]
call fcn.004d06c0
mov dword [edi + 0x9c], eax
mov eax, dword [ebp - 0x1bc]
imul eax, dword [ebp - 0x1c4]
shl eax, 2
push eax
push 0
push dword [esi]
call sub.MSVCR120.dll_memset
add esp, 0x1c
push dword [edi + 0x9c]
push dword [edi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 1
jmp 0x4a7b57
cmp byte [edi + 0x158], 0
je 0x4a7baa
mov eax, dword [ebp - 0x1bc]
imul eax, edx
shl eax, 2
push eax
push 0
push dword [edi + 0xa0]
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 4], 2
movdqu xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0xf0]
push eax
sub esp, 0x10
mov eax, esp
push dword [edi + 0x90]
movdqu xmmword [eax], xmm0
call fcn.004d6480
lea eax, [edi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push edi
push dword [edi + 0x90]
call fcn.004d4ab0
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004d0170
mov esi, dword [ebp - 0x118]
mov eax, dword [edi + 0x2fc]
cmp byte [eax + 0x14], 0
je 0x4a7d24
mov ecx, dword [ebp - 0x2c]
mov edx, esi
sub edx, dword [ebp - 0x24]
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x1e0], edx
cmp edx, eax
jge 0x4a7d1f
mov ecx, dword [ebp - 0x30]
mov eax, edx
imul eax, dword [ebp - 0x1c4]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1c0], eax
nop
cmp ecx, dword [ebp - 0x28]
jge 0x4a7cef
lea edx, [eax + ecx]
shl edx, 2
mov dword [ebp - 0x1d4], edx
jmp 0x4a7c10
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0x98]
add ecx, edx
mov dword [ebp - 0x1ec], ecx
mov al, byte [edx + eax + 3]
movzx edi, al
mov eax, dword [ecx]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x1ec]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx esi, al
mov eax, dword [ecx]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
shl esi, 8
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx eax, al
or esi, eax
mov eax, dword [ebp - 0x1ec]
shl esi, 8
movzx ecx, byte [eax]
mov eax, 0x80808081
imul ecx, edi
shl edi, 0x18
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1d4]
movzx eax, al
add edx, 4
or esi, eax
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1ec]
add esi, edi
mov edi, dword [ebp - 0x1e8]
mov dword [eax], esi
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
cmp eax, dword [ebp - 0x28]
jl 0x4a7c10
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x118]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1b8], ecx
add eax, dword [ebp - 0x1c4]
inc dword [ebp - 0x1e0]
mov dword [ebp - 0x1c0], eax
mov eax, esi
sub eax, edx
cmp dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1c0]
jl 0x4a7bf0
mov edx, dword [ebp - 0x1b8]
jmp 0x4a7d27
mov edx, dword [ebp - 0x30]
jmp 0x4a7d2a
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp byte [edi + 0x334], 0
je 0x4a7df5
mov eax, esi
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x1b8], eax
mov eax, esi
sub eax, ecx
cmp dword [ebp - 0x1b8], eax
jge 0x4a7df5
mov eax, dword [ebp - 0x1b8]
mov edi, eax
imul edi, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c0], edi
mov edi, dword [ebp - 0x1e8]
lea ecx, [ecx]
cmp edx, dword [ebp - 0x28]
jge 0x4a7dcc
mov eax, dword [ebp - 0x1c0]
add eax, edx
shl eax, 2
mov dword [ebp - 0x1d4], eax
mov esi, dword [edi + 0x98]
add esi, eax
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x18
test al, al
jne 0x4a7da5
test ecx, ecx
je 0x4a7da5
or ecx, 0xff000000
mov dword [esi], ecx
mov eax, dword [ebp - 0x1d4]
inc edx
add eax, 4
mov dword [ebp - 0x1d4], eax
cmp edx, dword [ebp - 0x28]
jl 0x4a7d86
mov esi, dword [ebp - 0x118]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1c4]
add dword [ebp - 0x1c0], eax
mov eax, esi
sub eax, ecx
cmp dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
jl 0x4a7d70
mov al, byte [edi + 0x144]
mov byte [ebp - 0x1ce], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1bc]
push 2
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x1d0]
push eax
push 0
lea eax, [ebp - 0x1f4]
mov word [ebp - 0x1d0], 0
push eax
push dword [edi + 0x8c]
lea eax, [ebp - 0x1fc]
mov byte [ebp - 0x1cd], 1
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x1f4], 0
push eax
push dword [edi + 0x88]
mov dword [ebp - 0x1f0], 0
push dword [edi + 0x84]
call dword [0x54b4d0]
jmp 0x4a7eb6
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
push 0xcc0020
push edx
push ecx
push dword [edi + 0x8c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x28]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
call esi
cmp byte [edi + 0xdd], 0
je 0x4a7f65
cmp byte [edi + 0x145], 0
jne 0x4a7f65
push dword [0x54b4d4]
push dword [edi + 0x88]
call esi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4a7f65
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe0]
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ecx]
push dword [edi + 0x88]
call dword [edx + 0x13c]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x1b4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, edi
call fcn.004ab260
cmp byte [edi + 0x141], 0
mov byte [edi + 0x158], 0
je 0x4a700c
mov ecx, edi
call fcn.004a69a0
mov al, 1
jmp 0x4a95c7
mov ecx, dword [edi + 0xfc]
mov eax, dword [ebp - 0x1bc]
test ecx, ecx
jle 0x4a7fb6
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x100]
test ecx, ecx
jle 0x4a7fc3
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x104]
test ecx, ecx
jle 0x4a7fd0
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle case.default.0x4a8acb
mov dword [eax + 0x24], ecx
jmp case.default.0x4a8acb
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x4a8078
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xf4], 0x16
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], eax
call fcn.004a6e00
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xf4]
mov word [ebp - 0xde], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je 0x4a8087
call fcn.004aeba0
cmp byte [edi + 0x145], 0
je 0x4a700c
mov ecx, edi
call fcn.004a69a0
mov al, 1
jmp 0x4a95c7
cmp byte [edi + 0xdc], 0
je case.default.0x4a8acb
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 3
jmp 0x4a95c7
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
mov ecx, edi
call fcn.004a6a20
test al, al
jne case.default.0x4a8acb
mov ecx, dword [ebp - 0x1bc]
movsx eax, cx
mov dword [ebp - 0x1cc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1cc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0xec]
mov eax, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1c8]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], edx
test ecx, ecx
je case.default.0x4a8acb
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xf4], 0x11
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xe4], edx
mov word [ebp - 0xde], ax
mov dword [ebp - 0xd8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov dword [edi + 0xec], 0
jmp case.default.0x4a8acb
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x4a8acb
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xdc], eax
mov word [ebp - 0xe0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xf4], 5
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], eax
call fcn.004a6e00
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x4a8acb
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x4a8acb
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xdc], eax
mov word [ebp - 0xe0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xf4], 3
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], eax
call fcn.004a6e00
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov eax, dword [edi + 0xe4]
mov dword [edi + 0xf0], eax
jmp case.default.0x4a8acb
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
mov eax, dword [edi + 0xf0]
test eax, eax
je case.default.0x4a8acb
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xdc], eax
mov word [ebp - 0xe0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xf4], 4
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], eax
call fcn.004a6e00
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xf0]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov dword [edi + 0xf0], 0
jmp case.default.0x4a8acb
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
cmp si, 1
jne case.default.0x4a8acb
cmp byte [edi + 0x336], 0
jne 0x4a700c
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x1e4], 0
push eax
mov dword [ebp - 0x1e0], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1e4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1e0]
mov ecx, edi
push dword [ebp - 0x1e4]
call fcn.004a5a30
mov edi, eax
test edi, edi
je case.default.0x4a8acb
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x4a8acb
mov eax, dword [ebp - 0x1b8]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x138], 0
movq qword [ebp - 0x140], xmm0
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x154], 0x17
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x144], eax
call fcn.004a6e00
mov word [ebp - 0x13e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x154]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x120]
mov al, 1
jmp 0x4a95c7
cmp dword [ebp - 0x1b8], 0
je case.default.0x4a8acb
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
mov dword [ebp - 0x1d4], esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
test eax, eax
je case.default.0x4a8acb
mov edi, edi
cmp dword [edi + 0x84], eax
je 0x4a851a
push eax
mov dword [ebp - 0x1d4], eax
call esi
test eax, eax
jne 0x4a8500
jmp case.default.0x4a8acb
lea ecx, [edi + 0x378]
xor esi, esi
call fcn.0046d2c0
test eax, eax
jle case.default.0x4a8acb
nop
push esi
lea ecx, [edi + 0x378]
call fcn.004a2690
cmp eax, dword [ebp - 0x1d4]
je 0x4a8559
lea ecx, [edi + 0x378]
inc esi
call fcn.0046d2c0
cmp esi, eax
jl 0x4a8530
jmp case.default.0x4a8acb
lea ecx, [edi + 0x384]
push esi
call fcn.004a2690
cmp eax, dword [edi + 0xe4]
je case.default.0x4a8acb
push 0
push esi
lea ecx, [edi + 0x384]
call fcn.004a2690
push eax
mov ecx, edi
call fcn.004aab30
jmp case.default.0x4a8acb
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je 0x4a85b4
push ecx
push dword [ebp - 0x1b8]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov al, 1
jmp 0x4a95c7
cmp edx, 0x200
ja 0x4a8aaa
je 0x4a878d
mov eax, edx
sub eax, 0x113
je 0x4a8616
sub eax, 0x20
je 0x4a85e4
sub eax, 5
jne case.default.0x4a8acb
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je case.default.0x4a8acb
push ecx
push dword [ebp - 0x1b8]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov al, 1
jmp 0x4a95c7
mov eax, 0x2000
cmp word [ebp - 0x1b8], ax
jne 0x4a8689
test cl, cl
je 0x4a8689
lea eax, [edi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a8689
mov dword [ebp - 0x1c8], eax
mov eax, dword [edi + 0x84]
test eax, eax
je case.default.0x4a8acb
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.default.0x4a8acb
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x4a8acb
lea eax, [ebp - 0x1c8]
mov ecx, edi
push eax
push 0
push 0
push 0xf
call fcn.004a6e50
jmp case.default.0x4a8acb
lea ecx, [edi + 0x348]
mov dword [ebp - 0x1c0], 0
call fcn.0046d2c0
test eax, eax
jle case.default.0x4a8acb
xor ecx, ecx
jmp 0x4a86b0
push ecx
lea ecx, [edi + 0x348]
call fcn.004a2690
mov edx, eax
mov dword [ebp - 0x1c8], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x84]
jne 0x4a86e3
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x4a86e3
cmp byte [edx + 0x10], 0
je 0x4a8703
inc dword [ebp - 0x1c0]
lea ecx, [edi + 0x348]
call fcn.0046d2c0
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x4a86b0
jmp case.default.0x4a8acb
mov eax, dword [edx]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xd8], 0
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xf4], 0x18
mov dword [ebp - 0xf0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], eax
call fcn.004a6e00
mov ecx, dword [ebp - 0x1c8]
lea edx, [ebp - 0xf4]
mov word [ebp - 0xde], ax
mov dword [ebp - 0xd8], esi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0xdc], eax
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x4a8acb
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
cmp byte [edi + 0x335], 0
jne 0x4a87ff
mov eax, dword [edi + 0x84]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xa8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
test eax, eax
jne 0x4a87db
mov eax, dword [edi + 0xd8]
jmp 0x4a87eb
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0x335], 1
mov eax, dword [ebp - 0x1bc]
mov ecx, edi
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf4], esi
mov dword [edi + 0xf8], eax
call fcn.004a5a30
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x4a8848
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4a8acb
mov eax, dword [ebp - 0x1d4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], esi
mov esi, dword [ebp - 0x1bc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
call fcn.004a6e00
mov ecx, edi
mov word [ebp - 0xde], ax
call fcn.004a6a20
test al, al
jne 0x4a8a48
push dword [ebp - 0x1d4]
mov ecx, edi
push dword [ebp - 0x1c8]
call fcn.004a5a30
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x4a88f0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, edi
jne case.default.0x4a8acb
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x4a8a13
test eax, eax
je 0x4a8a13
lea ecx, [edi + 0x3b4]
mov dword [ebp - 0xf4], 0xa
mov dword [ebp - 0xf0], eax
call fcn.0046d2c0
push eax
lea ecx, [ebp - 0x130]
call fcn.004a2330
lea ecx, [edi + 0x3b4]
mov dword [ebp - 4], 4
call fcn.0046d2c0
push eax
lea ecx, [ebp - 0x130]
call fcn.004a3320
lea ecx, [edi + 0x3b4]
call fcn.0046d2c0
shl eax, 2
lea ecx, [edi + 0x3b4]
push eax
call fcn.0041b490
push eax
lea ecx, [ebp - 0x130]
call fcn.0041b490
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x130]
xor esi, esi
call fcn.0046d2c0
test eax, eax
jle 0x4a89bd
jmp 0x4a8990
push esi
lea ecx, [ebp - 0x130]
call fcn.004a2690
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x120]
lea ecx, [ebp - 0x130]
inc esi
call fcn.0046d2c0
cmp esi, eax
jl 0x4a8990
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xf4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [edi + 0xa8]
mov dword [edi + 0xe8], 0
test ecx, ecx
je 0x4a89fb
lea eax, [edi + 0xac]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.004a2570
mov esi, dword [ebp - 0x1c0]
cmp esi, dword [edi + 0xe8]
je 0x4a8a4e
test esi, esi
je 0x4a8a4e
mov dword [ebp - 0xf4], 0xb
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x120]
mov dword [edi + 0xe8], esi
jmp 0x4a8a4e
mov esi, dword [ebp - 0x1c0]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x4a8a7c
mov dword [ebp - 0xf4], 9
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
jmp case.default.0x4a8acb
test esi, esi
je case.default.0x4a8acb
mov dword [ebp - 0xf4], 9
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x120]
jmp case.default.0x4a8acb
cmp edx, 0x20a
ja 0x4a8fd4
je 0x4a8e96
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x4a8acb
jmp dword [edx*4 + 0x4a971c]
cmp byte [edi + 0xdc], 0
jne 0x4a8ae7
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf8], eax
call fcn.004a5a30
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x4a8acb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4a8acb
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x108]
mov ecx, edi
call fcn.004aa800
mov ecx, dword [ebp - 0x1c8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1b8]
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], esi
mov esi, dword [ebp - 0x1bc]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0xd
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], ecx
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c0]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x4a8acb
cmp byte [edi + 0xdc], 0
jne 0x4a8bf9
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf8], eax
call fcn.004a5a30
mov esi, eax
test esi, esi
je case.default.0x4a8acb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4a8acb
mov ecx, edi
call fcn.004aa800
mov eax, dword [ebp - 0x1c8]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0x10
mov dword [ebp - 0xf0], esi
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xf4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x120]
mov dword [edi + 0xec], esi
jmp case.default.0x4a8acb
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0xec], 0
cwde
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf4], ecx
mov dword [edi + 0xf8], eax
je case.default.0x4a8acb
mov ecx, edi
call fcn.004a9c30
mov eax, dword [edi + 0xec]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1c8]
mov esi, dword [ebp - 0x1bc]
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0xe
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], ecx
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
mov dword [edi + 0xec], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x4a8acb
cmp byte [edi + 0xdc], 0
jne 0x4a8dab
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf8], eax
call fcn.004a5a30
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x4a8acb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4a8acb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
mov ecx, dword [ebp - 0x1c8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1b8]
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], esi
mov esi, dword [ebp - 0x1bc]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0xf
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], ecx
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x1c0]
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x120]
mov dword [edi + 0xec], esi
jmp case.default.0x4a8acb
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
mov ecx, dword [ebp - 0x1bc]
movsx eax, cx
mov dword [ebp - 0x1d8], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x1d8]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d8]
push eax
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [edi + 0xf8], eax
call fcn.004a5a30
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je case.default.0x4a8acb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4a8acb
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
shr ecx, 0x10
xorps xmm0, xmm0
test cx, cx
movq qword [ebp - 0xe0], xmm0
movdqu xmmword [ebp - 0xf0], xmm0
sets al
mov dword [ebp - 0xf0], esi
mov esi, dword [ebp - 0x1bc]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0x12
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], eax
call fcn.004a6e00
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c8]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
movzx ecx, word [edi + 0xf8]
movzx eax, word [edi + 0xf4]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x4a8acb
cmp edx, 0x318
ja 0x4a947e
je 0x4a938b
sub edx, 0x2a1
je 0x4a9117
sub edx, 2
jne case.default.0x4a8acb
cmp dword [edi + 0xe0], edx
je case.default.0x4a8acb
mov ecx, dword [edi + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4a9027
lea eax, [edi + 0xac]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0x335], 0
je 0x4a910b
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], 0
push eax
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a90fa
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x84]
jne 0x4a90fa
push dword [ebp - 0x1c8]
lea eax, [ebp - 0x40]
push dword [ebp - 0x1cc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4a90fa
movzx ecx, word [ebp - 0x1c8]
movzx eax, word [ebp - 0x1cc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [edi + 0x84]
call esi
cmp eax, 1
jne 0x4a90fa
lea eax, [ebp - 0x1cc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1c8]
movzx eax, word [ebp - 0x1cc]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x4a90fc
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x84]
call esi
mov byte [edi + 0x335], 0
jmp case.default.0x4a8acb
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
push ecx
mov ecx, edi
mov byte [edi + 0x335], 0
mov dword [ebp - 0x1d4], eax
call fcn.004a5a30
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x4a8acb
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x4a91fb
mov esi, dword [ebp - 0x1bc]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0xc
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xe4], eax
call fcn.004a6e00
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xf4]
mov word [ebp - 0xde], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov esi, dword [ebp - 0x1c0]
mov eax, dword [esi]
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, esi
call dword [eax + 0xac]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 3
call fcn.004a2f40
test al, al
jne 0x4a9372
lea eax, [ebp - 0xd4]
push eax
call fcn.004a9940
push 0x2c
lea eax, [edi + 0xac]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [edi + 0x84]
lea ecx, [ebp - 0xd4]
add esp, 0x10
mov dword [edi + 0xac], 0x2c
mov dword [edi + 0xb0], 1
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], eax
mov eax, dword [0x54b4c4]
mov dword [edi + 0xcc], eax
call fcn.0041b490
mov dword [edi + 0xd0], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
call eax
cmp dword [edi + 0xa8], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi + 0xbc], xmm0
jne 0x4a9324
push 0
push dword [0x54b4c4]
push 0
push dword [edi + 0x84]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0xa8], eax
test eax, eax
je 0x4a930a
mov ecx, dword [edi + 0xa4]
test ecx, ecx
js 0x4a930a
push ecx
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0xa4], eax
lea eax, [edi + 0xac]
push eax
push 0
push 0x432
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xb8]
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [edi + 0xa8]
call esi
lea eax, [edi + 0xac]
push eax
push 0
push 0x436
push dword [edi + 0xa8]
call esi
lea eax, [edi + 0xac]
push eax
push 1
push 0x411
push dword [edi + 0xa8]
call esi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.004a2580
mov al, 1
jmp 0x4a95c7
cmp dword [edi + 0xe0], 0
je case.default.0x4a8acb
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe0]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x13c]
test byte [ebp - 0x1bc], 0x10
je 0x4a946c
push 5
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x4a946c
or dword [ebp - 0x1bc], 2
lea esp, [esp]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1bc]
push esi
push 0x317
push dword [ebp - 0x1c0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1c0]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c0], eax
test eax, eax
jne 0x4a9400
push dword [ebp - 0x1c8]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x4a8acb
cmp edx, 0x8001
jne case.default.0x4a8acb
lea eax, [edi + 0x39c]
mov byte [edi + 0x339], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1d4], eax
call fcn.004a2ce0
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x4a9591
lea eax, [edi + 0x33c]
mov dword [ebp - 0x1d0], eax
mov edi, eax
mov ecx, dword [ebp - 0x1d4]
push 1
push 0
call fcn.004a3080
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4a94f8
add ecx, 0x38
call fcn.004c8420
test al, al
je 0x4a94f8
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004c8440
mov ecx, edi
xor esi, esi
call fcn.0046d2c0
test eax, eax
jle 0x4a9539
mov edi, dword [ebp - 0x1c0]
jmp 0x4a9510
mov ecx, dword [ebp - 0x1d0]
push esi
call fcn.004a2690
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc esi
call fcn.0046d2c0
cmp esi, eax
jl 0x4a9510
mov edi, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], esi
lea ecx, [esi + 0x84]
mov dword [ebp - 4], 0
call fcn.004a2580
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.004a2580
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 0x1d4]
add esp, 4
push 0
call fcn.004a2ce0
mov esi, eax
mov dword [ebp - 0x1c0], eax
test esi, esi
jne 0x4a94c4
mov edi, dword [ebp - 0x1e8]
add edi, 0x390
xor esi, esi
mov ecx, edi
call fcn.0046d2c0
test eax, eax
jle 0x4a95be
push esi
mov ecx, edi
call fcn.004a2690
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
inc esi
call fcn.0046d2c0
cmp esi, eax
jl 0x4a95a4
mov ecx, edi
call fcn.004a2a60
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edbca
mov esp, ebp
pop ebp
ret 0x10