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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
test dword [edx + 0x8d0], 0x48000
push ebx
push esi
mov esi, dword [edx + 0x8cc]
push edi
mov edi, dword [esi + 0x11b58]
je 0x6dd6c915
mov ecx, dword [edx + 0x8d8]
test ecx, ecx
lea ebx, [edx + 0x8d8]
je 0x6dd6c6c9
lea ebx, [ebx]
fld dword [esi + 0x11b4c]
fld dword [ecx + 8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x6dd6c709
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x6dd6c6b0
mov eax, dword [esi + 0x11b4c]
push eax
call fcn.6dd6c5e0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x6dd6c6f3
push 0x6de3cc7c
lea ecx, [ebp + 8]
push ecx
mov dword [ebp + 8], 0x8007000e
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [ebx]
test eax, eax
lea edx, [ecx + 4]
mov dword [edx], eax
je 0x6dd6c702
mov eax, dword [ebx]
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [ebx], ecx
mov dword [ecx], ebx
mov dword [edx + 0x8dc], ecx
fld dword [esi + 0x11b4c]
fcomp dword [0x6dd3888c]
fnstsw ax
test ah, 0x41
jne 0x6dd6c746
fld qword [0x6dd38c10]
fld dword [esi + 0x11b4c]
fdivr qword [0x6dd31688]
call sub.msvcrt.dll__CIpow
mov edx, dword [ebp + 8]
fstp dword [esi + 0x11b70]
xor ecx, ecx
jmp 0x6dd6c74e
xor ecx, ecx
mov dword [esi + 0x11b70], ecx
cmp dword [edx + 0x8dc], ecx
je 0x6dd6c768
mov eax, dword [esi + 0x12fbc]
test ah, 8
mov dword [ebp - 0x18], 1
jne 0x6dd6c76b
mov dword [ebp - 0x18], ecx
fld dword [esi + 0x11b18]
fmul dword [0x6dd37a64]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fistp qword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
mov dword [esi + 0x11b78], eax
mov ebx, 0xff000000
jge 0x6dd6c79a
mov dword [esi + 0x11b78], ecx
jmp 0x6dd6c7b2
cmp eax, 0xff
jle 0x6dd6c7a9
mov dword [esi + 0x11b78], ebx
jmp 0x6dd6c7b2
shl eax, 0x18
mov dword [esi + 0x11b78], eax
fld dword [esi + 0x11b38]
fmul dword [0x6dd37a64]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fistp qword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
mov dword [esi + 0x11b7c], eax
jge 0x6dd6c7dc
mov dword [esi + 0x11b7c], ecx
jmp 0x6dd6c7f4
cmp eax, 0xff
jle 0x6dd6c7eb
mov dword [esi + 0x11b7c], ebx
jmp 0x6dd6c7f4
shl eax, 0x18
mov dword [esi + 0x11b7c], eax
mov ecx, dword [edx + 0x8dc]
fld dword [esi + 0x11adc]
add ecx, 0xc
mov dword [esi + 0x11ab8], ecx
fmul dword [esi + 0x11b1c]
fstp dword [esi + 0x11aac]
fld dword [esi + 0x11ae0]
fmul dword [esi + 0x11b20]
fstp dword [esi + 0x11ab0]
fld dword [esi + 0x11ae4]
fmul dword [esi + 0x11b24]
fstp dword [esi + 0x11ab4]
fld dword [esi + 0x11b3c]
fmul dword [0x6dd37a64]
fadd dword [esi + 0x11aac]
fstp dword [esi + 0x11aac]
mov eax, dword [esi + 0x11aac]
fld dword [esi + 0x11b40]
mov dword [ebp - 0x14], eax
fmul dword [0x6dd37a64]
fadd dword [esi + 0x11ab0]
fstp dword [esi + 0x11ab0]
fld dword [esi + 0x11b44]
fmul dword [0x6dd37a64]
fadd dword [esi + 0x11ab4]
fstp dword [esi + 0x11ab4]
fld dword [ebp - 0x14]
fistp qword [ebp - 0x10]
mov ecx, dword [esi + 0x11ab0]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
fld dword [ebp - 0x14]
fistp qword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [esi + 0x11ab4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ebx
fld dword [ebp - 0xc]
fistp qword [ebp - 8]
test eax, eax
mov ebx, dword [ebp - 8]
jge 0x6dd6c8c2
xor eax, eax
jmp 0x6dd6c8ce
cmp eax, 0xff
jle 0x6dd6c8ce
mov eax, 0xff
test ecx, ecx
jge 0x6dd6c8db
mov dword [ebp - 0x14], 0
jmp 0x6dd6c8ea
cmp ecx, 0xff
jle 0x6dd6c8ea
mov dword [ebp - 0x14], 0xff
mov ecx, dword [ebp - 8]
test ecx, ecx
jge 0x6dd6c8f5
xor ebx, ebx
jmp 0x6dd6c902
cmp ecx, 0xff
jle 0x6dd6c902
mov ebx, 0xff
mov ecx, dword [ebp - 0x14]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, ebx
mov dword [esi + 0x11b80], eax
mov ebx, dword [esi + 0x12fbc]
xor eax, eax
mov ecx, 0x800000
test ecx, ebx
mov dword [esi + 0x11acc], eax
mov dword [esi + 0x11ad0], eax
mov dword [esi + 0x11ad4], eax
mov dword [esi + 0x11afc], eax
mov dword [esi + 0x11b00], eax
mov dword [esi + 0x11b04], 0xbf800000
je 0x6dd6ca5c
fld dword [esi + 0x11acc]
fsub dword [esi + 0x82b0]
fld dword [esi + 0x11ad0]
fsub dword [esi + 0x82b4]
fld dword [esi + 0x11ad4]
fsub dword [esi + 0x82b8]
fld st(0)
fmul dword [esi + 0x8288]
fld st(2)
fmul dword [esi + 0x8284]
faddp st(1)
fld st(3)
fmul dword [esi + 0x8280]
faddp st(1)
fstp dword [esi + 0x11acc]
fld st(0)
fmul dword [esi + 0x8298]
fld st(2)
fmul dword [esi + 0x8294]
faddp st(1)
fld st(3)
fmul dword [esi + 0x8290]
faddp st(1)
fstp dword [esi + 0x11ad0]
fmul dword [esi + 0x82a8]
fxch st(1)
fmul dword [esi + 0x82a4]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x82a0]
faddp st(1)
fstp dword [esi + 0x11ad4]
mov dword [edx + 0x8e0], 0x6de4124c
fld dword [esi + 0x11afc]
fld dword [esi + 0x11b00]
fld dword [esi + 0x11b04]
fld st(0)
fmul dword [esi + 0x8288]
fld st(2)
fmul dword [esi + 0x8284]
faddp st(1)
fld st(3)
fmul dword [esi + 0x8280]
faddp st(1)
fstp dword [esi + 0x11afc]
fld st(0)
fmul dword [esi + 0x8298]
fld st(2)
fmul dword [esi + 0x8294]
faddp st(1)
fld st(3)
fmul dword [esi + 0x8290]
faddp st(1)
fstp dword [esi + 0x11b00]
fmul dword [esi + 0x82a8]
fxch st(1)
fmul dword [esi + 0x82a4]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x82a0]
faddp st(1)
fstp dword [esi + 0x11b04]
jmp 0x6dd6ca66
mov dword [edx + 0x8e0], 0x6de41234
cmp edi, eax
je 0x6dd6ce27
jmp 0x6dd6ca80
mov ecx, 0x800000
jmp 0x6dd6ca80
mov eax, dword [edx + 0x8d0]
test ah, 0x40
je 0x6dd6cd48
mov eax, dword [edi + 0xc]
cmp eax, 3
mov ebx, dword [edx + 0x8e0]
je 0x6dd6cbc2
mov ebx, dword [ebx + 4]
mov dword [edi + 0x80], ebx
mov ebx, dword [edx + 0x8e0]
mov ebx, dword [ebx + 0x10]
mov dword [edi + 0xbc], ebx
mov ebx, dword [edx + 0x8e0]
mov ebx, dword [ebx + 0x14]
mov dword [edi + 0xc0], ebx
test dword [esi + 0x12fbc], ecx
jne 0x6dd6cb42
fld dword [esi + 0x10]
fmul dword [edi + 0xa0]
fld dword [esi + 0x20]
fmul dword [edi + 0xa4]
faddp st(1)
fld dword [esi]
fmul dword [edi + 0x9c]
faddp st(1)
fadd dword [esi + 0x30]
fstp dword [edi]
fld dword [esi + 0x14]
fmul dword [edi + 0xa0]
fld dword [esi + 0x24]
fmul dword [edi + 0xa4]
faddp st(1)
fld dword [esi + 4]
fmul dword [edi + 0x9c]
faddp st(1)
fadd dword [esi + 0x34]
fstp dword [edi + 4]
fld dword [esi + 0x18]
fmul dword [edi + 0xa0]
fld dword [esi + 0x28]
fmul dword [edi + 0xa4]
faddp st(1)
fld dword [esi + 8]
fmul dword [edi + 0x9c]
faddp st(1)
fadd dword [esi + 0x38]
fstp dword [edi + 8]
jmp 0x6dd6cbe8
fld dword [edi + 0x9c]
fsub dword [esi + 0x2b0]
fld dword [edi + 0xa0]
fsub dword [esi + 0x2b4]
fld dword [edi + 0xa4]
fsub dword [esi + 0x2b8]
fld st(0)
fmul dword [esi + 0x288]
fld st(2)
fmul dword [esi + 0x284]
faddp st(1)
fld st(3)
fmul dword [esi + 0x280]
faddp st(1)
fstp dword [edi]
fld st(0)
fmul dword [esi + 0x298]
fld st(2)
fmul dword [esi + 0x294]
faddp st(1)
fld st(3)
fmul dword [esi + 0x290]
faddp st(1)
fstp dword [edi + 4]
fmul dword [esi + 0x2a8]
fxch st(1)
fmul dword [esi + 0x2a4]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x2a0]
faddp st(1)
fstp dword [edi + 8]
jmp 0x6dd6cbe8
mov ebx, dword [ebx]
mov dword [edi + 0x80], ebx
mov ebx, dword [edx + 0x8e0]
mov ebx, dword [ebx + 8]
mov dword [edi + 0xbc], ebx
mov ebx, dword [edx + 0x8e0]
mov ebx, dword [ebx + 0xc]
mov dword [edi + 0xc0], ebx
cmp eax, 1
je 0x6dd6cd48
test dword [esi + 0x12fbc], ecx
lea ebx, [edi + 0x10]
jne 0x6dd6cc6b
fld dword [esi + 0x20]
mov edx, ebx
fmul dword [edi + 0xb0]
mov ecx, ebx
fld dword [esi + 0x10]
fmul dword [edi + 0xac]
faddp st(1)
fld dword [edi + 0xa8]
fmul dword [esi]
faddp st(1)
fstp dword [ebx]
fld dword [esi + 0x24]
fmul dword [edi + 0xb0]
fld dword [esi + 0x14]
fmul dword [edi + 0xac]
faddp st(1)
fld dword [esi + 4]
fmul dword [edi + 0xa8]
faddp st(1)
fstp dword [ebx + 4]
fld dword [esi + 0x28]
fmul dword [edi + 0xb0]
fld dword [esi + 0x18]
fmul dword [edi + 0xac]
faddp st(1)
fld dword [esi + 8]
fmul dword [edi + 0xa8]
faddp st(1)
fstp dword [ebx + 8]
call fcn.6de19e0c
jmp 0x6dd6ccd7
fld dword [edi + 0xa8]
fld dword [edi + 0xac]
fld dword [edi + 0xb0]
fld st(0)
fmul dword [esi + 0x288]
fld st(2)
fmul dword [esi + 0x284]
faddp st(1)
fld st(3)
fmul dword [esi + 0x280]
faddp st(1)
fstp dword [ebx]
fld st(0)
fmul dword [esi + 0x298]
fld st(2)
fmul dword [esi + 0x294]
faddp st(1)
fld st(3)
fmul dword [esi + 0x290]
faddp st(1)
fstp dword [ebx + 4]
fmul dword [esi + 0x2a8]
fxch st(1)
fmul dword [esi + 0x2a4]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x2a0]
faddp st(1)
fstp dword [ebx + 8]
mov edx, dword [ebx]
mov dword [ebp - 4], edx
mov ecx, edx
mov edx, dword [edi + 0x14]
mov eax, 0x80000000
xor ecx, eax
mov dword [ebp - 0xc], edx
xor edx, eax
mov dword [ebx], ecx
mov dword [ebp - 4], ecx
mov ecx, edx
mov dword [ebp - 0xc], edx
mov edx, dword [edi + 0x18]
mov dword [edi + 0x14], ecx
mov ecx, edx
xor ecx, eax
mov eax, ecx
mov dword [edi + 0x18], eax
test dword [esi + 0x12fbc], 0x1000000
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x14], ecx
jne 0x6dd6cd45
fld dword [ebp - 4]
lea ecx, [edi + 0x4c]
fadd dword [esi + 0x11afc]
mov edx, ecx
fstp dword [ecx]
fld dword [ebp - 0xc]
fadd dword [esi + 0x11b00]
fstp dword [edi + 0x50]
fld dword [ebp - 0x14]
fadd dword [esi + 0x11b04]
fstp dword [edi + 0x54]
call fcn.6de19e0c
mov edx, dword [ebp + 8]
test dword [edx + 0x8d0], 0x48000
je 0x6dd6ce1c
fld dword [edi + 0x5c]
mov eax, dword [edi + 0x20]
test ah, 2
fmul dword [esi + 0x11b0c]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x24]
fld dword [edi + 0x60]
fmul dword [esi + 0x11b10]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x28]
fld dword [edi + 0x64]
fmul dword [esi + 0x11b14]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x2c]
jne 0x6dd6cdcc
fld dword [edi + 0x74]
fmul dword [esi + 0x11b1c]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x3c]
fld dword [edi + 0x78]
fmul dword [esi + 0x11b20]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x40]
fld dword [edi + 0x7c]
fmul dword [esi + 0x11b24]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x44]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x6dd6ce16
test ah, 1
jne 0x6dd6ce16
fld dword [edi + 0x68]
or eax, 0x20
mov dword [edi + 0x20], eax
fmul dword [esi + 0x11b2c]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x30]
fld dword [edi + 0x6c]
fmul dword [esi + 0x11b30]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x34]
fld dword [edi + 0x70]
fmul dword [esi + 0x11b34]
fmul dword [0x6dd37a64]
fstp dword [edi + 0x38]
jmp 0x6dd6ce1c
and eax, 0xffffffdf
mov dword [edi + 0x20], eax
mov edi, dword [edi + 0x58]
test edi, edi
jne 0x6dd6ca70
mov eax, dword [edx + 0x8d0]
pop edi
and eax, 0xfffb3fff
pop esi
mov dword [edx + 0x8d0], eax
pop ebx
mov esp, ebp
pop ebp
ret