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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x665e8e
mov eax, dword fs:[0]
push eax
sub esp, 0xda8
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0xdb8]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x573f49
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x573f49
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jg 0x573140
fldz
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
push ecx
fst dword [esp + 4]
fstp dword [esp]
call dword [eax + 0x74]
jmp 0x573f4b
cmp eax, 0x3ff
jl 0x57314e
mov al, 1
jmp 0x573f4b
sar eax, 2
lea edx, [esp + 0x5c]
mov dword [esp + 0x168], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea esi, [esp + 0x3ec]
call fcn.0049b413
mov eax, 0x7d8f
mov edx, esi
mov dword [esp + 0xdc0], ebx
call fcn.0049b56c
mov eax, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
imul ecx, eax
add ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x34], ebx
fild dword [esp + 0x24]
call fcn.0065aa80
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
mov ecx, dword [ebp + 8]
xor edi, edi
fstp dword [esp + 0x88]
inc edi
call fcn.0046fcab
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x38], ebx
jle 0x573f39
mov ebx, 0x1ff
xor edi, edi
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x1c], edi
jle 0x573ef1
mov eax, dword [esp + 0x34]
fild dword [esp + 0x34]
add eax, 0x40
mov dword [esp + 0x24], eax
fstp dword [esp + 0x16c]
or eax, 0xffffffff
fild dword [esp + 0x24]
sub eax, dword [esp + 0x168]
mov dword [esp + 0x44], 0x20
shl eax, 0x18
fstp dword [esp + 0x170]
or eax, 0xffffff
fldz
mov dword [esp + 0x3c], eax
fadd qword [0x6a15f0]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 0x74]
fild dword [ebp + 0x10]
fstp dword [esp + 0x68]
fild dword [esp + 0x38]
fadd qword [0x6a15e8]
fstp qword [esp + 0x17c]
push dword [esp + 0x64]
mov ecx, dword [ebp + 0xc]
push dword [esp + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea esi, [eax + 8]
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x80], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x174]
push ecx
mov ecx, esi
call dword [eax + 0x9c]
fild dword [esp + 0x174]
add edi, 0x40
mov dword [esp + 0x24], edi
fstp dword [esp + 0x30]
lea edx, [esp + 0x3ec]
fild dword [esp + 0x1c]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x6c]
fild dword [esp + 0x178]
fstp dword [esp + 0x1c]
fld dword [esp + 0x16c]
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x7c]
fild dword [esp + 0x24]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x170]
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x84]
fstp dword [esp + 0x70]
call fcn.0049b44d
mov esi, eax
and esi, 0x7ff
call fcn.0049b44d
mov edi, eax
and edi, ebx
call fcn.0049b44d
and eax, ebx
mov dword [esp + 0x18], eax
mov eax, esi
imul eax, dword [ebp + 0x10]
cdq
mov esi, 0x3ff
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x6f03e0]
fmul qword [0x6a15d8]
fstp dword [esp + 0x58]
call fcn.004485e0
mov eax, edi
fstp dword [esp + 0x54]
imul eax, dword [ebp + 0x10]
cdq
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x6f03e0]
fmul qword [0x6a15d8]
fstp dword [esp + 0x48]
call fcn.004485e0
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x40]
imul eax, dword [ebp + 0x10]
cdq
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x6f03e0]
fmul qword [0x6a15d8]
fstp dword [esp + 0x4c]
call fcn.004485e0
mov eax, dword [esp + 0x60]
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
add ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
mov esi, edi
sub esi, eax
mov eax, ecx
imul eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, esi
imul ecx, esi
add eax, ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
call fcn.0065aa80
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
lea eax, [esi + 1]
fstp dword [esp + 0x14]
mov dword [esp + 0x2c], eax
fldz
fst dword [esp + 0x28]
test eax, eax
je 0x57341e
fstp st(0)
fild dword [esp + 0x50]
fild dword [esp + 0x2c]
call fcn.0065ab7a
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp + 0x28]
fldz
fld1
sub esp, 0x40
fst dword [esp + 0x124]
lea eax, [esp + 0x32c]
fst dword [esp + 0x138]
fst dword [esp + 0x14c]
fxch st(1)
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x130]
fst dword [esp + 0x134]
fst dword [esp + 0x13c]
fst dword [esp + 0x140]
fst dword [esp + 0x144]
fst dword [esp + 0x148]
fst dword [esp + 0x150]
fld dword [0x6a23c0]
fst dword [esp + 0x154]
fstp dword [esp + 0x158]
fst dword [esp + 0x15c]
fxch st(1)
fst dword [esp + 0x160]
fst dword [esp + 0x3c]
fxch st(1)
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fld dword [esp + 0x80]
fstp dword [esp + 0x28]
fld dword [esp + 0x88]
fchs
fstp dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fld dword [esp + 0x88]
fstp dword [esp + 0x18]
fld dword [esp + 0x80]
fstp dword [esp + 0x14]
fst dword [esp + 0x10]
fst dword [esp + 0xc]
fst dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0046ea08
fld1
sub esp, 0x40
fst dword [esp + 0x3c]
lea eax, [esp + 0x2ec]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fxch st(1)
fstp dword [esp + 0x28]
fst dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fld dword [esp + 0x94]
fstp dword [esp + 0x14]
fld dword [esp + 0x98]
fchs
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x98]
fstp dword [esp + 4]
fld dword [esp + 0x94]
fstp dword [esp]
call fcn.0046ea08
fld1
sub esp, 0x40
fst dword [esp + 0x3c]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fld dword [esp + 0x58]
fstp dword [esp + 0x28]
lea eax, [esp + 0x2ac]
fst dword [esp + 0x24]
fld dword [esp + 0x8c]
fchs
fstp dword [esp + 0x20]
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fxch st(1)
fstp dword [esp + 0x14]
fst dword [esp + 0x10]
fst dword [esp + 0xc]
fld dword [esp + 0x8c]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x58]
fstp dword [esp]
call fcn.0046ea08
fld1
add edi, 0xffffffe0
fst dword [esp + 0x124]
fldz
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x130]
fst dword [esp + 0x134]
fst dword [esp + 0x13c]
fst dword [esp + 0x140]
fst dword [esp + 0x144]
fst dword [esp + 0x148]
fstp dword [esp + 0x150]
fst dword [esp + 0x138]
fstp dword [esp + 0x14c]
fld dword [esp + 0x88]
fsub dword [esp + 0x14]
mov dword [esp + 0x14], edi
fstp dword [esp + 0x18]
fild dword [esp + 0x14]
fadd qword [0x6a15e8]
fstp qword [esp + 0x184]
fld dword [esp + 0x28]
call fcn.0065a840
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x18]
fmul dword [esp + 0x68]
fmul qword [0x6a1820]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd qword [esp + 0x184]
fstp dword [esp + 0x154]
fld dword [esp + 0x28]
call fcn.0065a710
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
lea eax, [esp + 0x124]
fmul dword [esp + 0x18]
push eax
lea eax, [esp + 0x270]
push eax
fmul dword [esp + 0x70]
lea eax, [esp + 0x2b4]
push eax
lea eax, [esp + 0x2f8]
fmul qword [0x6a1820]
push eax
lea eax, [esp + 0x37c]
lea edx, [esp + 0xf4]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fadd qword [esp + 0x18c]
fstp dword [esp + 0x168]
fldz
fstp dword [esp + 0x16c]
fld1
fstp dword [esp + 0x170]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x338]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x3b4]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x1e8]
call fcn.004044d0
push 0x4bd575
push 3
push 0x1c
lea eax, [esp + 0x98]
push eax
call fcn.0041b490
fldz
fst dword [esp + 0x1bc]
lea eax, [esp + 0x1e4]
fst dword [esp + 0x1c0]
push eax
lea edi, [esp + 0x228]
fstp dword [esp + 0x1c8]
lea esi, [esp + 0x1c0]
call fcn.004bd529
fld dword [eax]
fstp dword [esp + 0x8c]
lea edi, [esp + 0x230]
fld dword [eax + 4]
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x90]
mov dword [esp + 0x9c], eax
fld1
lea eax, [esp + 0x1e4]
fstp dword [esp + 0x98]
push eax
fldz
lea esi, [esp + 0x1cc]
fst dword [esp + 0x98]
fld dword [esp + 0x70]
fstp dword [esp + 0xa4]
fld dword [esp + 0x80]
fstp dword [esp + 0xa8]
fld dword [esp + 0x74]
fstp dword [esp + 0x1cc]
fst dword [esp + 0x1d0]
fstp dword [esp + 0x1d4]
call fcn.004bd529
fld dword [eax]
lea edi, [esp + 0x254]
fstp dword [esp + 0xa8]
lea esi, [esp + 0x18c]
fld dword [eax + 4]
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0xac]
mov dword [esp + 0xb8], eax
fld1
lea eax, [esp + 0x1e4]
fstp dword [esp + 0xb4]
push eax
fldz
fst dword [esp + 0xb4]
fld dword [esp + 0x34]
fstp dword [esp + 0xc0]
fld dword [esp + 0x80]
fstp dword [esp + 0xc4]
fst dword [esp + 0x190]
fld dword [esp + 0x78]
fstp dword [esp + 0x194]
fstp dword [esp + 0x198]
call fcn.004bd529
fld dword [eax]
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0xc4]
fld dword [eax + 4]
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0xc8]
mov dword [esp + 0xd4], eax
fld1
fstp dword [esp + 0xd0]
fldz
fstp dword [esp + 0xcc]
fld dword [esp + 0x6c]
fstp dword [esp + 0xd8]
fld dword [esp + 0x1c]
fstp dword [esp + 0xdc]
mov eax, dword [ecx]
push 1
push 5
push 0x144
push 0x1c
lea edx, [esp + 0x9c]
push edx
call dword [eax + 0x64]
lea edx, [esp + 0x3ec]
call fcn.0049b44d
mov esi, eax
and esi, 0x7ff
call fcn.0049b44d
mov edi, eax
and edi, ebx
call fcn.0049b44d
and eax, ebx
mov dword [esp + 0x14], eax
mov eax, esi
imul eax, dword [ebp + 0x10]
cdq
mov esi, 0x3ff
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x6f03e0]
fmul qword [0x6a15d8]
fstp dword [esp + 0x54]
call fcn.004485e0
mov eax, edi
fstp dword [esp + 0x58]
imul eax, dword [ebp + 0x10]
cdq
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x6f03e0]
fmul qword [0x6a15d8]
fstp dword [esp + 0x18]
call fcn.004485e0
mov eax, dword [esp + 0x14]
fstp dword [esp + 0x4c]
imul eax, dword [ebp + 0x10]
cdq
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x6f03e0]
fmul qword [0x6a15d8]
fstp dword [esp + 0x40]
call fcn.004485e0
mov eax, dword [esp + 0x60]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
add ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov edx, ecx
mov eax, esi
imul edx, ecx
imul eax, esi
add eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], ecx
fild dword [esp + 0x14]
call fcn.0065aa80
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
inc esi
fstp dword [esp + 0x20]
mov dword [esp + 0x2c], esi
fldz
fst dword [esp + 0x28]
je 0x573a0c
fstp st(0)
fild dword [esp + 0x50]
fild dword [esp + 0x2c]
call fcn.0065ab7a
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x28]
fldz
fld1
sub esp, 0x40
fst dword [esp + 0x164]
lea eax, [esp + 0x2ac]
fst dword [esp + 0x178]
fst dword [esp + 0x18c]
fxch st(1)
fst dword [esp + 0x168]
fst dword [esp + 0x16c]
fst dword [esp + 0x170]
fst dword [esp + 0x174]
fst dword [esp + 0x17c]
fst dword [esp + 0x180]
fst dword [esp + 0x184]
fst dword [esp + 0x188]
fst dword [esp + 0x190]
fld dword [0x6a23c0]
fst dword [esp + 0x194]
fstp dword [esp + 0x198]
fst dword [esp + 0x19c]
fxch st(1)
fst dword [esp + 0x1a0]
fst dword [esp + 0x3c]
fxch st(1)
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fld dword [esp + 0x8c]
fstp dword [esp + 0x28]
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fld dword [esp + 0x58]
fstp dword [esp + 0x18]
fld dword [esp + 0x8c]
fstp dword [esp + 0x14]
fst dword [esp + 0x10]
fst dword [esp + 0xc]
fst dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0046ea08
fld1
sub esp, 0x40
fst dword [esp + 0x3c]
lea eax, [esp + 0x2ec]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fxch st(1)
fstp dword [esp + 0x28]
fst dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fld dword [esp + 0x98]
fstp dword [esp + 0x14]
fld dword [esp + 0x94]
fchs
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x94]
fstp dword [esp + 4]
fld dword [esp + 0x98]
fstp dword [esp]
call fcn.0046ea08
fld1
sub esp, 0x40
fst dword [esp + 0x3c]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fld dword [esp + 0x88]
fstp dword [esp + 0x28]
lea eax, [esp + 0x32c]
fst dword [esp + 0x24]
fld dword [esp + 0x80]
fchs
fstp dword [esp + 0x20]
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fxch st(1)
fstp dword [esp + 0x14]
fst dword [esp + 0x10]
fst dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x88]
fstp dword [esp]
call fcn.0046ea08
fld1
fst dword [esp + 0xe4]
fldz
fst dword [esp + 0xe8]
fst dword [esp + 0xec]
fst dword [esp + 0xf0]
fst dword [esp + 0xf4]
fst dword [esp + 0xfc]
fst dword [esp + 0x100]
fst dword [esp + 0x104]
fst dword [esp + 0x108]
fstp dword [esp + 0x110]
fst dword [esp + 0xf8]
fstp dword [esp + 0x10c]
fld dword [esp + 0x88]
fsub dword [esp + 0x20]
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
call fcn.0065a840
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x18]
fmul dword [esp + 0x68]
fmul qword [0x6a1820]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [esp + 0x184]
fstp dword [esp + 0x114]
fld dword [esp + 0x28]
call fcn.0065a710
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
lea eax, [esp + 0xe4]
fmul dword [esp + 0x18]
push eax
lea eax, [esp + 0x2f0]
push eax
fmul dword [esp + 0x70]
lea eax, [esp + 0x2b4]
push eax
lea eax, [esp + 0x278]
fmul qword [0x6a1820]
push eax
lea eax, [esp + 0x3bc]
lea edx, [esp + 0x134]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fadd qword [esp + 0x18c]
fstp dword [esp + 0x128]
fldz
fstp dword [esp + 0x12c]
fld1
fstp dword [esp + 0x130]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x338]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x374]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x1e8]
call fcn.004044d0
push 0x4bd575
push 3
push 0x1c
lea eax, [esp + 0x98]
push eax
call fcn.0041b490
fld dword [esp + 0x70]
fstp dword [esp + 0x1b0]
lea eax, [esp + 0x1e4]
fldz
push eax
fst dword [esp + 0x1b8]
lea edi, [esp + 0x264]
lea esi, [esp + 0x1b4]
fstp dword [esp + 0x1bc]
call fcn.004bd529
fld dword [eax]
fstp dword [esp + 0x8c]
lea edi, [esp + 0x248]
fld dword [eax + 4]
lea esi, [esp + 0x198]
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x90]
fld1
mov dword [esp + 0x9c], eax
fstp dword [esp + 0x98]
lea eax, [esp + 0x1e4]
fldz
push eax
fst dword [esp + 0x98]
fld dword [esp + 0x34]
fstp dword [esp + 0xa4]
fld dword [esp + 0x80]
fstp dword [esp + 0xa8]
fst dword [esp + 0x19c]
fld dword [esp + 0x78]
fstp dword [esp + 0x1a0]
fstp dword [esp + 0x1a4]
call fcn.004bd529
fld dword [eax]
lea edi, [esp + 0x23c]
fstp dword [esp + 0xc4]
lea esi, [esp + 0x1a4]
fld dword [eax + 4]
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0xc8]
mov dword [esp + 0xd4], eax
fld1
lea eax, [esp + 0x1e4]
fstp dword [esp + 0xd0]
push eax
fldz
fst dword [esp + 0xd0]
fld dword [esp + 0x70]
fstp dword [esp + 0xdc]
fld dword [esp + 0x20]
fstp dword [esp + 0xe0]
fld dword [esp + 0x74]
fstp dword [esp + 0x1a8]
fld dword [esp + 0x78]
fstp dword [esp + 0x1ac]
fstp dword [esp + 0x1b0]
call fcn.004bd529
fld dword [eax]
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0xa8]
push 1
fld dword [eax + 4]
mov eax, dword [esp + 0x40]
fstp dword [esp + 0xb0]
mov dword [esp + 0xbc], eax
fld1
mov eax, dword [ecx]
fstp dword [esp + 0xb8]
push 5
fldz
fstp dword [esp + 0xb8]
fld dword [esp + 0x38]
fstp dword [esp + 0xc4]
fld dword [esp + 0x24]
fstp dword [esp + 0xc8]
push 0x144
push 0x1c
lea edx, [esp + 0x9c]
push edx
call dword [eax + 0x64]
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x1d4]
mov dword [esp + 0x1c], edi
jl 0x573edb
xor edi, edi
inc dword [esp + 0x78]
mov dword [esp + 0x1c], edi
add dword [esp + 0x44], 0x40
mov eax, dword [esp + 0x44]
add eax, 0xffffffe0
cmp eax, dword [esp + 0x5c]
jl 0x573258
push dword [esp + 0x64]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
add dword [esp + 0x38], 0x40
push 0
call dword [eax + 0x28]
lea ecx, [eax + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x1dc]
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 4]
jl 0x573f26
and dword [esp + 0x34], 0
inc dword [esp + 0x64]
add dword [esp + 0x38], 0x40
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x60]
jl 0x5731d3
mov ecx, dword [ebp + 8]
push 3
pop edi
call fcn.0046fcab
jmp 0x573147
xor al, al
mov ecx, dword [esp + 0xdb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc