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

Disassembly:
push 0xffffffffffffffff
push 0x5a7788
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
fnstcw word [esp + 0x14]
mov edi, dword [esp + 0xc4]
fld dword [edi + 8]
fld qword [0x5b1db8]
movzx eax, word [esp + 0x14]
fdiv st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x18], eax
mov ebp, dword [ebx]
xor esi, esi
mov dword [esp + 0x40], esi
fldcw word [esp + 0x18]
fxch st(1)
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
fldcw word [esp + 0x14]
fld dword [edi]
fdiv st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fldcw word [esp + 0x14]
cmp ecx, ebp
jae 0x55c53d
mov eax, dword [ebx + 4]
cmp edx, eax
jae 0x55c53d
imul eax, edx
mov edx, dword [ebx + 0xc]
add eax, ecx
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x55c541
cmp byte [eax], 0
jne 0x55c51d
cmp byte [eax + 1], 0
je 0x55c541
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x14
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xc8]
fnstcw word [esp + 0x14]
fld dword [esi + 8]
movzx eax, word [esp + 0x14]
fdiv st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
fldcw word [esp + 0x14]
fdivr dword [esi]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fldcw word [esp + 0x14]
cmp ecx, ebp
jae 0x55c5b4
mov eax, dword [ebx + 4]
cmp edx, eax
jae 0x55c5b4
imul eax, edx
mov edx, dword [ebx + 0xc]
add eax, ecx
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
xor ebp, ebp
jmp 0x55c5b8
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x1c], ebp
je 0x55c805
cmp eax, ebp
je 0x55c805
fld1
fstp dword [esp + 0x18]
cmp byte [eax], 0
jne 0x55c5e3
cmp byte [eax + 1], 0
je 0x55c6e9
push esi
push edi
call fcn.005270d0
fstp dword [esp + 0x1c]
fld dword [edi]
mov eax, dword [esi]
fsub dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x70]
mov ecx, dword [esi + 4]
fld dword [edi + 8]
mov dword [esp + 0x38], ecx
fsub dword [esi + 8]
add esp, 8
fstp dword [esp + 0x70]
fld dword [esp + 0x18]
fld st(0)
fdiv dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld st(0)
fmul dword [esp + 0x68]
fnstcw word [esp + 0x14]
fstp dword [esp + 0x68]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x38], eax
fmul dword [esp + 0x70]
fstp dword [esp + 0x70]
fld dword [esp + 0x2c]
fadd dword [esp + 0x68]
fstp dword [esp + 0x2c]
fld dword [esp + 0x34]
fadd dword [esp + 0x70]
fstp dword [esp + 0x34]
fadd qword [0x5af4e8]
fstp dword [esp + 0x18]
fld dword [esp + 0x34]
fld qword [0x5b1db8]
fdiv st(1), st(0)
fldcw word [esp + 0x38]
fxch st(1)
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
fldcw word [esp + 0x14]
fdivr dword [esp + 0x2c]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fldcw word [esp + 0x14]
cmp ecx, dword [ebx]
jae 0x55c51f
mov eax, dword [ebx + 4]
cmp edx, eax
jae 0x55c51f
imul eax, edx
mov edx, dword [ebx + 0xc]
add eax, ecx
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x55c5d4
jmp 0x55c51f
xor edx, edx
cmp dword [ebx + 4], ebp
jbe 0x55c73a
fldz
xor ecx, ecx
cmp dword [ebx], ebp
jbe 0x55c732
mov eax, dword [ebx]
imul eax, edx
add eax, ecx
mov esi, eax
shl esi, 4
sub esi, eax
mov eax, dword [ebx + 0xc]
lea eax, [eax + esi*4]
cmp eax, ebp
je 0x55c72d
fst dword [eax + 0x18]
mov dword [eax + 0x14], ebp
fst dword [eax + 0x1c]
mov dword [eax + 4], ebp
fst dword [eax + 0x20]
mov dword [eax + 8], ebp
mov dword [eax + 0x28], ebp
mov byte [eax + 0x24], 0
mov byte [eax + 0x25], 0
inc ecx
cmp ecx, dword [ebx]
jb 0x55c6f8
inc edx
cmp edx, dword [ebx + 4]
jb 0x55c6f2
fstp st(0)
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x24], 1
mov eax, dword [ebx + 0x7c]
mov dword [eax + 8], ebp
mov dword [eax + 4], ebp
mov dword [eax], ebp
push ecx
mov ecx, dword [ebx + 0x7c]
call fcn.005571f0
mov edx, dword [ebx + 0x7c]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x18], ecx
cmp dword [edx + 8], ebp
je 0x55c805
lea esp, [esp]
sub dword [esp + 0x18], 1
je 0x55c805
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax]
cmp ecx, ebp
je 0x55c788
mov ebx, dword [ecx]
jmp 0x55c78a
xor ebx, ebx
test ecx, ecx
je 0x55c796
mov ecx, dword [ecx + 4]
dec dword [eax + 8]
mov dword [eax], ecx
mov byte [ebx + 0x24], 1
cmp ebx, dword [esp + 0x14]
je 0x55c7fd
xor ebp, ebp
lea edi, [ebx + 0x2c]
mov esi, dword [edi]
test esi, esi
je 0x55c7de
cmp byte [esi], 0
jne 0x55c51f
cmp byte [esi + 1], 0
jne 0x55c51f
cmp byte [esi + 0x25], 0
jne 0x55c7de
cmp byte [esi + 0x24], 0
jne 0x55c7de
mov edx, dword [esp + 0x28]
mov dword [esi + 4], ebx
mov ecx, dword [edx + 0x7c]
push esi
call fcn.005571f0
mov byte [esi + 0x24], 1
inc ebp
add edi, 4
cmp ebp, 4
jl 0x55c7a5
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x7c]
cmp dword [ecx + 8], 0
je 0x55c805
xor ebp, ebp
mov ebx, eax
jmp 0x55c770
mov dword [esp + 0x40], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
xor ebx, ebx
cmp dword [esp + 0x40], ebx
je 0x55c51f
mov ebp, dword [esp + 0x14]
push 4
mov dword [esp + 0x3c], ebp
call fcn.00599902
add esp, 4
cmp eax, ebx
je 0x55c835
lea edx, [esp + 0x48]
mov dword [eax], edx
jmp 0x55c837
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xc0], ebx
call fcn.0055b130
cmp dword [ebp + 4], ebx
lea eax, [ebp + 4]
je 0x55c8f9
mov ecx, dword [eax]
mov dword [ecx + 8], ebp
mov ebp, dword [eax]
mov eax, dword [esp + 0x60]
test al, 3
jne 0x55c89a
mov ecx, dword [esp + 0x64]
add ecx, 4
shr ecx, 2
cmp dword [esp + 0x5c], ecx
ja 0x55c89a
push 1
lea ecx, [esp + 0x4c]
call fcn.0055a7c0
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x55c8a2
mov edi, eax
jmp 0x55c8aa
mov edi, dword [esp + 0x5c]
add edi, edi
add edi, edi
mov edx, dword [esp + 0x58]
dec edi
mov esi, edi
shr esi, 2
cmp dword [edx + esi*4], ebx
jne 0x55c8ca
push 0x10
call fcn.00599902
mov ecx, dword [esp + 0x5c]
add esp, 4
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + esi*4]
mov edx, edi
and edx, 3
lea eax, [ecx + edx*4]
cmp eax, ebx
je 0x55c8df
mov dword [eax], ebp
inc dword [esp + 0x64]
mov dword [esp + 0x60], edi
cmp ebp, dword [esp + 0x1c]
je 0x55c8f9
cmp dword [ebp + 4], ebx
lea eax, [ebp + 4]
jne 0x55c86c
push 4
call fcn.00599902
add esp, 4
cmp eax, ebx
je 0x55c912
lea edx, [esp + 0x94]
mov dword [eax], edx
jmp 0x55c914
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x30]
mov byte [esp + 0xc4], 1
call fcn.0055bb40
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x78]
call fcn.0055c360
mov eax, dword [esp + 0x90]
mov byte [esp + 0xbc], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 1
cmp eax, 1
jbe 0x55cbd9
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x18], ecx
jmp 0x55c9a0
mov ecx, dword [esp + 0x8c]
lea edx, [ecx + eax]
mov esi, ecx
cmp ecx, edx
jbe 0x55c9b6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x74]
mov edi, eax
mov ebp, edi
mov dword [esp + 0x3c], esi
test eax, eax
jne 0x55c9e8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x14]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x55c9f5
test edi, edi
je 0x55c9ee
mov edi, dword [edi]
jmp 0x55c9f0
mov eax, dword [eax]
mov ecx, eax
jmp 0x55c9d0
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x55c9fb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
call fcn.005592c0
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x32
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
test eax, eax
jge 0x55ca26
fadd dword [0x5af1c8]
mov eax, dword [esp + 0x8c]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x90]
lea edx, [eax + ecx]
mov esi, eax
cmp eax, edx
jbe 0x55ca47
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x74]
mov edi, eax
mov ebp, edi
mov dword [esp + 0x3c], esi
test eax, eax
jne 0x55ca75
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x55ca82
test edi, edi
je 0x55ca7b
mov edi, dword [edi]
jmp 0x55ca7d
mov eax, dword [eax]
mov ecx, eax
jmp 0x55ca61
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x55ca88
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
call fcn.005592c0
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
imul eax, eax, 0x32
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
test eax, eax
jge 0x55cab3
fadd dword [0x5af1c8]
mov ecx, dword [esp + 0xd4]
fstp dword [esp + 0x34]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
cmp ecx, dword [0x69e254]
jne 0x55cb36
mov esi, dword [esp + 0x28]
fld dword [esp + 0x2c]
fstp dword [esi + 0x70]
add esi, 0x50
fld dword [esp + 0x34]
fstp dword [esi + 0x28]
mov edx, dword [esi + 0x1c]
inc edx
cmp dword [esi + 0x14], edx
ja 0x55caf5
push 1
mov ecx, esi
call fcn.0055a5d0
mov edi, dword [esi + 0x18]
add edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
cmp eax, edi
ja 0x55cb04
sub edi, eax
mov eax, dword [esi + 0x10]
cmp dword [eax + edi*4], 0
jne 0x55cb1d
push 0xc
call fcn.00599902
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x10]
mov edi, dword [edx + edi*4]
test edi, edi
je 0x55cb33
mov eax, dword [esp + 0x30]
mov dword [edi], ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
inc dword [esi + 0x1c]
cmp dword [esp + 0x1c], 0xf
jge 0x55cb53
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
inc dword [esp + 0x1c]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebp
jmp 0x55cbbc
mov edx, dword [0x69e254]
cmp dword [esp + 0xd4], edx
jne 0x55cbbc
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
add esi, 0x10
inc eax
cmp dword [esi + 0x14], eax
ja 0x55cb7b
push 1
mov ecx, esi
call fcn.0055a5d0
mov edi, dword [esi + 0x18]
add edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
cmp eax, edi
ja 0x55cb8a
sub edi, eax
mov ecx, dword [esi + 0x10]
cmp dword [ecx + edi*4], 0
jne 0x55cba3
push 0xc
call fcn.00599902
mov edx, dword [esi + 0x10]
add esp, 4
mov dword [edx + edi*4], eax
mov eax, dword [esi + 0x10]
mov edi, dword [eax + edi*4]
test edi, edi
je 0x55cbb9
mov ecx, dword [esp + 0x30]
mov dword [edi], ebx
mov dword [edi + 4], ecx
mov dword [edi + 8], ebp
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x90]
add dword [esp + 0x18], 0xc
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jb 0x55c9a0
mov edx, dword [esp + 0xd0]
mov al, byte [esp + 0x1c]
lea ecx, [esp + 0x74]
mov byte [edx], al
call fcn.00559ea0
mov ecx, dword [esp + 0x74]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x94]
call fcn.00559ea0
mov edx, dword [esp + 0x94]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00559ea0
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
jmp 0x55c521