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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61d5cd
mov eax, dword fs:[0]
push eax
sub esp, 0xda8
push ebx
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0xdb8]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4e9f09
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x4e9f09
mov edx, dword [ebp + 0x10]
cmp edx, ebx
jg 0x4e90e4
mov al, 1
jmp 0x4e9f0b
cmp edx, 0x3ff
jl 0x4e9103
fldz
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
push ecx
fst dword [esp + 4]
fstp dword [esp]
call dword [eax + 0x74]
jmp 0x4e9f0b
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.004c5c33
mov eax, 0x7d8f
mov edx, esi
mov dword [esp + 0xdc0], ebx
call fcn.004c5d8c
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.006146a0
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor edi, edi
fstp dword [esp + 0x88]
inc edi
call fcn.0045e475
cmp dword [esp + 0x64], ebx
mov dword [esp + 0x3c], ebx
jle 0x4e9ef9
mov ebx, 0x1ff
xor edi, edi
cmp dword [esp + 0x60], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x18], edi
jle 0x4e9eb1
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 [0x657608]
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 [0x657600]
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.004c5c6d
mov esi, eax
and esi, 0x7ff
call fcn.004c5c6d
mov edi, eax
and edi, ebx
call fcn.004c5c6d
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 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x48]
call fcn.004549b0
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 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x50]
call fcn.004549b0
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 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x44]
call fcn.004549b0
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.006146a0
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 0x4e93e4
fstp st(0)
fild dword [esp + 0x54]
fild dword [esp + 0x28]
call fcn.0061479a
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 [0x657ca8]
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.0045c0c0
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.0045c0c0
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.0045c0c0
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 [0x657600]
fstp qword [esp + 0x184]
fld dword [esp + 0x2c]
call fcn.00614460
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fmul dword [esp + 0x68]
fmul qword [0x657828]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd qword [esp + 0x184]
fstp dword [esp + 0x154]
fld dword [esp + 0x2c]
call fcn.00614330
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 [0x657828]
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.00401200
mov edx, eax
lea eax, [esp + 0x338]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x3b4]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x1e8]
call fcn.00401200
push 0x498f5b
push 3
push 0x1c
lea eax, [esp + 0x98]
push eax
call fcn.0043c160
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.00498f0f
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.00498f0f
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.00498f0f
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 + 0x54]
lea edx, [esp + 0x3ec]
call fcn.004c5c6d
mov esi, eax
and esi, 0x7ff
call fcn.004c5c6d
mov edi, eax
and edi, ebx
call fcn.004c5c6d
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 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x40]
call fcn.004549b0
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 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x14]
call fcn.004549b0
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 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x4c]
call fcn.004549b0
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.006146a0
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 0x4e99cf
fstp st(0)
fild dword [esp + 0x54]
fild dword [esp + 0x28]
call fcn.0061479a
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 [0x657ca8]
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.0045c0c0
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.0045c0c0
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.0045c0c0
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.00614460
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x14]
fmul dword [esp + 0x68]
fmul qword [0x657828]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd qword [esp + 0x184]
fstp dword [esp + 0x114]
fld dword [esp + 0x2c]
call fcn.00614330
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 [0x657828]
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.00401200
mov edx, eax
lea eax, [esp + 0x338]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x374]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x1e8]
call fcn.00401200
push 0x498f5b
push 3
push 0x1c
lea eax, [esp + 0x98]
push eax
call fcn.0043c160
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.00498f0f
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.00498f0f
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.00498f0f
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 + 0x54]
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x1d4]
mov dword [esp + 0x18], edi
jl 0x4e9e9b
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 0x4e9218
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 0x4e9ee6
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 0x4e9195
mov ecx, dword [ebp + 8]
push 3
pop edi
call fcn.0045e475
jmp 0x4e90dd
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