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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x57ffb5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5803c6
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebx + 0x1c]
cmp eax, 0x17
ja case.0x57ffe4.0
jmp dword [eax*4 + 0x57ffeb]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x28]
jmp case.0x57ffe4.0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x57ffe4.0
lea edx, [ebp - 4]
lea eax, [ebx + 0x20]
call fcn.00469e2c
cmp byte [ebp + 8], 0
je 0x58009b
mov edx, 0x5803e4
mov eax, dword [ebp - 4]
call fcn.00441b24
test al, al
je 0x58009b
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0057fc60
jmp case.0x57ffe4.0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x57ffe4.0
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x20]
call fcn.00469e2c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
call fcn.00468bd4
test al, al
je 0x5800e1
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp case.0x57ffe4.0
lea edx, [ebp - 0x48]
lea eax, [ebx + 0x20]
call fcn.00469e2c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp case.0x57ffe4.0
lea edx, [ebp - 0x4c]
lea eax, [ebx + 0x20]
call fcn.00469e2c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x50]
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp byte [eax], 1
jne 0x58013e
lea eax, [ebx + 0x20]
call fcn.00469ba0
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
call fcn.00469ce8
push edx
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x64]
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov eax, 0x779fa0
call fcn.00474dc0
call fcn.0047f0e4
sub al, 1
jb 0x580182
je 0x58019e
dec al
je 0x5801bd
sub al, 2
je 0x5801bd
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
call fcn.00469c54
fstp dword [ebp - 0x10]
wait
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x6c]
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
call fcn.00469c54
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x70]
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
call fcn.00469c54
fstp xword [ebp - 0x30]
wait
movzx eax, word [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x74]
jmp case.0x57ffe4.0
lea edx, [ebp - 0x50]
lea eax, [ebx + 0x20]
call fcn.00469e2c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x58]
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
call fcn.00469c18
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x78]
jmp case.0x57ffe4.0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
jmp case.0x57ffe4.0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x54]
jmp case.0x57ffe4.0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
jmp case.0x57ffe4.0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x34]
jmp case.0x57ffe4.0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
jmp case.0x57ffe4.0
lea eax, [ebx + 0x20]
call fcn.00469c54
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x84]
jmp case.0x57ffe4.0
lea ecx, [ebp - 0x54]
lea eax, [ebx + 0x20]
mov dl, 1
call fcn.0057db10
mov edx, dword [ebp - 0x54]
xor ecx, ecx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x8c]
jmp case.0x57ffe4.0
lea ecx, [ebp - 0x60]
lea eax, [ebx + 0x20]
mov dl, 1
call fcn.0057db50
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x90]
jmp case.0x57ffe4.0
lea ecx, [ebp - 0x68]
lea eax, [ebx + 0x20]
mov dl, 1
call fcn.005808cc
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x94]
jmp case.0x57ffe4.0
lea ecx, [ebp - 0x7c]
lea eax, [ebx + 0x20]
mov dl, 1
call fcn.0058090c
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x98]
jmp case.0x57ffe4.0
lea ecx, [ebp - 0x84]
lea eax, [ebx + 0x20]
mov dl, 1
call fcn.0058094c
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
jmp case.0x57ffe4.0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xa0]
jmp case.0x57ffe4.0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xa4]
movzx eax, byte [ebx + 0x1c]
call fcn.005772e0
test al, al
je 0x58033e
mov esi, 1
jmp 0x580340
xor esi, esi
mov eax, ebx
call fcn.00579d44
sub eax, esi
mov edx, dword [ebp - 0xc]
dec edx
cmp eax, edx
setg al
and al, byte [ebp + 0xc]
je 0x580366
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x57ffd7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5803cd
lea eax, [ebp - 0x84]
mov edx, dword [0x575234]
call fcn.0041a9c8
lea eax, [ebp - 0x7c]
mov edx, dword [0x575068]
call fcn.0041a9c8
lea eax, [ebp - 0x68]
mov edx, dword [0x574fe0]
call fcn.0041a9c8
lea eax, [ebp - 0x54]
mov edx, dword [0x413a3c]
call fcn.0041c590
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00419160
lea eax, [ebp - 4]
call int.00419100
pop eax
jmp eax