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

Disassembly:
sub esp, 0x7c
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 + 0x14], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x18], ecx
lea ecx, [eax - 1]
test ecx, ecx
push ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
mov dword [esi + 0x38], 1
jl 0x3d7745
fild dword [esp + 0x18]
push edi
fnstcw word [esp + 8]
mov edi, ecx
movzx eax, word [esp + 8]
fmul st(1)
or ah, 0xc
add edx, ecx
shl edi, 4
add ecx, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
mov dword [esp + 0x18], ecx
fistp dword [esp + 0xc]
fstp st(0)
fldcw word [esp + 8]
lea esp, [esp]
fild dword [esp + 0x10]
xor edx, edx
fnstcw word [esp + 8]
push ebx
movzx eax, word [esp + 0xc]
fmul dword [esp + 0x24]
or ah, 0xc
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
test eax, eax
fldcw word [esp + 0xc]
setl dl
add ecx, 1
mov dword [esp + 0xc], ecx
xor ecx, ecx
sub edx, 1
and edx, eax
mov eax, dword [esp + 0x10]
add eax, 0xffffffff
test eax, eax
setl cl
mov dword [esp + 0x2c], edx
mov dword [esi + 0x30], edx
mov edx, dword [esp + 0x8c]
push edx
push esi
sub ecx, 1
and eax, ecx
mov dword [esp + 0x30], eax
mov dword [esi + 0x34], eax
call ebp
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x94]
push ebx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x34]
push edx
push esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
call ebp
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xa0]
push ebx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x28]
push edx
push esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
call ebp
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 + 0x38]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esi + 0x30], eax
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
push ebx
push edx
push esi
mov dword [esi + 0x34], ecx
call ebp
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0xb8]
push ebx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x40]
push edx
push esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
call ebp
fld dword [esp + 0xa0]
fmul dword [0x41bf40]
mov eax, dword [esi + 0x50]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0xb0], edx
fadd dword [esp + 0xb0]
mov edx, dword [ecx + 4]
mov dword [esp + 0xb4], edx
fadd dword [esp + 0x90]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0xb8], edx
fadd dword [esp + 0x80]
mov dword [esp + 0xbc], ecx
add esp, 0x3c
sub edi, 0x10
fadd dword [esp + 0x34]
fmul dword [0x41bf38]
fstp dword [edi + eax + 0x10]
mov edx, dword [esi + 0x50]
fld dword [esp + 0x68]
fmul dword [0x41bf40]
fadd dword [esp + 0x78]
fadd dword [esp + 0x58]
fadd dword [esp + 0x48]
fadd dword [esp + 0x38]
fmul dword [0x41bf38]
fstp dword [edi + edx + 0x14]
mov eax, dword [esi + 0x50]
fld dword [esp + 0x6c]
fmul dword [0x41bf40]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x5c]
fadd dword [esp + 0x4c]
fadd dword [esp + 0x3c]
fmul dword [0x41bf38]
fstp dword [edi + eax + 0x18]
mov ecx, dword [esi + 0x50]
fld dword [esp + 0x70]
mov eax, 1
fmul dword [0x41bf40]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
fadd dword [esp + 0x80]
fadd dword [esp + 0x60]
fadd dword [esp + 0x50]
fadd dword [esp + 0x40]
fmul dword [0x41bf38]
fstp dword [edi + ecx + 0x1c]
jne 0x3d74e0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x30], edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], edx
pop ebp
add esp, 0x7c
ret
mov dword [esi + 0x30], edx
fstp st(0)
mov edx, dword [esp + 0x18]
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], edx
pop ebp
add esp, 0x7c
ret