Function at 0x408a70
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32_LoadLibraryA]
push ebp
push esi
push edi
push 0x4190c8
mov esi, ecx
push str.User32.DLL
call ebx
push eax
call dword [sym.imp.KERNEL32_GetProcAddress]
mov edi, eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x408c89
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x408c89
mov ecx, esi
call fcn.004084c0
lea ebp, [esi + 4]
push 1
push ebp
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.004082c0
lea eax, [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x14]
push 8
push ecx
mov ecx, esi
call fcn.004082c0
push str.GetCursorInfo
push str.User32.DLL
call ebx
push eax
call dword [sym.imp.KERNEL32_GetProcAddress]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x14
push edx
call eax
test eax, eax
jne 0x408b34
cmp dword [esp + 0x20], 1
jne 0x408b34
mov ecx, dword [esp + 0x24]
xor edi, edi
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x408b21
inc edi
add eax, 4
cmp edi, 0x10
jl 0x408b14
push ecx
call dword [sym.imp.USER32_DestroyCursor]
cmp edi, 0x10
jne 0x408b30
or edi, 0xffffffff
mov eax, edi
jmp 0x408b37
or eax, 0xffffffff
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
mov ecx, esi
call fcn.004082c0
cmp byte [ebp], 2
jne 0x408ba3
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.00408510
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov ebp, dword [esi + 0x1c]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
add ecx, ebp
push eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00408580
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov ebp, dword [esp + 0x18]
xor edx, edx
lea eax, [ebp - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x41b498]
cmp ebp, eax
mov edi, edx
je 0x408bd0
push edi
mov ecx, esi
call fcn.00408ca0
test al, al
je 0x408bd0
add edi, 0x13
jmp 0x408bd3
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x408bf1
push edi
mov ecx, esi
call fcn.00408ca0
test al, al
je 0x408be7
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x408bd8
mov eax, dword [esp + 0x18]
mov ecx, 0x13
mov dword [0x41b498], eax
mov eax, dword [esi + 0x30]
add eax, 3
push 0x418124
cdq
idiv ecx
mov eax, dword [esp + 0x38]
push 0x418010
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
call ebx
mov edi, dword [sym.imp.KERNEL32_GetProcAddress]
push eax
call edi
push 0x4190a0
push 0x418010
mov ebp, eax
call ebx
push eax
call edi
mov edi, eax
lea ebx, [esi + 0x14]
call edi
mov edx, dword [ebx]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x408c5d
push 1
call ebp
call edi
mov edx, dword [ebx]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x408c4c
push 0x41904c
push 0x418010
call dword [sym.imp.KERNEL32_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32_GetProcAddress]
mov ebp, eax
call edi
push eax
push ebx
call ebp
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4