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

Disassembly:
mov eax, dword [0xbcad98]
sub esp, 0x34
mov ecx, dword [0xbcad94]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
mov edx, dword [ebp + 0xc]
push 0
add eax, edx
lea edx, [esp + 0x48]
cmp eax, ecx
mov eax, dword [0xbcad90]
push edx
mov ecx, dword [eax]
jg 0x49cce5
push 0x1020
push eax
call dword [ecx + 0xc]
mov ecx, dword [0xbcad98]
mov edi, dword [esp + 0x44]
mov edx, ecx
mov esi, ecx
shl edx, 5
add edi, edx
mov edx, dword [ebp + 0xc]
add ecx, edx
mov dword [esp + 0xc], esi
test eax, eax
mov dword [esp + 0x44], edi
mov dword [0xbcad98], ecx
jne 0x49d0a5
jmp 0x49cd05
push 0x2020
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp + 0xc]
xor esi, esi
test eax, eax
mov dword [esp + 0xc], esi
mov dword [0xbcad98], ecx
jne 0x49d0a5
mov eax, dword [esp + 0x44]
test eax, eax
je 0x49d0a5
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x10]
push ebx
mov al, byte [edx + 0x5b4]
fld dword [edx + 0x100]
test al, al
je 0x49ce0d
fadd dword [edx + 0xfc]
mov edi, dword [ebp + 0xc]
xor eax, eax
test edi, edi
fmul dword [0x533504]
fstp dword [esp + 0x38]
jle 0x49d08a
fld dword [ecx]
fsub dword [esp + 0x38]
fld dword [ecx + 4]
fld dword [ecx + 8]
fld st(0)
fmul dword [edx + 0x78]
fld st(2)
fmul dword [edx + 0x74]
mov esi, dword [esp + 0x48]
faddp st(1)
fld st(3)
fmul dword [edx + 0x70]
faddp st(1)
fstp dword [esp + 0x2c]
fld st(2)
fmul dword [edx + 0x7c]
fld st(1)
fmul dword [edx + 0x84]
mov edi, dword [esp + 0x2c]
faddp st(1)
fld st(2)
fmul dword [edx + 0x80]
faddp st(1)
fstp dword [esp + 0x30]
fmul dword [edx + 0x90]
fxch st(1)
fmul dword [edx + 0x8c]
faddp st(1)
fxch st(1)
fmul dword [edx + 0x88]
mov dword [esi], edi
mov edi, dword [esp + 0x30]
faddp st(1)
mov dword [esi + 4], edi
fstp dword [esp + 0x34]
mov edi, dword [esp + 0x34]
mov dword [esi + 8], edi
mov edi, dword [esp + 0x48]
lea esi, [ecx + 0xc]
add edi, 0xc
inc eax
add ecx, 0x20
mov ebx, dword [esi]
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [edi + 4], ebx
mov esi, dword [esi + 8]
mov dword [edi + 8], esi
mov edi, dword [esp + 0x48]
mov esi, dword [ecx - 8]
mov dword [edi + 0x18], esi
mov edi, dword [esp + 0x48]
mov esi, dword [ecx - 4]
mov dword [edi + 0x1c], esi
mov edi, dword [esp + 0x48]
mov esi, dword [ebp + 0xc]
add edi, 0x20
cmp eax, esi
mov dword [esp + 0x48], edi
jl 0x49cd4a
jmp 0x49d086
fsub dword [edx + 0xfc]
mov al, byte [edx + 0x5b5]
test al, al
fdivr dword [0x5333e0]
fstp dword [esp + 0x4c]
je 0x49ce2f
fld dword [edx + 0x100]
jmp 0x49ce35
fld dword [edx + 0xfc]
fchs
fild dword [edx + 0x59c]
test al, al
fmul dword [esp + 0x4c]
je 0x49ce47
fchs
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x49d09f
fld st(1)
fadd dword [ecx]
mov eax, dword [edx + 0x59c]
fmul st(1)
fld st(0)
fistp qword [esp + 0x18]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov dword [esp + 0x4c], esi
jne 0x49ce7d
dec esi
mov dword [esp + 0x4c], esi
fisub dword [esp + 0x4c]
fld dword [0x5333ec]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49ce9a
fstp st(0)
fld dword [0x5333ec]
jmp 0x49ceb1
fld dword [0x5333e0]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49ceb1
fstp st(0)
fld dword [0x5333e0]
lea eax, [esi + esi*4]
lea edi, [esi + esi*2]
lea ebx, [esi + esi*2 + 0x42]
fld dword [edx + eax*8 + 0x208]
fmul dword [ecx + 8]
fld dword [edx + eax*8 + 0x204]
lea eax, [edx + eax*8]
lea edi, [edx + edi*4]
fmul dword [ecx + 4]
faddp st(1)
fld dword [eax + 0x214]
fmul dword [ecx + 8]
fld dword [eax + 0x210]
fmul dword [ecx + 4]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [eax + 0x220]
fmul dword [ecx + 8]
fld dword [eax + 0x21c]
fmul dword [ecx + 4]
faddp st(1)
fstp dword [esp + 0x28]
fadd dword [edi + 0x104]
fld dword [esp + 0x24]
fadd dword [edx + ebx*4]
lea ebx, [esi + esi*2 + 0x45]
lea esi, [esi + esi*4 + 0x41]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [edi + 0x10c]
fstp dword [esp + 0x28]
fld dword [eax + 0x230]
fmul dword [ecx + 8]
fld dword [eax + 0x22c]
fmul dword [ecx + 4]
faddp st(1)
fld dword [eax + 0x23c]
fmul dword [ecx + 8]
fld dword [eax + 0x238]
fmul dword [ecx + 4]
faddp st(1)
fstp dword [esp + 0x30]
fld dword [eax + 0x248]
fmul dword [ecx + 8]
fld dword [eax + 0x244]
fmul dword [ecx + 4]
faddp st(1)
fstp dword [esp + 0x34]
fadd dword [edi + 0x110]
fld dword [esp + 0x30]
fadd dword [edx + ebx*4]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fadd dword [edi + 0x118]
mov edi, dword [esp + 0x48]
fstp dword [esp + 0x34]
fsub st(1)
fmul st(2)
fadd st(1)
fstp dword [edi]
mov edi, dword [esp + 0x48]
fstp st(0)
fld dword [esp + 0x30]
fsub dword [esp + 0x24]
fmul st(1)
fadd dword [esp + 0x24]
fstp dword [edi + 4]
fld dword [esp + 0x34]
fsub dword [esp + 0x28]
mov edi, dword [esp + 0x48]
fmul st(1)
fadd dword [esp + 0x28]
fstp dword [edi + 8]
fstp st(0)
fld dword [edx + esi*8]
fmul dword [ecx + 0x14]
fld dword [eax + 0x204]
fmul dword [ecx + 0x10]
faddp st(1)
fld dword [ecx + 0xc]
fmul dword [eax + 0x200]
add ecx, 0x20
faddp st(1)
fstp dword [esp + 0x38]
fld dword [eax + 0x210]
fmul dword [ecx - 0x10]
fld dword [eax + 0x20c]
fmul dword [ecx - 0x14]
mov esi, dword [esp + 0x38]
faddp st(1)
fld dword [eax + 0x214]
fmul dword [ecx - 0xc]
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [eax + 0x21c]
fmul dword [ecx - 0x10]
fld dword [eax + 0x218]
fmul dword [ecx - 0x14]
faddp st(1)
fld dword [eax + 0x220]
fmul dword [ecx - 0xc]
mov eax, dword [esp + 0x48]
add eax, 0xc
faddp st(1)
mov dword [eax], esi
mov esi, dword [esp + 0x3c]
fstp dword [esp + 0x40]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x40]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x48]
mov eax, dword [ecx - 8]
mov dword [esi + 0x18], eax
mov esi, dword [esp + 0x48]
mov eax, dword [ecx - 4]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x48]
mov esi, dword [ebp + 0xc]
inc eax
add edi, 0x20
cmp eax, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], edi
jl 0x49ce5a
fstp st(0)
fstp st(0)
mov esi, dword [esp + 0x10]
mov eax, dword [0xbcad90]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
pop ebx
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x34
ret
fstp st(0)
fstp st(0)
jmp 0x49d08a
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x34
ret