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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x665d0e
mov eax, dword fs:[0]
push eax
sub esp, 0xd98
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0xda8]
mov dword fs:[0], eax
xor edi, edi
cmp dword [ebp + 8], edi
je 0x5d1a1b
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x5d1a1b
cmp dword [ebp + 0x10], edi
jg 0x5d0c5c
fild dword [ebp + 0x18]
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
push ecx
fstp dword [esp + 4]
fild dword [ebp + 0x14]
fstp dword [esp]
call dword [eax + 0x74]
jmp 0x5d1a1d
cmp dword [ebp + 0x10], 0x3ff
jl 0x5d0c6c
mov al, 1
jmp 0x5d1a1d
mov eax, dword [ecx]
lea edx, [esp + 0x54]
push edx
call dword [eax + 0x1c]
lea esi, [esp + 0x3dc]
call fcn.0049b413
mov eax, 0x7d8f
mov edx, esi
mov dword [esp + 0xdb0], edi
call fcn.0049b56c
mov eax, dword [esp + 0x54]
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], edi
mov dword [esp + 0x34], edi
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 + 0x78]
inc edi
call fcn.0046fcab
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x58]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jge 0x5d1a0b
mov ebx, 0x1ff
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x54]
xor edi, edi
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x18], edi
jge 0x5d19be
mov ecx, dword [esp + 0x34]
fild dword [esp + 0x34]
add ecx, 0x40
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x15c]
add eax, 0x20
fild dword [esp + 0x20]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x160]
fldz
fadd qword [0x6a15f0]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fstp dword [esp + 0x6c]
fild dword [ebp + 0x10]
fstp dword [esp + 0x60]
fild dword [esp + 0x30]
fadd qword [0x6a15e8]
fstp qword [esp + 0x16c]
push dword [esp + 0x5c]
mov ecx, dword [ebp + 0xc]
push dword [esp + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea esi, [eax + 8]
lea ecx, [esp + 0x1c4]
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 + 0x164]
push ecx
mov ecx, esi
call dword [eax + 0x9c]
fild dword [esp + 0x164]
add edi, 0x40
mov dword [esp + 0x20], edi
fstp dword [esp + 0x2c]
lea edx, [esp + 0x3dc]
fild dword [esp + 0x18]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x64]
fild dword [esp + 0x168]
fstp dword [esp + 0x18]
fld dword [esp + 0x15c]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x68]
fild dword [esp + 0x20]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x160]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x7c]
fstp dword [esp + 0x74]
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 + 0x44]
call fcn.004485e0
mov eax, edi
fstp dword [esp + 0x38]
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 + 0x50]
call fcn.004485e0
mov eax, dword [esp + 0x14]
fstp dword [esp + 0x48]
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 + 0x3c]
call fcn.004485e0
mov eax, dword [esp + 0x58]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
cdq
sub eax, edx
sar eax, 1
add ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x54]
cdq
sub eax, edx
sar eax, 1
mov esi, edi
sub esi, eax
mov eax, ecx
imul eax, ecx
mov dword [esp + 0x4c], ecx
mov ecx, esi
imul ecx, esi
add eax, ecx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
call fcn.0065aa80
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
lea eax, [esi + 1]
fstp dword [esp + 0x10]
mov dword [esp + 0x24], eax
fldz
fst dword [esp + 0x28]
test eax, eax
je 0x5d0f1d
fstp st(0)
fild dword [esp + 0x4c]
fild dword [esp + 0x24]
call fcn.0065ab7a
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [esp + 0x28]
fldz
fld1
sub esp, 0x40
fst dword [esp + 0x11c]
lea eax, [esp + 0x31c]
fst dword [esp + 0x130]
fst dword [esp + 0x144]
fxch st(1)
fst dword [esp + 0x120]
fst dword [esp + 0x124]
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x134]
fst dword [esp + 0x138]
fst dword [esp + 0x13c]
fst dword [esp + 0x140]
fst dword [esp + 0x148]
fld dword [0x6a23c0]
fst dword [esp + 0x14c]
fstp dword [esp + 0x150]
fst dword [esp + 0x154]
fxch st(1)
fst dword [esp + 0x158]
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 + 0x88]
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 + 0x88]
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 + 0x29c]
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 + 0x78]
fstp dword [esp + 0x14]
fld dword [esp + 0x84]
fchs
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x84]
fstp dword [esp + 4]
fld dword [esp + 0x78]
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 + 0x2dc]
fst dword [esp + 0x24]
fld dword [esp + 0x7c]
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 + 0x7c]
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 + 0x11c]
fldz
fst dword [esp + 0x120]
fst dword [esp + 0x124]
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x134]
fst dword [esp + 0x138]
fst dword [esp + 0x13c]
fst dword [esp + 0x140]
fstp dword [esp + 0x148]
fst dword [esp + 0x130]
fstp dword [esp + 0x144]
fld dword [esp + 0x78]
fsub dword [esp + 0x10]
mov dword [esp + 0x10], edi
fstp dword [esp + 0x14]
fild dword [esp + 0x10]
fadd qword [0x6a15e8]
fstp qword [esp + 0x174]
fld dword [esp + 0x28]
call fcn.0065a840
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fmul dword [esp + 0x60]
fmul qword [0x6a1820]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd qword [esp + 0x174]
fstp dword [esp + 0x14c]
fld dword [esp + 0x28]
call fcn.0065a710
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea eax, [esp + 0x11c]
fmul dword [esp + 0x14]
push eax
lea eax, [esp + 0x2a0]
push eax
fmul dword [esp + 0x68]
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x2e8]
fmul qword [0x6a1820]
push eax
lea eax, [esp + 0x36c]
lea edx, [esp + 0xec]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [esp + 0x17c]
fstp dword [esp + 0x160]
fldz
fstp dword [esp + 0x164]
fld1
fstp dword [esp + 0x168]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x328]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x3a4]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x1d8]
call fcn.004044d0
push 0x4bd575
push 3
push 0x1c
lea eax, [esp + 0x90]
push eax
call fcn.0041b490
fldz
fst dword [esp + 0x1b8]
lea eax, [esp + 0x1d4]
fst dword [esp + 0x1bc]
push eax
lea edi, [esp + 0x230]
fstp dword [esp + 0x1c4]
lea esi, [esp + 0x1bc]
call fcn.004bd529
fld dword [eax]
fstp dword [esp + 0x84]
lea edi, [esp + 0x244]
fld dword [eax + 4]
or dword [esp + 0x94], 0xffffffff
fstp dword [esp + 0x88]
lea eax, [esp + 0x1d4]
fld1
push eax
fstp dword [esp + 0x94]
lea esi, [esp + 0x1a4]
fldz
fst dword [esp + 0x90]
fld dword [esp + 0x68]
fstp dword [esp + 0x9c]
fld dword [esp + 0x6c]
fstp dword [esp + 0xa0]
fld dword [esp + 0x78]
fstp dword [esp + 0x1a4]
fst dword [esp + 0x1a8]
fstp dword [esp + 0x1ac]
call fcn.004bd529
fld dword [eax]
lea edi, [esp + 0x220]
fstp dword [esp + 0xa0]
lea esi, [esp + 0x194]
fld dword [eax + 4]
or dword [esp + 0xb0], 0xffffffff
fstp dword [esp + 0xa4]
lea eax, [esp + 0x1d4]
fld1
push eax
fstp dword [esp + 0xb0]
fldz
fst dword [esp + 0xac]
fld dword [esp + 0x30]
fstp dword [esp + 0xb8]
fld dword [esp + 0x6c]
fstp dword [esp + 0xbc]
fst dword [esp + 0x198]
fld dword [esp + 0x70]
fstp dword [esp + 0x19c]
fstp dword [esp + 0x1a0]
call fcn.004bd529
fld dword [eax]
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0xbc]
push 1
fld dword [eax + 4]
or dword [esp + 0xd0], 0xffffffff
mov eax, dword [ecx]
fstp dword [esp + 0xc4]
fld1
push 5
fstp dword [esp + 0xd0]
fldz
fstp dword [esp + 0xcc]
fld dword [esp + 0x6c]
fstp dword [esp + 0xd8]
fld dword [esp + 0x20]
fstp dword [esp + 0xdc]
push 0x144
push 0x1c
lea edx, [esp + 0x94]
push edx
call dword [eax + 0x64]
lea edx, [esp + 0x3dc]
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 [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 + 0x38]
call fcn.004485e0
mov eax, edi
fstp dword [esp + 0x44]
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 + 0x14]
call fcn.004485e0
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x3c]
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 + 0x58]
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
cdq
sub eax, edx
sar eax, 1
add ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x54]
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 + 0x4c], ecx
fild dword [esp + 0x10]
call fcn.0065aa80
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp + 0x1c]
fldz
inc esi
fst dword [esp + 0x28]
mov dword [esp + 0x24], esi
je 0x5d14ed
fstp st(0)
fild dword [esp + 0x4c]
fild dword [esp + 0x24]
call fcn.0065ab7a
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp + 0x28]
fldz
fld1
sub esp, 0x40
fst dword [esp + 0x15c]
lea eax, [esp + 0x2dc]
fst dword [esp + 0x170]
fst dword [esp + 0x184]
fxch st(1)
fst dword [esp + 0x160]
fst dword [esp + 0x164]
fst dword [esp + 0x168]
fst dword [esp + 0x16c]
fst dword [esp + 0x174]
fst dword [esp + 0x178]
fst dword [esp + 0x17c]
fst dword [esp + 0x180]
fst dword [esp + 0x188]
fld dword [0x6a23c0]
fst dword [esp + 0x18c]
fstp dword [esp + 0x190]
fst dword [esp + 0x194]
fxch st(1)
fst dword [esp + 0x198]
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 + 0x7c]
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 + 0x7c]
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 + 0x29c]
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 + 0x84]
fstp dword [esp + 0x14]
fld dword [esp + 0x78]
fchs
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x78]
fstp dword [esp + 4]
fld dword [esp + 0x84]
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 + 0x31c]
fst dword [esp + 0x24]
fld dword [esp + 0x88]
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 + 0x88]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x90]
fstp dword [esp]
call fcn.0046ea08
fld1
fst dword [esp + 0xdc]
fldz
fst dword [esp + 0xe0]
fst dword [esp + 0xe4]
fst dword [esp + 0xe8]
fst dword [esp + 0xec]
fst dword [esp + 0xf4]
fst dword [esp + 0xf8]
fst dword [esp + 0xfc]
fst dword [esp + 0x100]
fstp dword [esp + 0x108]
fst dword [esp + 0xf0]
fstp dword [esp + 0x104]
fld dword [esp + 0x78]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
call fcn.0065a840
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x14]
fmul dword [esp + 0x60]
fmul qword [0x6a1820]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd qword [esp + 0x174]
fstp dword [esp + 0x10c]
fld dword [esp + 0x28]
call fcn.0065a710
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
lea eax, [esp + 0xdc]
fmul dword [esp + 0x14]
push eax
lea eax, [esp + 0x2e0]
push eax
fmul dword [esp + 0x68]
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x2a8]
fmul qword [0x6a1820]
push eax
lea eax, [esp + 0x3ac]
lea edx, [esp + 0x12c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fadd qword [esp + 0x17c]
fstp dword [esp + 0x120]
fldz
fstp dword [esp + 0x124]
fld1
fstp dword [esp + 0x128]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x328]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x364]
call fcn.004044d0
mov edx, eax
lea eax, [esp + 0x1d8]
call fcn.004044d0
push 0x4bd575
push 3
push 0x1c
lea eax, [esp + 0x90]
push eax
call fcn.0041b490
fld dword [esp + 0x74]
fstp dword [esp + 0x1ac]
lea eax, [esp + 0x1d4]
fldz
push eax
fst dword [esp + 0x1b4]
lea edi, [esp + 0x23c]
lea esi, [esp + 0x1b0]
fstp dword [esp + 0x1b8]
call fcn.004bd529
fld dword [eax]
fstp dword [esp + 0x84]
lea edi, [esp + 0x214]
fld dword [eax + 4]
lea esi, [esp + 0x17c]
fstp dword [esp + 0x88]
or dword [esp + 0x94], 0xffffffff
fld1
lea eax, [esp + 0x1d4]
fstp dword [esp + 0x90]
push eax
fldz
fst dword [esp + 0x90]
fld dword [esp + 0x30]
fstp dword [esp + 0x9c]
fld dword [esp + 0x6c]
fstp dword [esp + 0xa0]
fst dword [esp + 0x180]
fld dword [esp + 0x70]
fstp dword [esp + 0x184]
fstp dword [esp + 0x188]
call fcn.004bd529
fld dword [eax]
lea edi, [esp + 0x250]
fstp dword [esp + 0xbc]
lea esi, [esp + 0x188]
fld dword [eax + 4]
or dword [esp + 0xcc], 0xffffffff
fstp dword [esp + 0xc0]
lea eax, [esp + 0x1d4]
fld1
push eax
fstp dword [esp + 0xcc]
fldz
fst dword [esp + 0xc8]
fld dword [esp + 0x68]
fstp dword [esp + 0xd4]
fld dword [esp + 0x1c]
fstp dword [esp + 0xd8]
fld dword [esp + 0x78]
fstp dword [esp + 0x18c]
fld dword [esp + 0x70]
fstp dword [esp + 0x190]
fstp dword [esp + 0x194]
call fcn.004bd529
fld dword [eax]
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0xa0]
push 1
fld dword [eax + 4]
or dword [esp + 0xb4], 0xffffffff
mov eax, dword [ecx]
fstp dword [esp + 0xa8]
fld1
push 5
fstp dword [esp + 0xb4]
push 0x144
fldz
push 0x1c
fstp dword [esp + 0xb8]
lea edx, [esp + 0x94]
fld dword [esp + 0x3c]
fstp dword [esp + 0xc4]
fld dword [esp + 0x28]
fstp dword [esp + 0xc8]
push edx
call dword [eax + 0x64]
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x1c4]
mov dword [esp + 0x18], edi
jl 0x5d19a1
xor edi, edi
inc dword [esp + 0x70]
mov dword [esp + 0x18], edi
mov eax, dword [ebp + 0x14]
add dword [esp + 0x40], 0x40
mov ecx, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x40]
add eax, 0xffffffe0
cmp eax, ecx
jl 0x5d0d5a
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 + 0x1cc]
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 4]
jl 0x5d19f3
and dword [esp + 0x34], 0
inc dword [esp + 0x5c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x58]
add dword [esp + 0x30], 0x40
add ecx, eax
cmp dword [esp + 0x30], ecx
jl 0x5d0ceb
mov ecx, dword [ebp + 8]
push 3
pop edi
call fcn.0046fcab
jmp 0x5d0c65
xor al, al
mov ecx, dword [esp + 0xda8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c