Function at 0x574dca
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 0x575c45
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x575c45
mov edx, dword [ebp + 0x10]
cmp edx, ebx
jg 0x574e20
mov al, 1
jmp 0x575c47
cmp edx, 0x3ff
jl 0x574e3f
fldz
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
push ecx
fst dword [esp + 4]
fstp dword [esp]
call dword [eax + 0x74]
jmp 0x575c47
mov eax, edx
sar eax, 2
mov dword [esp + 0x16c], eax
mov eax, 0x400
sub eax, edx
lea edx, [esp + 0x60]
mov dword [esp + 0x24], 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 + 0x60]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
imul ecx, eax
add ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], ebx
fild dword [esp + 0x20]
call fcn.0065aa80
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor edi, edi
fstp dword [esp + 0x88]
inc edi
call fcn.0046fcab
cmp dword [esp + 0x64], ebx
mov dword [esp + 0x3c], ebx
jle 0x575c35
mov ebx, 0x1ff
xor edi, edi
cmp dword [esp + 0x60], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x18], edi
jle 0x575bed
mov eax, dword [esp + 0x34]
fild dword [esp + 0x34]
add eax, 0x40
mov dword [esp + 0x20], eax
fstp dword [esp + 0x168]
mov eax, dword [esp + 0x16c]
fild dword [esp + 0x20]
shl eax, 0x18
or eax, 0xffffff
mov dword [esp + 0x38], eax
fstp dword [esp + 0x170]
mov dword [esp + 0x58], 0x20
fldz
fadd qword [0x6a15f0]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 0x70]
fild dword [esp + 0x24]
fstp dword [esp + 0x68]
fild dword [esp + 0x3c]
fadd qword [0x6a15e8]
fstp qword [esp + 0x17c]
push dword [esp + 0x5c]
mov ecx, dword [ebp + 0xc]
push dword [esp + 0x80]
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 + 0x20], edi
fstp dword [esp + 0x30]
lea edx, [esp + 0x3ec]
fild dword [esp + 0x18]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x78]
fild dword [esp + 0x178]
fstp dword [esp + 0x18]
fld dword [esp + 0x168]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x74]
fild dword [esp + 0x20]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x170]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x84]
fstp dword [esp + 0x6c]
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 [esp + 0x24]
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 + 0x48]
call fcn.004485e0
mov eax, edi
fstp dword [esp + 0x40]
imul eax, dword [esp + 0x24]
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 + 0x50]
call fcn.004485e0
mov eax, dword [esp + 0x14]
fstp dword [esp + 0x4c]
imul eax, dword [esp + 0x24]
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 + 0x44]
call fcn.004485e0
mov eax, dword [esp + 0x64]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
add ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x60]
cdq
sub eax, edx
sar eax, 1
mov esi, edi
sub esi, eax
mov eax, ecx
imul eax, ecx
mov dword [esp + 0x54], ecx
mov ecx, esi
imul ecx, esi
add eax, ecx
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
call fcn.0065aa80
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
lea eax, [esi + 1]
fstp dword [esp + 0x10]
mov dword [esp + 0x28], eax
fldz
fst dword [esp + 0x2c]
test eax, eax
je 0x575120
fstp st(0)
fild dword [esp + 0x54]
fild dword [esp + 0x28]
call fcn.0065ab7a
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fstp dword [esp + 0x2c]
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 + 0x8c]
fstp dword [esp + 0x28]
fld dword [esp + 0x90]
fchs
fstp dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fld dword [esp + 0x90]
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 + 0x2ac]
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 + 0x80]
fstp dword [esp + 0x14]
fld dword [esp + 0x88]
fchs
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x88]
fstp dword [esp + 4]
fld dword [esp + 0x80]
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 + 0x54]
fstp dword [esp + 0x28]
lea eax, [esp + 0x2ec]
fst dword [esp + 0x24]
fld dword [esp + 0x84]
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 + 0x84]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x54]
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 + 0x10]
mov dword [esp + 0x10], edi
fstp dword [esp + 0x14]
fild dword [esp + 0x10]
fadd qword [0x6a15e8]
fstp qword [esp + 0x184]
fld dword [esp + 0x2c]
call fcn.0065a840
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fmul dword [esp + 0x68]
fmul qword [0x6a1820]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd qword [esp + 0x184]
fstp dword [esp + 0x154]
fld dword [esp + 0x2c]
call fcn.0065a710
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea eax, [esp + 0x124]
fmul dword [esp + 0x14]
push eax
lea eax, [esp + 0x2b0]
push eax
fmul dword [esp + 0x70]
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x2f8]
fmul qword [0x6a1820]
push eax
lea eax, [esp + 0x37c]
lea edx, [esp + 0xf4]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
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 + 0x1c8]
lea eax, [esp + 0x1e4]
fst dword [esp + 0x1cc]
push eax
lea edi, [esp + 0x240]
fstp dword [esp + 0x1d4]
lea esi, [esp + 0x1cc]
call fcn.004bd529
fld dword [eax]
fstp dword [esp + 0x8c]
lea edi, [esp + 0x254]
fld dword [eax + 4]
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x90]
mov dword [esp + 0x9c], eax
fld1
lea eax, [esp + 0x1e4]
fstp dword [esp + 0x98]
push eax
fldz
lea esi, [esp + 0x1b4]
fst dword [esp + 0x98]
fld dword [esp + 0x7c]
fstp dword [esp + 0xa4]
fld dword [esp + 0x78]
fstp dword [esp + 0xa8]
fld dword [esp + 0x70]
fstp dword [esp + 0x1b4]
fst dword [esp + 0x1b8]
fstp dword [esp + 0x1bc]
call fcn.004bd529
fld dword [eax]
lea edi, [esp + 0x230]
fstp dword [esp + 0xa8]
lea esi, [esp + 0x1a4]
fld dword [eax + 4]
mov eax, dword [esp + 0x38]
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 + 0x78]
fstp dword [esp + 0xc4]
fst dword [esp + 0x1a8]
fld dword [esp + 0x74]
fstp dword [esp + 0x1ac]
fstp dword [esp + 0x1b0]
call fcn.004bd529
fld dword [eax]
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0xc4]
fld dword [eax + 4]
mov eax, dword [esp + 0x38]
fstp dword [esp + 0xc8]
mov dword [esp + 0xd4], eax
fld1
fstp dword [esp + 0xd0]
fldz
fstp dword [esp + 0xcc]
fld dword [esp + 0x78]
fstp dword [esp + 0xd8]
fld dword [esp + 0x18]
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 + 0x10], eax
mov eax, esi
imul eax, dword [esp + 0x24]
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 + 0x40]
call fcn.004485e0
mov eax, edi
fstp dword [esp + 0x48]
imul eax, dword [esp + 0x24]
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 + 0x14]
call fcn.004485e0
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x44]
imul eax, dword [esp + 0x24]
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 + 0x64]
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
add ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x60]
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 + 0x10], eax
mov dword [esp + 0x54], ecx
fild dword [esp + 0x10]
call fcn.0065aa80
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
inc esi
fstp dword [esp + 0x1c]
mov dword [esp + 0x28], esi
fldz
fst dword [esp + 0x2c]
je 0x57570b
fstp st(0)
fild dword [esp + 0x54]
fild dword [esp + 0x28]
call fcn.0065ab7a
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp + 0x2c]
fldz
fld1
sub esp, 0x40
fst dword [esp + 0x164]
lea eax, [esp + 0x2ec]
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 + 0x84]
fstp dword [esp + 0x28]
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fld dword [esp + 0x54]
fstp dword [esp + 0x18]
fld dword [esp + 0x84]
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 + 0x2ac]
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 + 0x88]
fstp dword [esp + 0x14]
fld dword [esp + 0x80]
fchs
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x80]
fstp dword [esp + 4]
fld dword [esp + 0x88]
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 + 0x90]
fstp dword [esp + 0x28]
lea eax, [esp + 0x32c]
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 + 0x90]
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 + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x2c]
call fcn.0065a840
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x14]
fmul dword [esp + 0x68]
fmul qword [0x6a1820]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd qword [esp + 0x184]
fstp dword [esp + 0x114]
fld dword [esp + 0x2c]
call fcn.0065a710
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
lea eax, [esp + 0xe4]
fmul dword [esp + 0x14]
push eax
lea eax, [esp + 0x2f0]
push eax
fmul dword [esp + 0x70]
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x2b8]
fmul qword [0x6a1820]
push eax
lea eax, [esp + 0x3bc]
lea edx, [esp + 0x134]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
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 + 0x6c]
fstp dword [esp + 0x1bc]
lea eax, [esp + 0x1e4]
fldz
push eax
fst dword [esp + 0x1c4]
lea edi, [esp + 0x24c]
lea esi, [esp + 0x1c0]
fstp dword [esp + 0x1c8]
call fcn.004bd529
fld dword [eax]
fstp dword [esp + 0x8c]
lea edi, [esp + 0x224]
fld dword [eax + 4]
lea esi, [esp + 0x18c]
mov eax, dword [esp + 0x38]
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 + 0x78]
fstp dword [esp + 0xa8]
fst dword [esp + 0x190]
fld dword [esp + 0x74]
fstp dword [esp + 0x194]
fstp dword [esp + 0x198]
call fcn.004bd529
fld dword [eax]
lea edi, [esp + 0x260]
fstp dword [esp + 0xc4]
lea esi, [esp + 0x198]
fld dword [eax + 4]
mov eax, dword [esp + 0x38]
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 + 0x7c]
fstp dword [esp + 0xdc]
fld dword [esp + 0x1c]
fstp dword [esp + 0xe0]
fld dword [esp + 0x70]
fstp dword [esp + 0x19c]
fld dword [esp + 0x74]
fstp dword [esp + 0x1a0]
fstp dword [esp + 0x1a4]
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 + 0x3c]
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 + 0x20]
fstp dword [esp + 0xc8]
push 0x144
push 0x1c
lea edx, [esp + 0x9c]
push edx
call dword [eax + 0x64]
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x1d4]
mov dword [esp + 0x18], edi
jl 0x575bd7
xor edi, edi
inc dword [esp + 0x7c]
mov dword [esp + 0x18], edi
add dword [esp + 0x58], 0x40
mov eax, dword [esp + 0x58]
add eax, 0xffffffe0
cmp eax, dword [esp + 0x60]
jl 0x574f54
push dword [esp + 0x5c]
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 0x575c22
and dword [esp + 0x34], 0
inc dword [esp + 0x5c]
add dword [esp + 0x3c], 0x40
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x64]
jl 0x574ed1
mov ecx, dword [ebp + 8]
push 3
pop edi
call fcn.0046fcab
jmp 0x574e19
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