Function at 0x4ac620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 5
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], 0
je 0x4ac689
push 0
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 0x28]
call fcn.0046e300
test eax, eax
mov dword [esp + 0x14], eax
je 0x4ac689
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x78], 9
jne 0x4ac685
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + 0x128]
test dh, 4
jne case.default.0x4ac6b2
mov esi, eax
jmp 0x4ac68f
mov esi, dword [esi + 0x108]
xor edi, edi
test esi, esi
mov dword [esp + 0x18], edi
je 0x4ac6a6
mov ecx, esi
call fcn.00481320
mov edi, eax
mov dword [esp + 0x18], edi
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x4ac6b2
jmp dword [eax*4 + 0x4acdbc]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [edx + 0x70c]
and esi, 0x7fffffff
test eax, eax
je 0x4ac707
mov eax, edx
mov ecx, dword [eax + 0x708]
test ecx, ecx
je 0x4ac707
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, dword [esp + 0x10]
sub esi, dword [ecx + 0x70c]
cmp esi, eax
jle 0x4ac707
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [eax + 0x70c], ecx
mov dword [eax + 0x708], ecx
cmp ebx, 1
jne 0x4ac74c
test edi, edi
je 0x4ac73e
fild dword [ebp + 0x10]
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x3f0]
push 0
push 0
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fild dword [ebp + 0xc]
fstp qword [esp]
push 0
push ebx
push edx
call fcn.00528aa0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x70c], 0
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x700]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x1c], esi
je 0x4ac76b
call fcn.00481320
mov esi, eax
mov dword [esp + 0x1c], esi
xor eax, eax
cmp edi, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
je 0x4ac789
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.005270d0
xor ecx, ecx
xor eax, eax
cmp esi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
je 0x4ac7c5
mov ecx, esi
call fcn.00526d70
test al, al
je 0x4ac7bd
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.005270d0
mov eax, dword [esp + 0x38]
jmp 0x4ac86b
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x710]
test edx, edx
je 0x4ac86f
xor edi, edi
test edx, edx
jbe 0x4ac834
jmp 0x4ac7e3
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0x718]
mov esi, dword [edx + edi*4]
lea edx, [eax + 1]
cmp edx, ecx
jbe 0x4ac819
test ecx, ecx
je 0x4ac800
lea eax, [ecx + ecx]
mov dword [esp + 0x3c], eax
jmp 0x4ac808
mov dword [esp + 0x3c], 0x80
lea ecx, [esp + 0x38]
call fcn.004a8090
test al, al
mov eax, dword [esp + 0x38]
je 0x4ac829
mov ecx, dword [esp + 0x40]
mov dword [ecx + eax*4], esi
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x710]
inc edi
cmp edi, ecx
jb 0x4ac7df
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x718]
xor edi, edi
cmp ecx, edi
je 0x4ac857
push ecx
call fcn.0043f020
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [esi + 0x718], edi
mov dword [esi + 0x714], edi
mov dword [esi + 0x710], edi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
test edx, edx
je 0x4ac8b1
test eax, eax
je 0x4ac8aa
jmp 0x4ac880
test eax, eax
je 0x4ac8ba
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x40]
cmp edx, dword [ecx + eax*4 - 4]
mov edx, dword [esp + 0x44]
jne 0x4ac8ba
dec edx
dec eax
test edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], eax
jne 0x4ac880
jmp 0x4ac8ba
dec edx
mov dword [esp + 0x44], edx
jmp 0x4ac8ba
test eax, eax
je 0x4ac8ba
dec eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4acaf2
mov eax, dword [ebx + 0x700]
test eax, eax
je 0x4aca60
cmp ecx, eax
je 0x4acb9e
test esi, esi
je 0x4ac998
mov ebx, dword [esp + 0x1c]
fild dword [ebp + 0x10]
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x10]
fstp qword [esp + 0x20]
fild dword [ebp + 0xc]
mov esi, dword [ecx + 0x3f4]
mov ecx, dword [esp + 0x14]
push 0
fstp qword [esp + 0x2c]
call fcn.00481320
fld qword [esp + 0x24]
push eax
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, ebx
fld qword [esp + 0x40]
fstp qword [esp]
push 0
push 1
push esi
call fcn.00528aa0
mov eax, dword [esp + 0x38]
xor ebx, ebx
test eax, eax
jbe 0x4ac998
lea esp, [esp]
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + ebx*4]
call fcn.00481320
mov esi, eax
test esi, esi
je 0x4ac98f
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [edx + 0x430]
push 0
call fcn.00481320
fld qword [esp + 0x24]
push eax
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, esi
fld qword [esp + 0x40]
fstp qword [esp]
push 0
push 0
push edi
call fcn.00528aa0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jb 0x4ac940
test edi, edi
je 0x4aca4d
mov ebx, dword [esp + 0x44]
dec ebx
js 0x4aca06
mov edi, dword [esp + 0x10]
jmp 0x4ac9b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + ebx*4]
call fcn.00481320
mov esi, eax
test esi, esi
je 0x4aca03
mov ecx, dword [edi + 0x700]
test ecx, ecx
je 0x4ac9d3
call fcn.00481320
jmp 0x4ac9d5
xor eax, eax
fild dword [ebp + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
push 0
push eax
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x434]
sub esp, 0x10
fstp qword [esp + 8]
fild dword [ebp + 0xc]
fstp qword [esp]
push 0
push 0
push ecx
mov ecx, esi
call fcn.00528aa0
dec ebx
jns 0x4ac9b0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x700]
test ecx, ecx
je 0x4aca1b
call fcn.00481320
jmp 0x4aca1d
xor eax, eax
fild dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
push 0
push eax
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0x3f8]
sub esp, 0x10
fstp qword [esp + 8]
fild dword [ebp + 0xc]
fstp qword [esp]
push 0
push 1
push edx
call fcn.00528aa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x700], eax
jmp 0x4acb9e
test edi, edi
mov dword [ebx + 0x700], ecx
je 0x4acb9e
xor esi, esi
test edx, edx
jbe 0x4acabc
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + esi*4]
call fcn.00481320
test eax, eax
je 0x4acab3
fild dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + 0x434]
push 0
push 0
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, eax
fild dword [ebp + 0xc]
fstp qword [esp]
push 0
push 0
push edx
call fcn.00528aa0
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jb 0x4aca74
fild dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0x3f8]
push 0
push 0
sub esp, 0x10
fstp qword [esp + 8]
fild dword [ebp + 0xc]
fstp qword [esp]
push 0
push 1
push edx
call fcn.00528aa0
jmp 0x4acb9e
mov eax, dword [ebx + 0x700]
test eax, eax
je 0x4acb9e
test esi, esi
je 0x4acb94
fild dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x10]
fstp qword [esp + 0x20]
fild dword [ebp + 0xc]
mov edx, dword [eax + 0x3f4]
push 0
push 0
sub esp, 0x10
fstp qword [esp + 0x40]
fld qword [esp + 0x38]
fstp qword [esp + 8]
fld qword [esp + 0x40]
fstp qword [esp]
push 0
push 1
push edx
call fcn.00528aa0
mov esi, dword [esp + 0x38]
dec esi
js 0x4acb94
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + esi*4]
call fcn.00481320
test eax, eax
je 0x4acb91
fld qword [esp + 0x20]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + 0x430]
push 0
push 0
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, eax
fld qword [esp + 0x40]
fstp qword [esp]
push 0
push 0
push edx
call fcn.00528aa0
dec esi
jns 0x4acb50
mov dword [ebx + 0x700], 0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4acbb7
push eax
call fcn.0043f020
add esp, 4
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x4c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
je case.default.0x4ac6b2
push ecx
call fcn.0043f020
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
mov edx, dword [esp + 0x10]
mov dword [edx + 0x704], esi
je case.default.0x4ac6b2
fild dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x3e4]
push 0
push 0
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fild dword [ebp + 0xc]
fstp qword [esp]
push 0
push 1
push eax
call fcn.00528aa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
je 0x4acc5c
fild dword [ebp + 0x10]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x3fc]
push 0
push 0
sub esp, 0x10
fstp qword [esp + 8]
fild dword [ebp + 0xc]
fstp qword [esp]
push 0
push 1
push ecx
mov ecx, edi
call fcn.00528aa0
mov eax, dword [esp + 0x14]
test eax, eax
mov ecx, eax
je 0x4acc6a
mov edi, ecx
jmp 0x4acc74
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x108]
test edi, edi
mov ebx, dword [esp + 0x10]
je 0x4acd99
cmp edi, dword [ebx + 0x704]
je 0x4acca5
test ecx, ecx
je 0x4acd99
cmp ecx, esi
jne 0x4acd99
call fcn.00482690
test eax, eax
je 0x4acd99
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
mov eax, dword [ebx + 0x708]
and esi, 0x7fffffff
cmp edi, eax
jne 0x4acd45
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov edx, dword [ebx + 0x70c]
mov ecx, esi
sub ecx, edx
cmp ecx, eax
jge 0x4acd4b
mov ecx, edi
call fcn.00481320
test eax, eax
je 0x4acd4b
mov ecx, edi
call fcn.00481320
mov edx, dword [eax + 0x38]
shr edx, 6
test dl, 1
je 0x4acd4b
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp ecx, esi
je 0x4acd26
fild dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0x3a8]
push esi
push esi
sub esp, 0x10
fstp qword [esp + 8]
fild dword [ebp + 0xc]
fstp qword [esp]
push esi
push 1
push edx
call fcn.00528aa0
mov dword [ebx + 0x70c], esi
mov dword [ebx + 0x708], esi
mov dword [ebx + 0x704], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebx + 0x708], edi
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [ebx + 0x70c], esi
je 0x4acda7
fild dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0x390]
push 0
push 0
sub esp, 0x10
fstp qword [esp + 8]
fild dword [ebp + 0xc]
fstp qword [esp]
push 0
push 1
push edx
call fcn.00528aa0
mov dword [ebx + 0x704], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov dword [ebx + 0x70c], eax
mov dword [ebx + 0x708], eax
mov dword [ebx + 0x704], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc