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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dead4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x370
mov eax, dword [0x649428]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x210]
push edi
push 1
push 1
lea edx, [esp + 0x17]
mov dword [esp + 0x37c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
movzx edi, byte [esp + 0xf]
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
push 1
push edi
lea edx, [esp + 0x278]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x210]
push 4
push 1
lea edx, [esp + 0x2c]
mov byte [esp + edi + 0x278], 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
push 4
push 1
lea edx, [esp + 0x18]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
mov edi, dword [esp + 0x10]
push 4
push 1
lea edx, [esp + 0x18]
push edx
call dword [eax + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x210]
mov edx, dword [ecx]
push 4
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x18]
push eax
call dword [edx + 0x2c]
push 0x40
call fcn.0056d2e0
add esp, 4
mov dword [esp + 0x24], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x384], ebx
je 0x5702e7
mov ecx, dword [esp + 0x10]
push edi
push ecx
mov ecx, eax
call fcn.0056fc80
mov dword [esp + 0x14], eax
jmp 0x5702eb
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x270]
push edx
lea ecx, [edi + 8]
mov dword [esp + 0x388], 0xffffffff
call fcn.0056f720
mov eax, dword [esp + 0x20]
mov ecx, esi
mov dword [edi + 0x24], eax
mov dword [esp + 0x18], ebx
call fcn.00574840
test al, al
je 0x57061c
mov ebx, dword [ebp + 0xc]
mov ecx, esi
call fcn.00574880
sub eax, 0x48a1
je 0x570445
dec eax
jne 0x570600
mov ecx, dword [esi + 0x210]
mov edx, dword [ecx]
push 1
push 1
lea eax, [esp + 0x17]
push eax
call dword [edx + 0x2c]
movzx edi, byte [esp + 0xf]
mov ecx, dword [esi + 0x210]
mov edx, dword [ecx]
push 1
push edi
lea eax, [esp + 0x78]
push eax
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x210]
push 4
push 1
lea eax, [esp + 0x40]
mov byte [esp + edi + 0x78], 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x210]
mov edx, dword [ecx]
push 4
push 1
lea eax, [esp + 0x44]
push eax
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x210]
mov edx, dword [ecx]
push 4
push 1
lea eax, [esp + 0x38]
push eax
call dword [edx + 0x2c]
lea ecx, [esp + 0x70]
push ecx
push ebx
call fcn.0043ce70
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 8
push eax
push edi
call fcn.00570190
lea edx, [esp + 0x70]
push edx
push ebx
call fcn.0043ce70
add esp, 8
test eax, eax
je 0x5703e9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
fstp dword [esp + 0x68]
jmp 0x57040b
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x274]
push ecx
push str.multicontroller___s__has_invalid_track___s__n
call fcn.004cac00
add esp, 0xc
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 0x30]
jae 0x57043b
mov eax, dword [eax + 0x34]
mov edx, edi
shl edx, 4
add eax, edx
mov edx, dword [esp + 0x68]
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
inc edi
mov dword [esp + 0x18], edi
jmp 0x570600
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
push 4
push 1
lea edx, [esp + 0x30]
push edx
call dword [eax + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x570600
mov ecx, dword [esp + 0x18]
shl ecx, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
push 1
push 1
lea edx, [esp + 0x27]
push edx
call dword [eax + 0x2c]
movzx edi, byte [esp + 0x1f]
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
push 1
push edi
lea edx, [esp + 0x178]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x210]
push 4
push 1
lea edx, [esp + 0x34]
mov byte [esp + edi + 0x178], 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
push 4
push 1
lea edx, [esp + 0x3c]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
push 4
push 1
lea edx, [esp + 0x2c]
push edx
call dword [eax + 0x2c]
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x44]
call fcn.0056f7b0
lea ecx, [esp + 0x40]
push ecx
push ebx
mov dword [esp + 0x38c], 1
call fcn.0043d020
add esp, 8
lea ecx, [esp + 0x40]
mov edi, eax
mov dword [esp + 0x384], 0xffffffff
call fcn.004cac00
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push edx
call fcn.00570190
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x4c]
call fcn.0056f7b0
lea ecx, [esp + 0x48]
push ecx
push ebx
mov dword [esp + 0x38c], 2
call fcn.0043d020
add esp, 8
lea ecx, [esp + 0x48]
mov edi, eax
mov dword [esp + 0x384], 0xffffffff
call fcn.004cac00
test edi, edi
je 0x570587
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x20]
fstp dword [esp + 0x58]
jmp 0x5705ac
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x274]
push ecx
push str.multicontroller___s__has_invalid_track___s__n
call fcn.004cac00
add esp, 0xc
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x30]
jae 0x5705dd
mov eax, dword [eax + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc edx
add ecx, 0x10
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
jne 0x570474
mov ecx, esi
call fcn.00574a10
mov ecx, esi
call fcn.00574840
test al, al
jne 0x570327
mov eax, dword [esp + 0x14]
jmp 0x57061e
mov eax, edi
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x374]
xor ecx, dword [ebp + 4]
call fcn.005ca9da
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8