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

Disassembly:
sub esp, 0x368
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x220]
push edi
mov edi, dword [ebx + 0x21c]
xor esi, esi
cmp eax, esi
mov dword [ebx + 0x234], esi
mov dword [ebx + 0x230], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0xb4], esi
jle 0x4a5764
lea ebp, [edi + 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x1718]
cmp eax, ecx
mov dword [esp + 0x24], ecx
jl 0x4a463a
mov edx, dword [ebp - 0x10]
mov esi, dword [ebx + 0x171c]
cmp edx, esi
jl 0x4a4636
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x10], eax
jmp 0x4a4671
cmp eax, ecx
jge 0x4a464c
inc eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [ebp + 0x30]
fidiv dword [esp + 0x24]
jmp 0x4a466d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x171c]
cmp eax, ecx
mov dword [esp + 0x14], ecx
jge 0x4a4671
inc eax
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [ebp + 0x30]
fidiv dword [esp + 0x14]
fstp dword [esp + 0x10]
mov eax, dword [ebx + 0x1730]
cmp eax, 3
jl 0x4a5849
cmp eax, 4
jle 0x4a4f3d
cmp eax, 5
jne 0x4a5849
mov ecx, edi
mov esi, dword [esp + 0x37c]
mov edx, dword [ecx]
mov dword [esp + 0x74], edx
mov edx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 0x78], eax
mov eax, dword [edx]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x134]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edx + 4]
add eax, 0x148
mov dword [esp + 0x2c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
mov ecx, dword [eax]
mov dword [esp + 0x134], ecx
mov edx, dword [eax + 4]
fld dword [esp + 0x134]
fmul dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x138], edx
fld dword [esp + 0x138]
fmul dword [esp + 0x10]
mov dword [esp + 0x13c], eax
fstp dword [esp + 0x240]
fld dword [esp + 0x13c]
fmul dword [esp + 0x10]
fstp dword [esp + 0x244]
fadd dword [esp + 0x28]
fstp dword [esp + 0x1b0]
fld dword [esp + 0x240]
fadd dword [esp + 0x2c]
mov ecx, dword [esp + 0x1b0]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x28]
fstp dword [esp + 0x1b4]
fld dword [esp + 0x244]
fadd dword [esp + 0x30]
mov edx, dword [esp + 0x1b4]
push ecx
mov dword [esp + 0xa4], edx
lea edx, [esp + 0x2c]
fstp dword [esp + 0x1bc]
mov eax, dword [esp + 0x1bc]
push edx
mov ecx, esi
mov dword [esp + 0xac], eax
call fcn.004a0610
test al, al
jne 0x4a5738
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x9c]
push eax
push ecx
mov ecx, esi
call fcn.004a0610
fld dword [esp + 0x9c]
fsub dword [esp + 0x28]
fmul dword [0x58e1f0]
fstp dword [esp + 0x10]
fld dword [esp + 0x74]
fadd dword [ebp - 8]
fld dword [esp + 0x78]
fadd dword [ebp - 4]
fstp dword [esp + 0x258]
fld dword [esp + 0x7c]
fadd dword [ebp]
fstp dword [esp + 0x25c]
fsub dword [ebx + 0x208]
fstp dword [esp + 0xe0]
fld dword [esp + 0x258]
fsub dword [ebx + 0x20c]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x80]
fstp dword [esp + 0xe4]
fld dword [esp + 0x25c]
fsub dword [ebx + 0x210]
mov eax, dword [esp + 0xe4]
push edx
mov dword [esp + 0x88], eax
lea eax, [esp + 0x84]
fstp dword [esp + 0xec]
mov ecx, dword [esp + 0xec]
push eax
mov dword [esp + 0x90], ecx
mov ecx, esi
call fcn.004a0610
test al, al
jne 0x4a5738
fld dword [esp + 0x80]
fsub dword [esp + 0x28]
fstp dword [esp + 0x360]
fld dword [esp + 0x84]
fsub dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul dword [0x5942e8]
fld dword [esp + 0x360]
fabs
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a4ab4
fld st(1)
fabs
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a4ab6
fstp st(0)
fld dword [esp + 0x80]
fadd dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [esp + 0x84]
mov dword [esp + 0x15c], 0x3f800000
mov dword [esp + 0x1f4], 0x3f800000
mov dword [esp + 0x17c], 0x3f800000
fstp dword [esp + 0x24c]
fld dword [esp + 0x30]
fadd dword [esp + 0x88]
fstp dword [esp + 0x250]
fmul dword [0x58e1f0]
fstp dword [esp + 0x90]
fld dword [esp + 0x24c]
fmul dword [0x58e1f0]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x94]
fld dword [esp + 0x250]
fmul dword [0x58e1f0]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x98]
fld dword [esp + 0x90]
fsub dword [esp + 0x10]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], eax
fst dword [esp + 0x150]
fld dword [esp + 0x94]
fsub dword [esp + 0x10]
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x40], ecx
fst dword [esp + 0x154]
fld dword [esp + 0x98]
fstp dword [esp + 0x158]
fld dword [esp + 0x90]
fadd dword [esp + 0x10]
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x158]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
fst dword [esp + 0x24]
fstp dword [esp + 0x1e8]
mov edx, dword [esp + 0x1e8]
fstp dword [esp + 0x1ec]
fld dword [esp + 0x98]
fstp dword [esp + 0x1f0]
mov eax, dword [esp + 0x1ec]
mov ecx, dword [esp + 0x1f0]
fstp dword [esp + 0x170]
fld dword [esp + 0x94]
fadd dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1f4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
fst dword [esp + 0x174]
fld dword [esp + 0x98]
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
fstp dword [esp + 0x178]
mov edx, dword [esp + 0x178]
mov dword [esp + 0x5c], edx
fstp dword [esp + 0xd4]
fld dword [esp + 0x98]
mov eax, dword [esp + 0xd4]
mov edx, ecx
fstp dword [esp + 0xd8]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xdc], 0x3f800000
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
jmp 0x4a4d6f
fstp st(0)
fld dword [esp + 0x360]
fchs
fstp dword [esp + 0xbc]
mov dword [esp + 0xc0], 0
fld dword [esp + 0xc0]
fmul dword [esp + 0xc0]
fld dword [esp + 0xbc]
fmul dword [esp + 0xbc]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fst dword [esp + 0x14]
fcomp qword [0x58dc98]
fnstsw ax
test ah, 1
je 0x4a4b5a
fld dword [esp + 0x14]
fcomp qword [0x58dc90]
fnstsw ax
test ah, 0x41
jne 0x4a4b5a
mov dword [esp + 0x1cc], 0
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x1d4], 0
mov edx, dword [esp + 0x1d4]
mov dword [esp + 0x1d0], 0
mov ecx, dword [esp + 0x1d0]
fstp st(0)
mov dword [esp + 0x36c], eax
jmp 0x4a4ba5
fdiv dword [esp + 0x14]
fstp dword [esp + 0xfc]
fld dword [esp + 0xbc]
fdiv dword [esp + 0x14]
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x36c], eax
fstp dword [esp + 0x100]
fld dword [esp + 0xc0]
fdiv dword [esp + 0x14]
mov ecx, dword [esp + 0x100]
fstp dword [esp + 0x104]
mov edx, dword [esp + 0x104]
fld dword [esp + 0x36c]
fmul dword [esp + 0x10]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], eax
fld dword [esp + 0xac]
fmul dword [esp + 0x10]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xf8], 0x3f800000
mov dword [esp + 0x114], 0x3f800000
mov dword [esp + 0x130], 0x3f800000
mov dword [esp + 0x14c], 0x3f800000
fstp dword [esp + 0xac]
fld dword [esp + 0x80]
fadd st(1)
fstp dword [esp + 0xec]
fld dword [esp + 0x84]
fadd dword [esp + 0xac]
mov eax, dword [esp + 0xec]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xf8]
fstp dword [esp + 0xf0]
fld dword [esp + 0x88]
fstp dword [esp + 0xf4]
fld dword [esp + 0x80]
fsub st(1)
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x108]
fld dword [esp + 0x84]
fsub dword [esp + 0xac]
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x114]
fstp dword [esp + 0x10c]
fld dword [esp + 0x88]
fstp dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x110]
fld st(0)
fadd dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
fstp dword [esp + 0x124]
fld dword [esp + 0x2c]
fadd dword [esp + 0xac]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x130]
fstp dword [esp + 0x128]
fld dword [esp + 0x30]
fstp dword [esp + 0x12c]
fld dword [esp + 0x28]
fsub st(1)
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
fstp dword [esp + 0x140]
mov dword [esp + 0x60], edx
fstp st(0)
fld dword [esp + 0x2c]
fsub dword [esp + 0xac]
fstp dword [esp + 0x144]
fld dword [esp + 0x30]
fstp dword [esp + 0x148]
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, dword [ebx + 0x230]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x2a0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2a4], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2a8], ecx
mov ecx, dword [ebx + 0x240]
shl edi, 5
mov dword [esp + 0x2ac], edx
add edi, ecx
mov edx, 0xff000000
mov ecx, 8
lea esi, [esp + 0x2a0]
mov dword [esp + 0x2b0], eax
mov dword [esp + 0x2b4], edx
mov dword [esp + 0x2b8], 0
mov dword [esp + 0x2bc], 0
mov dword [esp + 0x270], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
mov edi, dword [ebx + 0x230]
mov esi, dword [ebx + 0x240]
mov dword [esp + 0x260], ecx
mov ecx, dword [esp + 0x48]
inc edi
mov dword [esp + 0x264], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x268], ecx
mov ecx, dword [esp + 0x50]
shl edi, 5
mov dword [esp + 0x26c], ecx
add edi, esi
mov ecx, 8
lea esi, [esp + 0x260]
mov dword [esp + 0x274], edx
mov dword [esp + 0x278], 0x3f800000
mov dword [esp + 0x27c], 0
mov dword [esp + 0x330], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
mov edi, dword [ebx + 0x230]
mov dword [esp + 0x320], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x324], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x328], ecx
mov ecx, dword [esp + 0x60]
add edi, 2
mov dword [esp + 0x32c], ecx
mov ecx, dword [ebx + 0x240]
lea esi, [esp + 0x320]
shl edi, 5
add edi, ecx
mov ecx, 8
mov dword [esp + 0x334], edx
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0x3f800000
mov dword [esp + 0x2f4], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x64]
mov edi, dword [ebx + 0x230]
mov dword [esp + 0x2e0], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ebx + 0x240]
mov dword [esp + 0x2e4], ecx
mov ecx, dword [esp + 0x6c]
add edi, 3
mov dword [esp + 0x2e8], ecx
mov ecx, dword [esp + 0x70]
shl edi, 5
mov dword [esp + 0x2ec], ecx
mov dword [esp + 0x2f0], eax
mov dword [esp + 0x2f8], 0x3f800000
mov dword [esp + 0x2fc], 0x3f800000
add edi, edx
mov ecx, 8
lea esi, [esp + 0x2e0]
jmp 0x4a562f
cmp eax, 3
mov eax, edi
mov ecx, dword [eax]
jne 0x4a5108
fld dword [ebp + 0x34]
fcomp dword [0x58ddb8]
mov edx, dword [eax + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov esi, dword [eax + 8]
fnstsw ax
mov dword [esp + 0x7c], esi
test ah, 0x40
jne 0x4a5004
mov esi, dword [0x5e0630]
fld dword [ebp + 0x3c]
fdiv dword [esi + 4]
mov edi, dword [esi]
call sub.MSVCRT.dll__ftol
cdq
idiv edi
test edx, edx
jge 0x4a4f8c
add edx, edi
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x8c]
fld dword [ecx + edx*4]
fld st(0)
fmul dword [ebp + 0x10]
fstp dword [esp + 0x230]
fld st(0)
fmul dword [ebp + 0x14]
fstp dword [esp + 0x234]
fmul dword [ebp + 0x18]
fld dword [esp + 0x74]
fadd dword [esp + 0x230]
fstp dword [esp + 0xc4]
fld dword [esp + 0x234]
fadd dword [esp + 0x78]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x74], ecx
fstp dword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
fadd dword [esp + 0x7c]
mov dword [esp + 0x78], edx
fstp dword [esp + 0xcc]
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x37c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov edx, dword [ecx + 0x134]
add edx, 0x148
mov eax, dword [edx]
mov dword [esp + 0x118], eax
mov eax, dword [edx + 4]
fld dword [esp + 0x118]
fmul dword [esp + 0x10]
mov edx, dword [edx + 8]
mov dword [esp + 0x11c], eax
fld dword [esp + 0x11c]
fmul dword [esp + 0x10]
mov dword [esp + 0x120], edx
fstp dword [esp + 0x228]
fld dword [esp + 0x120]
fmul dword [esp + 0x10]
fstp dword [esp + 0x22c]
fadd dword [esp + 0x74]
fstp dword [esp + 0x208]
fld dword [esp + 0x228]
fadd dword [esp + 0x78]
mov eax, dword [esp + 0x208]
mov dword [esp + 0x9c], eax
fstp dword [esp + 0x20c]
fld dword [esp + 0x22c]
fadd dword [esp + 0x7c]
mov edx, dword [esp + 0x20c]
mov dword [esp + 0xa0], edx
lea edx, [esp + 0x18]
fstp dword [esp + 0x210]
mov eax, dword [esp + 0x210]
push edx
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a0610
test al, al
jne 0x4a5738
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x380]
push edx
call fcn.004a0610
fld dword [esp + 0x9c]
fsub dword [esp + 0x18]
jmp 0x4a513c
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x18]
mov eax, dword [eax + 8]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x380]
push edx
mov dword [esp + 0x28], eax
call fcn.004a0610
test al, al
jne 0x4a5738
fld dword [esp + 0x10]
fmul dword [0x58e1f0]
fstp dword [esp + 0x10]
fld dword [ebp + 0x2c]
fcomp dword [0x58ddb8]
fnstsw ax
test ah, 0x40
jne 0x4a5303
mov esi, dword [0x5e0630]
fld dword [ebp + 0x2c]
fdiv dword [esi + 4]
mov edi, dword [esi]
call sub.MSVCRT.dll__ftol
cdq
idiv edi
mov eax, edx
test eax, eax
jge 0x4a5178
add eax, edi
mov ecx, dword [esi + 8]
fld dword [ecx + eax*4]
mov eax, edx
test eax, eax
jge 0x4a5186
add eax, edi
mov edx, dword [esi + 0xc]
mov dword [esp + 0x16c], 0x3f800000
mov dword [esp + 0x18c], 0x3f800000
mov dword [esp + 0x1ac], 0x3f800000
fld dword [edx + eax*4]
fld dword [esp + 0x10]
fchs
fst dword [esp + 0x160]
fst dword [esp + 0x164]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x164]
fstp dword [esp + 0x168]
mov edx, dword [esp + 0x168]
mov dword [esp + 0x34], eax
fst dword [esp + 0x184]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x16c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x188]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x184]
fstp dword [esp + 0x1a0]
fld dword [esp + 0x20]
mov dword [esp + 0x180], ecx
mov edx, ecx
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x50], edx
fstp dword [esp + 0x1a8]
fld dword [esp + 0x20]
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x1ac]
mov edx, eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
mov eax, edx
mov ecx, edx
mov dword [esp + 0x1c0], eax
fstp dword [esp + 0x1c4]
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0x1c8], 0x3f800000
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x1c8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x1bc], edx
mov dword [esp + 0x68], edx
lea eax, [esp + 0x38]
mov ecx, 4
fld st(0)
fmul dword [eax]
add eax, 0x10
dec ecx
fadd dword [esp + 0x1c]
fld st(2)
fmul dword [eax - 0x14]
fsubp st(1)
fld st(2)
fmul dword [eax - 0x10]
fld st(2)
fmul dword [eax - 0x14]
faddp st(1)
fadd dword [esp + 0x18]
fstp dword [eax - 0x14]
fstp dword [eax - 0x10]
jne 0x4a52cf
fstp st(0)
fstp st(0)
jmp 0x4a5466
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
mov dword [esp + 0x1e4], 0x3f800000
mov dword [esp + 0x204], 0x3f800000
mov dword [esp + 0x220], 0x3f800000
mov dword [esp + 0x19c], 0x3f800000
fst dword [esp + 0x1d8]
fld dword [esp + 0x1c]
fsub dword [esp + 0x10]
mov edx, dword [esp + 0x1d8]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x1e4]
mov dword [esp + 0x40], edx
fst dword [esp + 0x1dc]
fld dword [esp + 0x20]
fstp dword [esp + 0x1e0]
fld dword [esp + 0x18]
fadd dword [esp + 0x10]
mov eax, dword [esp + 0x1dc]
mov ecx, dword [esp + 0x1e0]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
fst dword [esp + 0x24]
fstp dword [esp + 0x1f8]
mov eax, dword [esp + 0x1f8]
fstp dword [esp + 0x1fc]
fld dword [esp + 0x20]
fstp dword [esp + 0x200]
mov edx, dword [esp + 0x200]
mov ecx, dword [esp + 0x1fc]
fstp dword [esp + 0x214]
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x204]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x214]
mov dword [esp + 0x50], eax
fst dword [esp + 0x218]
fld dword [esp + 0x20]
mov edx, dword [esp + 0x218]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x220]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x21c]
mov eax, dword [esp + 0x21c]
mov dword [esp + 0x190], edx
fstp dword [esp + 0x194]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x194]
mov dword [esp + 0x5c], eax
mov eax, edx
mov dword [esp + 0x68], ecx
fstp dword [esp + 0x198]
mov edx, dword [esp + 0x198]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, dword [ebx + 0x230]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x280], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x284], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x288], ecx
mov ecx, dword [ebx + 0x240]
shl edi, 5
mov dword [esp + 0x28c], edx
add edi, ecx
mov edx, 0xff000000
mov ecx, 8
lea esi, [esp + 0x280]
mov dword [esp + 0x290], eax
mov dword [esp + 0x294], edx
mov dword [esp + 0x298], 0
mov dword [esp + 0x29c], 0
mov dword [esp + 0x2d0], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
mov edi, dword [ebx + 0x230]
mov esi, dword [ebx + 0x240]
mov dword [esp + 0x2c0], ecx
mov ecx, dword [esp + 0x48]
inc edi
mov dword [esp + 0x2c4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x2c8], ecx
mov ecx, dword [esp + 0x50]
shl edi, 5
mov dword [esp + 0x2cc], ecx
add edi, esi
mov ecx, 8
lea esi, [esp + 0x2c0]
mov dword [esp + 0x2d4], edx
mov dword [esp + 0x2d8], 0x3f800000
mov dword [esp + 0x2dc], 0
mov dword [esp + 0x310], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
mov edi, dword [ebx + 0x230]
mov dword [esp + 0x300], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x304], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x308], ecx
mov ecx, dword [esp + 0x60]
add edi, 2
mov dword [esp + 0x30c], ecx
mov ecx, dword [ebx + 0x240]
lea esi, [esp + 0x300]
shl edi, 5
add edi, ecx
mov ecx, 8
mov dword [esp + 0x314], edx
mov dword [esp + 0x318], 0
mov dword [esp + 0x31c], 0x3f800000
mov dword [esp + 0x354], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x64]
mov edi, dword [ebx + 0x230]
mov dword [esp + 0x340], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ebx + 0x240]
mov dword [esp + 0x344], ecx
mov ecx, dword [esp + 0x6c]
add edi, 3
mov dword [esp + 0x348], ecx
mov ecx, dword [esp + 0x70]
shl edi, 5
mov dword [esp + 0x34c], ecx
mov dword [esp + 0x350], eax
mov dword [esp + 0x358], 0x3f800000
mov dword [esp + 0x35c], 0x3f800000
add edi, edx
mov ecx, 8
lea esi, [esp + 0x340]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x234]
mov ecx, dword [ebx + 0x230]
mov edx, dword [ebx + 0x23c]
add eax, 6
add ecx, 4
cmp eax, edx
mov dword [ebx + 0x230], ecx
mov dword [ebx + 0x234], eax
jge 0x4a5665
cmp ecx, dword [ebx + 0x238]
jl 0x4a5731
mov edx, dword [ebx + 0x354]
mov ecx, dword [ebx + 0x110]
push edx
call fcn.0049c820
mov eax, dword [ebx + 0x358]
mov ecx, dword [ebx + 0x110]
push eax
call fcn.0049c840
mov ecx, dword [ebx + 0x110]
xor esi, esi
push esi
call fcn.0049c780
mov ecx, dword [ebx + 0x230]
mov edx, dword [ebx + 0x240]
push ecx
mov ecx, dword [ebx + 0x248]
push edx
call fcn.004c7990
mov ecx, dword [ebx + 0x248]
call fcn.004c7b80
mov ecx, dword [ebx + 0x24c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x234]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [ebx + 0x110]
push edx
mov edx, dword [ebx + 0x230]
push esi
push edx
push esi
push 4
call fcn.0049cb60
mov ecx, dword [ebx + 0x24c]
mov dword [ebx + 0x234], esi
mov dword [ebx + 0x230], esi
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x110]
push 1
call fcn.0049c780
mov ecx, dword [ebx + 0x110]
push 5
call fcn.0049c820
mov ecx, dword [ebx + 0x110]
push 6
call fcn.0049c840
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0xb4]
mov ecx, dword [ebx + 0x220]
add edi, 0x60
add ebp, 0x60
inc eax
mov dword [esp + 0x8c], edi
cmp eax, ecx
mov dword [esp + 0xb4], eax
jl 0x4a460f
xor esi, esi
cmp dword [ebx + 0x230], esi
je 0x4a583a
mov ecx, dword [ebx + 0x110]
push esi
call fcn.0049c780
mov edx, dword [ebx + 0x354]
mov ecx, dword [ebx + 0x110]
push edx
call fcn.0049c820
mov eax, dword [ebx + 0x358]
mov ecx, dword [ebx + 0x110]
push eax
call fcn.0049c840
mov ecx, dword [ebx + 0x230]
mov edx, dword [ebx + 0x240]
push ecx
mov ecx, dword [ebx + 0x248]
push edx
call fcn.004c7990
mov ecx, dword [ebx + 0x248]
call fcn.004c7b80
mov ecx, dword [ebx + 0x24c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x234]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [ebx + 0x110]
push edx
mov edx, dword [ebx + 0x230]
push esi
push edx
push esi
push 4
call fcn.0049cb60
mov ecx, dword [ebx + 0x24c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x110]
push 1
mov dword [ebx + 0x234], esi
mov dword [ebx + 0x230], esi
call fcn.0049c780
mov ecx, dword [ebx + 0x110]
push 5
call fcn.0049c820
mov ecx, dword [ebx + 0x110]
push 6
call fcn.0049c840
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x368
ret 4
mov ecx, dword [0x5e062c]
push str.A3DSuperSpray::RenderParticles_now_you_can_only_use_A3DPARTICLE_STANDARD_PARTICLE_FACING_or_TETRA_
push ecx
call fcn.004c6d70
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x368
ret 4