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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3e4
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xcc], edi
call fcn.0043be50
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, 1
jne 0x48bdad
mov dword [edi + 0x54], ebx
cmp dword [edi], edi
je 0x48ccb7
push ebx
mov ecx, edi
call fcn.0043bee0
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x280]
lea edx, [esp + 0x320]
push edx
push esi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x238], esi
call fcn.005b7ae0
add esp, 8
push fcn.005d7ab0
push 4
push 0x10
lea eax, [esp + 0x18c]
push eax
call fcn.00401690
push fcn.005d7ab0
push 4
push 0x10
lea ecx, [esp + 0x1ec]
push ecx
call fcn.00401690
mov eax, dword [esp + 0x330]
mov edx, dword [esp + 0x320]
mov ecx, dword [esp + 0x340]
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x334]
mov dword [esp + 0x1e4], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x180], edx
mov edx, dword [esp + 0x324]
mov dword [esp + 0xb4], eax
mov al, byte [edi + 0x4d]
test al, al
mov dword [esp + 0x188], ecx
mov ecx, dword [esp + 0x344]
mov dword [esp + 0x1e0], edx
mov edx, dword [esi + 0x40]
mov dword [esp + 0x190], 0x3f800000
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 0x3f800000
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x1a0], 0x3f800000
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], 0
mov dword [esp + 0x208], 0x3f800000
mov dword [esp + 0x20c], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0x3f800000
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 0
mov dword [esp + 0x218], 0x3f800000
mov dword [esp + 0x21c], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], 0
mov dword [esp + 0xf8], edx
je 0x48bfaa
mov ecx, dword [edi + 0x40]
mov dword [esp + 0xc8], ecx
jmp 0x48bfb1
mov dword [esp + 0xc8], ebx
mov ecx, edi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x1c], ebx
call fcn.005d7ab0
mov dword [esp + 0xbc], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48bfe4
mov edx, dword [ebp + 8]
push edx
call fcn.005b7b00
add esp, 4
mov eax, dword [esp + 0xcc]
mov ebx, dword [eax]
cmp ebx, dword [esp + 0xbc]
mov dword [esp + 0xc4], ebx
je 0x48cc86
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + edx*4 + 0x24]
test eax, eax
mov ecx, dword [ebx]
mov dword [esp + 0xfc], ecx
jle 0x48cc6b
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x48c04f.2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov esi, dword [eax + 0x5b4]
mov edx, 1
shl edx, cl
test esi, edx
je 0x48cc6b
mov edx, dword [ebx + 8]
mov edx, dword [edx + 0x5c]
dec edx
cmp edx, 0x19
ja case.0x48c04f.2
movzx edx, byte [edx + 0x48ccd0]
jmp dword [edx*4 + 0x48ccc0]
cmp ecx, 3
je 0x48cc6b
cmp dword [esp + 0xa0], eax
jne case.0x48c04f.2
jmp 0x48cc6b
cmp ecx, 3
je case.0x48c04f.2
cmp dword [esp + 0xa0], eax
je 0x48cc6b
jmp case.0x48c04f.2
cmp dword [esp + 0xa0], eax
jne case.0x48c04f.2
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x284]
test ecx, ecx
jne 0x48cc6b
mov esi, dword [ebx + 8]
fld dword [0x784250]
fdiv dword [esi + 0x3c]
mov eax, dword [esi + 0x14]
test eax, eax
mov edi, dword [ebx + 0xc]
mov dword [esp + 0xb0], eax
fstp dword [esp + 0xe4]
je 0x48cc6b
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x48c0da
cmp edi, ecx
jne 0x48cc6b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x48c104
mov dword [esp + 0x234], eax
mov ecx, dword [ebx + 0x24]
push eax
mov dword [esp + 0x23c], ecx
call fcn.005b7b80
add esp, 4
test eax, eax
je 0x48cc6b
test edi, edi
je 0x48c11a
mov edi, dword [edi + 0x30]
test edi, edi
je 0x48c11a
push edi
lea edx, [esp + 0x374]
push edx
jmp 0x48c129
lea eax, [esi + 0x100]
push eax
lea ecx, [esp + 0x374]
push ecx
call fcn.00401310
add esp, 8
lea edx, [esi + 0x140]
push edx
lea eax, [esp + 0x3b4]
push eax
call fcn.00401310
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x44], ecx
fld dword [esp + 0x44]
add esp, 8
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x44
jp 0x48c16f
mov edx, dword [0x78d768]
mov dword [esp + 0x3c], edx
jmp 0x48c189
fld dword [esp + 0x3c]
fcomp dword [0x78d768]
fnstsw ax
test ah, 5
jnp 0x48c189
mov eax, dword [0x78d768]
mov dword [esp + 0x3c], eax
movsx edi, byte [esi + 0x19]
movsx edx, byte [esi + 0x1a]
or eax, 0xffffffff
mov ecx, edi
shl eax, cl
mov ecx, edx
mov dword [esp + 0xec], edi
mov dword [esp + 0x70], 0
not eax
mov dword [esp + 0xf4], eax
or eax, 0xffffffff
shl eax, cl
mov ecx, edi
mov dword [esp + 0x90], 0
not eax
mov dword [esp + 0xf0], eax
mov eax, 1
shl eax, cl
mov ecx, edx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x1c]
fdivr dword [0x784250]
mov esi, dword [ebx + ecx*8 + 0x14]
mov dword [esp + 0x14], eax
lea eax, [ebx + ecx*8 + 0x14]
cmp esi, eax
fstp dword [esp + 0xb8]
fild dword [esp + 0x14]
fdivr dword [0x784250]
fstp dword [esp + 0xc0]
je 0x48cc32
jmp 0x48c220
movsx eax, word [esi + 8]
mov edx, dword [esi]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x370]
mov dword [esp + 0xe8], edx
fild dword [esp + 0x14]
lea edx, [esp + 0x80]
fmul dword [0x78d964]
fmul dword [esp + 0xe4]
fsubr dword [0x784250]
fstp dword [esp + 0x14]
fld dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
fstp dword [esp + 0x60]
fld dword [esi + 0x14]
push ebx
fstp dword [esp + 0x68]
fld dword [esi + 0x18]
push ecx
fstp dword [esp + 0x70]
push edx
call fcn.00488160
fld dword [esp + 0x8c]
fcomp dword [0x7d7d3c]
add esp, 0xc
fnstsw ax
test ah, 0x41
jne 0x48c394
fld dword [esp + 0x80]
fld dword [0x784544]
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 5
jp 0x48c2b9
fstp st(0)
fld dword [0x784544]
fst dword [esp + 0x98]
fstp dword [esp + 0x80]
fld dword [esp + 0x84]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jne 0x48c39f
fld dword [esp + 0x84]
fld dword [0x784544]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 5
jp 0x48c302
fstp st(0)
fld dword [0x784544]
fst dword [esp + 0xac]
fstp dword [esp + 0x84]
fld dword [esp + 0x88]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jne 0x48c3aa
fld dword [esp + 0x88]
fld dword [0x784544]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 5
jp 0x48c34b
fstp st(0)
fld dword [0x784544]
fst dword [esp + 0xa4]
fstp dword [esp + 0x88]
fld dword [esp + 0x8c]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jne 0x48c3b2
fld dword [esp + 0x8c]
fld dword [0x784544]
fcomp dword [esp + 0x8c]
fnstsw ax
test ah, 5
jp 0x48c3b8
fstp st(0)
mov dword [esp + 0x7c], 0x437f0000
jmp 0x48c3bc
fld dword [0x7d7d3c]
jmp 0x48c2b9
fld dword [0x7d7d3c]
jmp 0x48c302
fld dword [0x7d7d3c]
jmp 0x48c34b
fld dword [0x7d7d3c]
fstp dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
fld dword [esp + 0x7c]
mov dword [esp + 0x8c], eax
call fcn.0075bc00
fld dword [esp + 0x328]
fmul dword [esp + 0x60]
push ebx
fld dword [esp + 0x33c]
lea ecx, [esp + 0x3b4]
fmul dword [esp + 0x68]
push ecx
lea edx, [esp + 0x1d8]
push edx
faddp st(1)
mov edi, eax
fld dword [esp + 0x354]
fmul dword [esp + 0x74]
faddp st(1)
fadd dword [esp + 0x364]
fstp dword [esp + 0x1d4]
call fcn.00488160
fld dword [esp + 0x1dc]
mov eax, dword [esp + 0x1dc]
fcomp dword [0x7d7d3c]
mov dword [esp + 0x68], eax
add esp, 0xc
fnstsw ax
test ah, 0x41
jne 0x48c468
fld dword [esp + 0x1c8]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jne 0x48c468
fld dword [esp + 0x1d0]
fdiv dword [esp + 0x1c8]
fmul dword [esp + 0xb4]
jmp 0x48c46e
fld dword [0x7d7d3c]
fcom dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x48c495
fstp st(0)
fld dword [esp + 0x3c]
fld dword [esp + 0x1c8]
fdiv dword [esp + 0xb4]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x1d4]
mov bx, word [esi + 0xa]
call fcn.0075bc00
test bl, 1
jne 0x48c4ae
add ebx, eax
jmp 0x48c4b0
sub ebx, eax
movzx eax, byte [esi + 0x1f]
mov edx, dword [esp + 0xf4]
mov ecx, eax
and ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xec]
sar eax, cl
fild dword [esp + 0x14]
mov ecx, dword [esp + 0xf0]
fmul dword [esp + 0xb8]
and eax, ecx
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x74]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
movzx eax, byte [esi + 0xf]
mov esi, eax
fmul dword [esp + 0xc0]
shr esi, 4
test ecx, ecx
fstp dword [esp + 0x78]
fld dword [esp + 0x74]
fadd dword [esp + 0xb8]
fstp dword [esp + 0x94]
fld dword [esp + 0x78]
fadd dword [esp + 0xc0]
fstp dword [esp + 0x9c]
jne 0x48c635
mov eax, dword [esp + 0x64]
fld dword [esp + 0x5c]
fmul dword [esi*8 + 0x7f3944]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0xac]
fmul dword [0x78d76c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x254], eax
lea eax, [esi*8 + 0x7f3944]
fstp dword [esp + 0x260]
mov dword [esp + 0x248], ecx
mov ecx, dword [esp + 0xa4]
fld dword [esp + 0x5c]
fmul dword [0x78d76c]
mov dword [esp + 0x258], ecx
lea ecx, [esi*8 + 0x7f3948]
mov dword [esp + 0x240], edx
fmul dword [ecx]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x250], edx
mov edx, dword [esp + 0x7c]
fstp dword [esp + 0x264]
mov dword [esp + 0x25c], edx
mov edx, dword [esp + 0x94]
fld st(0)
mov dword [esp + 0x24c], 0x3f800000
fmul dword [eax]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x270], eax
mov eax, dword [esp + 0x9c]
fstp dword [esp + 0x268]
mov dword [esp + 0x278], edx
mov dword [esp + 0x27c], eax
fmul dword [ecx]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x274], ecx
lea ecx, [esp + 0x230]
push ecx
fstp dword [esp + 0x270]
mov word [esp + 0x284], bx
call fcn.005c0ae0
add esp, 4
test eax, eax
je 0x48cc3a
jmp 0x48cbe9
fstp st(0)
and eax, 0xf
mov ecx, eax
shl ecx, 4
test bx, bx
fld dword [esp + ecx + 0x180]
fst dword [esp + 0x40]
mov edx, dword [esp + ecx + 0x1e0]
fld dword [esp + ecx + 0x184]
mov dword [esp + 0x20], edx
fstp dword [esp + 0x44]
fld dword [esp + ecx + 0x188]
fstp dword [esp + 0x48]
fld dword [esp + ecx + 0x18c]
lea ecx, [esp + ecx + 0x1e0]
fstp dword [esp + 0x4c]
fld dword [ecx + 4]
fstp dword [esp + 0x24]
fld dword [ecx + 8]
fstp dword [esp + 0x28]
fld dword [ecx + 0xc]
fstp dword [esp + 0x2c]
je 0x48c90e
test eax, eax
jne 0x48c823
lea eax, [esp + 0x100]
fstp st(0)
push ebx
push eax
call fcn.005ba9c0
fld dword [esp + 0x138]
fmul dword [esp + 0x54]
add esp, 8
fld dword [esp + 0x120]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x110]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x100]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x134]
fmul dword [esp + 0x4c]
fld dword [esp + 0x124]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x114]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x104]
fmul dword [esp + 0x40]
faddp st(1)
fstp dword [esp + 0x224]
mov ecx, dword [esp + 0x224]
fld dword [esp + 0x138]
fmul dword [esp + 0x4c]
fld dword [esp + 0x128]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x118]
fmul dword [esp + 0x44]
mov dword [esp + 0x44], ecx
faddp st(1)
fld dword [esp + 0x108]
fmul dword [esp + 0x40]
faddp st(1)
fstp dword [esp + 0x228]
mov edx, dword [esp + 0x228]
fld dword [esp + 0x130]
mov dword [esp + 0x48], edx
fmul dword [esp + 0x2c]
fld dword [esp + 0x120]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x110]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x100]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x134]
fmul dword [esp + 0x2c]
fld dword [esp + 0x124]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x114]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x104]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x138]
fmul dword [esp + 0x2c]
fld dword [esp + 0x128]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x118]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x108]
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp + 0x368]
fxch st(1)
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x368]
mov dword [esp + 0x28], eax
jmp 0x48c90a
cmp eax, 1
jne 0x48c874
push ebx
fstp st(0)
call fcn.0043c3d0
fstp dword [esp + 0x18]
push ebx
call fcn.0043c310
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
fchs
add esp, 8
fstp dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0
jmp 0x48c90e
cmp eax, 2
jne 0x48c8c2
push ebx
fstp st(0)
call fcn.0043c3d0
fstp dword [esp + 0x1c]
push ebx
call fcn.0043c310
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
fchs
add esp, 8
fstp dword [esp + 0x48]
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ecx
jmp 0x48c90e
cmp eax, 3
jne 0x48c90e
push ebx
fstp st(0)
call fcn.0043c3d0
fstp dword [esp + 0x1c]
push ebx
call fcn.0043c310
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
fld dword [0x7d7d3c]
mov eax, dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov ecx, edx
fchs
add esp, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x24]
fld dword [esp + 0x5c]
fmul dword [esi*8 + 0x7f3944]
fmul dword [0x78d76c]
fst dword [esp + 0x18]
fmulp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x44]
fld dword [esp + 0x18]
fmul dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x5c]
fmul dword [esi*8 + 0x7f3948]
fmul dword [0x78d76c]
fld dword [esp + 0x20]
fmul st(1)
fld st(1)
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fxch st(1)
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld st(2)
fsub st(1)
fstp dword [esp + 0xd0]
fld st(1)
fsub dword [esp + 0x24]
fstp dword [esp + 0xd4]
fld dword [esp + 0x48]
fsub dword [esp + 0x28]
fstp dword [esp + 0xd8]
fadd st(2)
fstp dword [esp + 0x310]
fld dword [esp + 0x24]
fadd st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x28]
fadd dword [esp + 0x48]
fld dword [esp + 0x60]
fsub dword [esp + 0xd0]
fstp dword [esp + 0x140]
fld dword [esp + 0x64]
fsub dword [esp + 0xd4]
fstp dword [esp + 0x144]
fld dword [esp + 0x68]
fsub dword [esp + 0xd8]
fstp dword [esp + 0x148]
fld dword [esp + 0x60]
fsub dword [esp + 0x310]
fstp dword [esp + 0x160]
fld dword [esp + 0x64]
fsub st(2)
fstp dword [esp + 0x164]
fld dword [esp + 0x68]
fsub st(1)
fstp dword [esp + 0x168]
fld dword [esp + 0x310]
fadd dword [esp + 0x60]
fstp dword [esp + 0x170]
fxch st(1)
fadd dword [esp + 0x64]
fstp dword [esp + 0x174]
fadd dword [esp + 0x68]
fstp dword [esp + 0x178]
fld dword [esp + 0xd0]
fadd dword [esp + 0x60]
fstp dword [esp + 0x150]
fld dword [esp + 0xd4]
lea ecx, [esp + 0x290]
fadd dword [esp + 0x64]
fstp dword [esp + 0x154]
fld dword [esp + 0xd8]
fadd dword [esp + 0x68]
fstp dword [esp + 0x158]
call fcn.005baef0
fld dword [esp + 0xa4]
mov edx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x148]
mov dword [esp + 0x290], edx
mov edx, dword [esp + 0x160]
mov dword [esp + 0x294], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x298], ecx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x2a0], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0x2a4], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x2a8], ecx
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x2c0], edx
mov edx, dword [esp + 0x150]
mov dword [esp + 0x2c4], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x2c8], ecx
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x2b0], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x2b4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2b8], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x2d0], edx
mov edx, eax
mov dword [esp + 0x2d4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2d8], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x2dc], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x2e8], eax
mov eax, ecx
mov dword [esp + 0x2ec], ecx
mov dword [esp + 0x2e0], edx
mov dword [esp + 0x2e4], eax
shl edi, 8
call fcn.0075bc00
fld dword [esp + 0xac]
or edi, eax
shl edi, 8
call fcn.0075bc00
fld dword [esp + 0x98]
or edi, eax
shl edi, 8
call fcn.0075bc00
mov ecx, dword [esp + 0xb0]
push 0
push 0
push 0x872e90
or edi, eax
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x2a0]
push edx
mov dword [esp + 0x304], edi
mov dword [esp + 0x308], edi
mov dword [esp + 0x30c], edi
mov dword [esp + 0x310], edi
call fcn.005c7b50
fld dword [esp + 0x1c8]
call fcn.0075bc00
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0xc4]
inc ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x1c]
fadd dword [esp + 0x90]
lea edx, [eax + ecx*8 + 0x14]
cmp esi, edx
fstp dword [esp + 0x90]
jne 0x48c220
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48cc57
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0xb0]
push eax
push ecx
push edx
call fcn.005cde20
add esp, 0xc
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x70]
add ecx, eax
mov dword [esp + 0xa8], ecx
mov ebx, dword [esp + 0xfc]
cmp ebx, dword [esp + 0xbc]
mov dword [esp + 0xc4], ebx
jne 0x48c001
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x48cc93
call fcn.005b7ba0
inc esi
cmp esi, 2
mov dword [esp + 0x1c], esi
jl 0x48bfd0
mov eax, dword [esp + 0xcc]
mov edx, dword [eax + 0x54]
mov ecx, dword [esp + 0xa8]
add edx, ecx
mov dword [eax + 0x54], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4