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

Disassembly:
sub esp, 0x168
push ebx
push ebp
mov ebp, dword [esp + 0x174]
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0xdc]
cmp eax, ebx
jle 0x47d5f2
mov esi, dword [esp + 0x180]
cmp esi, ebx
je 0x47d5f2
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x38]
fild dword [esp + 0x1c]
cmp eax, ebx
fdivr qword [0x51f240]
fstp dword [esp + 0x50]
jle 0x47d76a
xor edi, edi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x1c], edi
mov eax, dword [ebp + 0xd8]
lea ebx, [edi + eax]
mov eax, dword [edi + eax + 0x13c]
test al, 3
jne 0x47d4b8
fld dword [esi]
fdiv dword [esp + 0x50]
call fcn.004b6898
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xdc]
fild dword [esp + 0x10]
lea edx, [ecx - 1]
cmp eax, edx
fmul dword [esp + 0x50]
fsubr dword [esi]
fdiv dword [esp + 0x50]
fstp dword [esp + 0x10]
jne 0x47d11f
lea eax, [ecx + ecx*8]
mov ecx, dword [ebx + 0x120]
add ebx, 0xdc
lea edx, [ecx + eax*4 - 0x24]
push edx
push ebx
jmp 0x47d5b7
mov edx, dword [ebx + 0x120]
lea ecx, [eax + eax*8]
lea edi, [esp + 0xe8]
lea eax, [eax + eax*8 + 9]
lea esi, [edx + ecx*4]
mov ecx, 9
mov dword [esp + 0x14], esi
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + eax*4]
mov ecx, 9
lea edi, [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0xc4]
fsub dword [esp + 0xe8]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0xcc]
fstp dword [esp + 0x38]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
fld dword [esp + 0x3c]
fsub dword [esp + 0xec]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fsub dword [esp + 0xf0]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
fstp dword [esp + 0x40]
fld dword [esp + 0xd0]
fsub dword [esp + 0xf4]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fsub dword [esp + 0xf8]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fsub dword [esp + 0xfc]
fstp dword [esp + 0x4c]
fld dword [esp + 0xdc]
fsub dword [esp + 0x100]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fsub dword [esp + 0x104]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fsub dword [esp + 0x108]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x7c], edx
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fmul dword [esp + 0x10]
fld dword [esp + 0x88]
fmul dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
fstp dword [esp + 0x88]
fld dword [esp + 0x8c]
fmul dword [esp + 0x10]
fstp dword [esp + 0x8c]
fld dword [esp + 0x44]
fmul dword [esp + 0x10]
fld dword [esp + 0x7c]
fmul dword [esp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x80]
fmul dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x98], eax
fstp dword [esp + 0x80]
fld dword [esp + 0x38]
fmul dword [esp + 0x10]
fld dword [esp + 0x94]
fmul dword [esp + 0x10]
mov dword [esp + 0x90], ecx
mov ecx, 9
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x94]
fld dword [esp + 0x98]
fmul dword [esp + 0x10]
fstp dword [esp + 0x98]
fld dword [esp + 0xa0]
fadd st(1)
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0xa8]
fstp dword [esp + 0x60]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
fstp st(0)
fld dword [esp + 0x64]
fadd dword [esp + 0x94]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x54], ecx
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fadd dword [esp + 0x98]
mov edx, dword [esp + 0x64]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x58], edx
fstp dword [esp + 0x68]
fld dword [esp + 0xac]
fadd st(1)
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fstp st(0)
fld dword [esp + 0x58]
fadd dword [esp + 0x7c]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fadd dword [esp + 0x80]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x70], edx
fstp dword [esp + 0x5c]
fld dword [esp + 0xb8]
fadd st(1)
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x74], eax
fstp dword [esp + 0x6c]
fstp st(0)
fld dword [esp + 0x70]
fadd dword [esp + 0x88]
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fadd dword [esp + 0x8c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x74]
mov dword [esp + 0xb8], ecx
mov ecx, 9
lea esi, [esp + 0xa0]
lea edi, [esp + 0x154]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
add ebx, 0xdc
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x154]
push ecx
push ebx
call fcn.004cc360
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x47d5bf
test al, 1
je 0x47d552
fld dword [0x544d0c]
fmul dword [ebx + 0x150]
fld st(0)
call fcn.004b6898
mov dword [esp + 0x14], eax
mov al, byte [ebp + 8]
fisub dword [esp + 0x14]
test al, al
je 0x47d4fd
mov edx, dword [ebx + 0x114]
add edx, 0xc
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [edx + 8]
jmp 0x47d510
add ebx, 0x40
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [ebx + 8]
fmul dword [0x52317c]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], edx
push eax
call fcn.004b6898
lea ecx, [esp + 0x134]
push eax
push ecx
call fcn.0047a2f0
mov eax, dword [ebp + 0xd8]
lea edx, [esp + 0x13c]
push edx
lea ecx, [edi + eax + 0xdc]
push ecx
call fcn.004cc360
add esp, 0x14
jmp 0x47d5bf
test al, 2
je 0x47d5bf
mov al, byte [ebp + 8]
test al, al
je 0x47d57f
fld dword [esi]
mov edx, dword [ebx + 0x114]
fmul dword [0x52317c]
add edx, 0xc
push edx
call fcn.004b6898
push eax
lea eax, [esp + 0x114]
push eax
jmp 0x47d599
fld dword [esi]
fmul dword [0x52317c]
add ebx, 0x40
push ebx
call fcn.004b6898
lea ecx, [esp + 0x110]
push eax
push ecx
call fcn.0047a2f0
mov eax, dword [ebp + 0xd8]
add esp, 0xc
lea edx, [esp + 0x10c]
lea ecx, [edi + eax + 0xdc]
push edx
push ecx
call fcn.004cc360
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x38]
inc eax
add esi, 4
add edi, 0x164
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0x1c], edi
jl 0x47d0bf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x18], ebx
cmp eax, ebx
jle 0x47d76a
xor edi, edi
mov edx, dword [ebp + 0xd8]
mov eax, dword [edx + edi + 0x13c]
lea esi, [edx + edi]
test al, 1
je 0x47d6b0
fld dword [0x544d0c]
fmul dword [esi + 0x150]
fld st(0)
call fcn.004b6898
mov dword [esp + 0x14], eax
mov al, byte [ebp + 8]
fisub dword [esp + 0x14]
test al, al
je 0x47d658
mov eax, dword [esi + 0x114]
add eax, 0xc
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 8]
jmp 0x47d66b
add esi, 0x40
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 4]
mov dword [esp + 0x24], edx
mov eax, dword [esi + 8]
fmul dword [0x52317c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], eax
push ecx
call fcn.004b6898
lea edx, [esp + 0x134]
push eax
push edx
call fcn.0047a2f0
mov ecx, dword [ebp + 0xd8]
lea eax, [esp + 0x13c]
push eax
lea edx, [ecx + edi + 0xdc]
push edx
call fcn.004cc360
add esp, 0x14
jmp 0x47d750
test al, 2
je 0x47d72d
fld dword [0x544d0c]
fld st(0)
call fcn.004b6898
mov dword [esp + 0x14], eax
mov al, byte [ebp + 8]
fisub dword [esp + 0x14]
test al, al
je 0x47d6ed
fmul dword [0x52317c]
mov eax, dword [esi + 0x114]
push eax
call fcn.004b6898
lea ecx, [esp + 0x110]
push eax
push ecx
jmp 0x47d705
fmul dword [0x52317c]
add esi, 0x40
push esi
call fcn.004b6898
lea edx, [esp + 0x110]
push eax
push edx
call fcn.0047a2f0
mov ecx, dword [ebp + 0xd8]
add esp, 0xc
lea eax, [esp + 0x10c]
lea edx, [ecx + edi + 0xdc]
push eax
push edx
call fcn.004cc360
add esp, 8
jmp 0x47d750
mov word [esi + 0xde], bx
mov eax, dword [ebp + 0xd8]
mov word [eax + edi + 0xdc], bx
mov ecx, dword [ebp + 0xd8]
mov word [ecx + edi + 0xde], bx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x38]
inc eax
add edi, 0x164
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x47d603
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret