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

Disassembly:
sub esp, 0xc0
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0xdc]
fld dword [eax + 0xe0]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x2c], ecx
lea ecx, [eax - 1]
test ecx, ecx
push ebp
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
mov dword [esi + 0x38], 1
jl 0x3d7d4b
fild dword [esp + 0x24]
add edx, ecx
fnstcw word [esp + 4]
mov dword [esp + 0x1c], edx
movzx eax, word [esp + 4]
fmul st(1)
or ah, 0xc
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
mov eax, ecx
shl eax, 4
add ecx, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
fistp dword [esp + 8]
fstp st(0)
fldcw word [esp + 4]
fild dword [esp + 0x1c]
xor edx, edx
fnstcw word [esp + 4]
push edi
movzx eax, word [esp + 8]
fmul dword [esp + 0x34]
or ah, 0xc
push ebp
push esi
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
test eax, eax
fldcw word [esp + 0x10]
setl dl
sub edx, 1
and edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edx
add eax, 0xffffffff
xor edx, edx
test eax, eax
setl dl
add ecx, 1
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], ecx
sub edx, 1
and eax, edx
mov dword [esp + 0x20], eax
mov dword [esi + 0x34], eax
call ebx
mov edx, dword [esi + 0x50]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 8]
push edi
mov dword [esp + 0x48], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
push ebp
push esi
mov dword [esp + 0x58], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
call ebx
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 8]
push edi
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x30]
push ebp
push esi
mov dword [esp + 0x74], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
call ebx
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
push edi
push ebp
push esi
call ebx
mov edx, dword [esi + 0x50]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x94], eax
mov eax, dword [edx + 8]
push edi
mov dword [esp + 0x9c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x3c]
push ebp
push esi
mov dword [esp + 0xac], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
call ebx
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0xb0], edx
mov edx, dword [ecx + 8]
push edi
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x48]
push ebp
push esi
mov dword [esp + 0xc8], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
call ebx
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xcc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xd0], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x4c]
add esp, 0x48
mov dword [esi + 0x30], eax
mov eax, dword [esp + 8]
push edi
add eax, 1
push ebp
push esi
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esi + 0x34], eax
call ebx
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x14]
push edi
add eax, 1
push ebp
push esi
mov dword [esp + 0xb4], edx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
call ebx
mov edx, dword [esi + 0x50]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0xbc], eax
mov eax, dword [edx + 8]
mov dword [esp + 0xc0], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x20]
push edi
add eax, 1
push ebp
push esi
mov dword [esp + 0xd4], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
call ebx
fld dword [esp + 0xc8]
fadd dword [esp + 0xa8]
mov ecx, dword [esi + 0x50]
mov eax, ecx
mov edx, dword [eax]
fadd dword [esp + 0x88]
mov dword [esp + 0xd8], edx
mov edx, dword [eax + 4]
mov dword [esp + 0xdc], edx
fadd dword [esp + 0x68]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xe4], eax
fadd st(0), st(0)
mov eax, dword [esp + 0x44]
fld dword [esp + 0x98]
mov dword [esp + 0xe0], edx
fmul dword [0x41bf40]
add esp, 0x24
faddp st(1)
fadd dword [esp + 0xb4]
fadd dword [esp + 0x94]
fadd dword [esp + 0x54]
fadd dword [esp + 0x34]
fmul dword [0x41bc90]
fstp dword [eax + ecx]
mov ecx, dword [esi + 0x50]
fld dword [esp + 0xa8]
fadd dword [esp + 0x88]
fadd dword [esp + 0x68]
fadd dword [esp + 0x48]
fadd st(0), st(0)
fld dword [esp + 0x78]
fmul dword [0x41bf40]
faddp st(1)
fadd dword [esp + 0xb8]
fadd dword [esp + 0x98]
fadd dword [esp + 0x58]
fadd dword [esp + 0x38]
fmul dword [0x41bc90]
fstp dword [eax + ecx + 4]
mov edx, dword [esi + 0x50]
fld dword [esp + 0xac]
fadd dword [esp + 0x8c]
fadd dword [esp + 0x6c]
fadd dword [esp + 0x4c]
fadd st(0), st(0)
fld dword [esp + 0x7c]
fmul dword [0x41bf40]
faddp st(1)
fadd dword [esp + 0xbc]
fadd dword [esp + 0x9c]
fadd dword [esp + 0x5c]
fadd dword [esp + 0x3c]
fmul dword [0x41bc90]
fstp dword [eax + edx + 8]
fld dword [esp + 0xb0]
fadd dword [esp + 0x90]
fadd dword [esp + 0x70]
fadd dword [esp + 0x50]
fadd st(0), st(0)
fld dword [esp + 0x80]
fmul dword [0x41bf40]
faddp st(1)
fadd dword [esp + 0xc0]
fadd dword [esp + 0xa0]
fadd dword [esp + 0x60]
mov ecx, dword [esi + 0x50]
sub eax, 0x10
mov dword [esp + 0x20], eax
fadd dword [esp + 0x40]
fmul dword [0x41bc90]
fstp dword [eax + ecx + 0x1c]
mov ecx, 1
sub dword [esp + 0x1c], ecx
sub dword [esp + 0x10], ecx
jne 0x3d7982
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x30], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], edx
pop ebp
add esp, 0xc0
ret
mov dword [esi + 0x30], edx
fstp st(0)
mov edx, dword [esp + 0x24]
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], edx
pop ebp
add esp, 0xc0
ret