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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa5c
mov edx, dword [eax]
mov dword [esp + 8], edx
fild dword [esp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
fstp dword [esp + 0x28]
push edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], esi
fild dword [esp + 0x14]
lea edx, [edi + edx - 1]
mov dword [esp + 0x14], edx
lea edx, [eax + esi - 1]
mov eax, dword [ecx + 0xc]
fstp dword [esp + 0x24]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [ecx]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 4]
fstp dword [esp + 0x34]
fild dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov eax, 0x88ba50
fstp dword [esp + 0x38]
mov byte [esp + 0x11], 0
mov dword [esp + 0x48], edx
call fcn.004349b0
mov ebx, dword [ebp + 0x10]
mov byte [esp + 0x1c], al
test ebx, ebx
je 0x49fcd2
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
mov ecx, ebx
call edx
test ebx, ebx
setne al
mov byte [esp + 0x13], al
test al, al
je 0x49fcf6
cmp byte [ebx + 0x56], 0
jne 0x49fcef
cmp byte [ebx + 0x55], 0
jne 0x49fcef
cmp byte [ebp + 0x24], 0
je 0x49fcf6
mov byte [esp + 0x12], 1
jmp 0x49fcfb
mov byte [esp + 0x12], 0
mov eax, 3
cmp dword [ebp + 0xc], eax
jl 0x49ffdf
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0x14
cmp byte [esp + 0x11], 0
jne 0x49fd2e
lea ecx, [eax - 0x14]
mov dword [esp + 0x6c], eax
add eax, 0x14
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], eax
jmp 0x49fd40
lea ecx, [eax + 0x14]
lea edx, [eax - 0x14]
mov dword [esp + 0x68], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x6c], ecx
fld dword [esp + 0x38]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x80], eax
fld dword [esp + 0x34]
xor edi, edi
fstp dword [esp + 8]
lea eax, [esp + 0x78]
fld dword [esp + 0x44]
lea esi, [esp + 0x178]
fstp dword [esp + 4]
mov dword [esp + 0x84], edi
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.0049fb90
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x49ffbd
fld qword [0x82de30]
jbe 0x49fdcf
lea ebx, [esp + 0x26c]
mov eax, dword [esp + edi*4 + 0x168]
fld dword [eax]
fmul st(1)
call fcn.0076f850
mov dword [ebx - 4], eax
mov eax, dword [esp + edi*4 + 0x168]
fld dword [eax + 4]
fmul st(1)
call fcn.0076f850
mov dword [ebx], eax
inc edi
add ebx, 0x20
cmp edi, esi
jb 0x49fd9e
mov ebx, dword [ebp + 0x10]
cmp byte [esp + 0x13], 0
je 0x49fe8d
xor edi, edi
test esi, esi
jbe 0x49fe37
fild dword [ebx + 0x2c]
fstp dword [esp + 0x18]
fild dword [ebx + 0x30]
lea ebx, [esp + 0x284]
fstp dword [esp + 0x30]
fld dword [esp + 0x18]
fld dword [esp + 0x30]
mov eax, dword [esp + edi*4 + 0x168]
fld dword [eax + 8]
fmul st(2)
fmul st(3)
call fcn.0076f850
mov dword [ebx - 4], eax
mov eax, dword [esp + edi*4 + 0x168]
fld dword [eax + 0xc]
fmul st(1)
fmul st(3)
call fcn.0076f850
mov dword [ebx], eax
inc edi
add ebx, 0x20
cmp edi, esi
jb 0x49fdfd
mov ebx, dword [ebp + 0x10]
fstp st(2)
fstp st(0)
mov eax, dword [ebx]
fstp st(0)
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x64], eax
imul eax, ecx
mov edx, ecx
mov dword [esp + 0x60], eax
mov eax, edx
shr eax, 1
mov dword [esp + 0x5c], ecx
mov ecx, 0
je 0x49fe6d
inc ecx
shr eax, 1
jne 0x49fe68
mov eax, 0x10
sub eax, ecx
mov ecx, dword [ebx + 0x30]
dec edx
shl edx, 0x10
dec ecx
shl ecx, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
jmp 0x49fe8f
fstp st(0)
cmp byte [ebp + 0x28], 0
je 0x49fee9
xor edx, edx
test esi, esi
jbe 0x49fee9
lea eax, [esp + 0x274]
mov ecx, dword [esp + edx*4 + 0x168]
mov edi, dword [ecx + 0x10]
sar edi, 8
and edi, 0xff0000
mov dword [eax - 4], edi
mov edi, dword [ecx + 0x10]
and edi, 0xff0000
mov dword [eax], edi
mov edi, dword [ecx + 0x10]
and edi, 0xff00
shl edi, 8
mov dword [eax + 4], edi
mov ecx, dword [ecx + 0x10]
and ecx, 0xff
shl ecx, 0x10
mov dword [eax + 8], ecx
inc edx
add eax, 0x20
cmp edx, esi
jb 0x49fea2
cmp dword [ebp + 0x14], 1
mov edx, dword [ebp + 0x24]
sete al
mov byte [esp + 0x28], al
lea ecx, [esp + 0x4c]
push eax
push edx
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0x18]
push ecx
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x280]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov dl, byte [esp + 0x32]
push eax
mov al, byte [esp + 0x37]
call fcn.00544640
add esp, 0x24
cmp esi, 3
jbe 0x49ffbd
dec esi
cmp esi, 2
jbe 0x49ffbd
add esi, 0xfffffffe
lea ebx, [esp + 0x2c8]
mov dword [esp + 0x18], esi
mov edx, dword [ebp + 0x24]
lea esi, [ebx - 0x20]
mov ecx, 8
lea edi, [esp + 0x288]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, ebx
lea edi, [esp + 0x2a8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
push ecx
push edx
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x58]
push ecx
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x280]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov dl, byte [esp + 0x32]
push eax
mov al, byte [esp + 0x37]
call fcn.00544640
add esp, 0x24
add ebx, 0x20
sub dword [esp + 0x18], 1
jne 0x49ff50
mov ebx, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc esi
cmp byte [esp + 0x11], 0
mov dword [esp + 0x14], esi
sete cl
cmp esi, dword [ebp + 0xc]
mov byte [esp + 0x11], cl
jle 0x49fd13
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret