Function at 0x1000e1f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
push edi
mov dword [ebp - 0x18], esi
je 0x1000e458
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1000e458
call fcn.1000ea70
lea edi, [esi + 4]
push 1
push edi
mov ecx, esi
mov dword [esi + 0x20], 0
mov dword [ebp - 0x14], edi
call fcn.1000e7a0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x20]
push 8
push ecx
mov ecx, esi
call fcn.1000e7a0
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x14
push edx
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x1000e30c
cmp dword [ebp - 0x30], 1
jne 0x1000e30c
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 8], ecx
lea eax, [esi + 0xcc]
cmp edx, dword [eax]
je 0x1000e285
inc ecx
add eax, 4
cmp ecx, 0x10
jl 0x1000e278
push str.User32.dll
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DestroyCursor
push eax
call esi
push str.FreeLibrary
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call esi
mov dword [ebp - 0x10], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov edx, dword [ebp - 0xc]
push edx
call dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cmp eax, 0x10
jne 0x1000e301
or eax, 0xffffffff
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
jmp 0x1000e30f
or eax, 0xffffffff
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
mov ecx, esi
call fcn.1000e7a0
cmp byte [edi], 2
jne 0x1000e371
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1000eab0
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x1c]
add ecx, edx
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1000eb40
add eax, dword [esi + 0x20]
mov dword [ebx], eax
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x1c]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x10021820]
cmp ecx, eax
mov edi, edx
je 0x1000e39d
push edi
mov ecx, esi
call fcn.1000e470
test al, al
je 0x1000e39d
add edi, 0x13
jmp 0x1000e3a0
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x1000e3be
push edi
mov ecx, esi
call fcn.1000e470
test al, al
je 0x1000e3b4
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x1000e3a5
mov eax, dword [ebp - 0x1c]
mov ecx, 0x13
mov dword [0x10021820], eax
mov eax, dword [esi + 0x30]
add eax, 3
push str.GetTickCount
cdq
idiv ecx
push str.KERNEL32.dll
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.InterlockedExchange
push str.KERNEL32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
push str.Sleep
push str.KERNEL32.dll
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
mov dword [ebp + 8], eax
lea ebx, [esi + 0x14]
call edi
mov edx, dword [ebx]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x1000e445
push 1
call dword [ebp + 8]
call edi
mov edx, dword [ebx]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x1000e433
call edi
push eax
push ebx
call dword [ebp - 0x18]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4